com.trackstudio.secured
Class SecuredRegistrationBean

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

public class SecuredRegistrationBean
extends Secured

Bean which represents self registration rule


Field Summary
 
Fields inherited from class com.trackstudio.secured.Secured
sc
 
Constructor Summary
SecuredRegistrationBean(Registration bean, SessionContext sess)
           
 
Method Summary
 boolean canUpdate()
           
 boolean canView()
           
 int compareTo(java.lang.Object o)
           
 SecuredCategoryBean getCategory()
           
 java.lang.String getCategoryId()
           
 java.lang.Integer getChildAllowed()
           
 java.lang.Integer getExpireDays()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 SecuredPrstatusBean getPrstatus()
           
 java.lang.String getPrstatusId()
           
 RegistrationBean getSOAP()
           
 SecuredTaskBean getTask()
           
 java.lang.String getTaskId()
           
 SecuredUserBean getUser()
           
 java.lang.String getUserId()
           
 void setChildAllowed(java.lang.Integer childAllowed)
           
 void setExpireDays(java.lang.Integer expireDays)
           
 void setId(java.lang.String id)
           
 void setName(java.lang.String name)
           
 
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

SecuredRegistrationBean

public SecuredRegistrationBean(Registration bean,
                               SessionContext sess)
                        throws GranException
Throws:
GranException
Method Detail

getId

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

setId

public void setId(java.lang.String id)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getChildAllowed

public java.lang.Integer getChildAllowed()

setChildAllowed

public void setChildAllowed(java.lang.Integer childAllowed)

getExpireDays

public java.lang.Integer getExpireDays()

setExpireDays

public void setExpireDays(java.lang.Integer expireDays)

compareTo

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

getPrstatus

public SecuredPrstatusBean getPrstatus()
                                throws GranException
Throws:
GranException

getUser

public SecuredUserBean getUser()
                        throws GranException
Throws:
GranException

getTask

public SecuredTaskBean getTask()
                        throws GranException
Throws:
GranException

getCategory

public SecuredCategoryBean getCategory()
                                throws GranException
Throws:
GranException

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 RegistrationBean getSOAP()
                         throws GranException
Throws:
GranException

getUserId

public java.lang.String getUserId()

getPrstatusId

public java.lang.String getPrstatusId()

getTaskId

public java.lang.String getTaskId()

getCategoryId

public java.lang.String getCategoryId()


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