com.trackstudio.secured
Class SecuredReportBean

java.lang.Object
  extended by com.trackstudio.secured.Secured
      extended by com.trackstudio.secured.SecuredReportBean
All Implemented Interfaces:
java.lang.Comparable

public class SecuredReportBean
extends Secured

Bean which represents report


Field Summary
 
Fields inherited from class com.trackstudio.secured.Secured
sc
 
Constructor Summary
SecuredReportBean(Report report, SessionContext sc)
           
 
Method Summary
 boolean canUpdate()
           
 boolean canView()
           
 int compareTo(java.lang.Object o)
           
 java.lang.String getEncodeName()
           
 SecuredFilterBean getFilter()
           
 java.lang.String getFilterId()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 SecuredUserBean getOwner()
           
 java.lang.String getOwnerId()
           
 java.lang.String getParams()
          Can be null
 boolean getPriv()
           
 java.util.Map getReportParamMap()
           
 java.lang.Integer getRtype()
           
 java.lang.String getRtypeName()
           
 ReportBean getSOAP()
           
 SecuredTaskBean getTask()
           
 java.lang.String getTaskId()
           
 boolean isPriv()
           
 
Methods inherited from class com.trackstudio.secured.Secured
compare, equals, getCanUpdate, getSecure, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecuredReportBean

public SecuredReportBean(Report report,
                         SessionContext sc)
                  throws GranException
Throws:
GranException
Method Detail

getId

public java.lang.String getId()
Specified by:
getId in class Secured

getName

public java.lang.String getName()

getEncodeName

public java.lang.String getEncodeName()

isPriv

public boolean isPriv()

getPriv

public boolean getPriv()

getParams

public java.lang.String getParams()
Can be null

Returns:

getRtype

public java.lang.Integer getRtype()
                           throws GranException
Throws:
GranException

getRtypeName

public java.lang.String getRtypeName()
                              throws GranException
Throws:
GranException

getTask

public SecuredTaskBean getTask()
                        throws GranException
Throws:
GranException

getFilter

public SecuredFilterBean getFilter()
                            throws GranException
Throws:
GranException

getOwner

public SecuredUserBean getOwner()
                         throws GranException
Throws:
GranException

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable
Specified by:
compareTo in class Secured

canUpdate

public boolean canUpdate()
                  throws GranException
Specified by:
canUpdate in class Secured
Throws:
GranException

canView

public boolean canView()
                throws GranException
Specified by:
canView in class Secured
Throws:
GranException

getSOAP

public ReportBean getSOAP()
                   throws GranException
Throws:
GranException

getTaskId

public java.lang.String getTaskId()

getFilterId

public java.lang.String getFilterId()

getOwnerId

public java.lang.String getOwnerId()

getReportParamMap

public java.util.Map getReportParamMap()


Copyright © 2002-2008 TrackStudio, Ltd. All Rights Reserved.