gran.secured
Class SecuredUserBean

java.lang.Object
  extended bygran.secured.Secured
      extended bygran.secured.AbstractBeanWithUdf
          extended bygran.secured.SecuredUserBean
All Implemented Interfaces:
java.lang.Comparable

public class SecuredUserBean
extends AbstractBeanWithUdf
implements java.lang.Comparable


Field Summary
 
Fields inherited from class gran.secured.Secured
sc
 
Constructor Summary
SecuredUserBean(java.lang.String userId, SessionContext sess)
           
SecuredUserBean(UserCacheItem user, SessionContext sess)
           
 
Method Summary
 boolean canUpdate()
           
 boolean canView()
           
 int compareTo(java.lang.Object o)
           
 java.lang.Integer getChildAllowed()
           
 java.lang.Integer getChildCount()
           
 java.util.ArrayList getChildren()
           
 java.util.ArrayList getChildrenIdOnly()
           
 java.lang.String getCompany()
           
 java.lang.Integer getCountUDF()
           
 java.util.ArrayList getCurrentUserUDFs()
           
 DateFormatter getDateFormatter()
           
 SecuredTaskBean getDefaultProject()
           
 java.lang.String getDefaultProjectId()
           
 java.lang.String getEmail()
           
 SecuredEmailTypeBean getEmailType()
           
 java.lang.String getEmailTypeId()
           
 java.sql.Timestamp getExpireDate()
           
 java.lang.String getId()
           
 java.lang.String getLocale()
           
 java.lang.String getLogin()
           
 SecuredUserBean getManager()
           
 java.lang.String getManagerId()
           
 java.lang.String getName()
           
 java.lang.String getPassword()
           
 SecuredPrstatusBean getPrstatus()
           
 java.lang.String getPrstatusId()
           
 java.lang.Integer getShowTreeMode()
           
 UserBean getSOAP()
           
 java.lang.String getTaskTabOrder()
           
 java.lang.String getTel()
           
 java.lang.String getTimezone()
           
 java.lang.Integer getTotalChildrenCount()
           
 java.util.ArrayList getUDFs()
           
 java.util.HashMap getUDFValues()
           
 java.sql.Timestamp getUserExpireDate()
           
 java.lang.String getUserTabOrder()
           
 boolean hasChildren()
           
 boolean isActive()
           
 boolean isAllowed()
           
 boolean isExpired()
           
 boolean isHelp()
           
 java.lang.String toString()
           
 
Methods inherited from class gran.secured.Secured
compare, equals, getSecure, getTimestamp, hashCode, setTimestamp
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SecuredUserBean

public SecuredUserBean(UserCacheItem user,
                       SessionContext sess)
                throws GranException

SecuredUserBean

public SecuredUserBean(java.lang.String userId,
                       SessionContext sess)
                throws GranException
Method Detail

getLogin

public java.lang.String getLogin()

getPassword

public java.lang.String getPassword()

getTel

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

getEmail

public java.lang.String getEmail()

getLocale

public java.lang.String getLocale()

getTimezone

public java.lang.String getTimezone()

getUserExpireDate

public java.sql.Timestamp getUserExpireDate()
                                     throws GranException
Throws:
GranException

getExpireDate

public java.sql.Timestamp getExpireDate()
                                 throws GranException
Throws:
GranException

isExpired

public boolean isExpired()
                  throws GranException
Throws:
GranException

getCompany

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

getChildAllowed

public java.lang.Integer getChildAllowed()

getName

public java.lang.String getName()

getId

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

getUserTabOrder

public java.lang.String getUserTabOrder()

getTaskTabOrder

public java.lang.String getTaskTabOrder()

getChildCount

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

getTotalChildrenCount

public java.lang.Integer getTotalChildrenCount()
                                        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

hasChildren

public boolean hasChildren()
                    throws GranException
Throws:
GranException

getPrstatus

public SecuredPrstatusBean getPrstatus()
                                throws GranException
Throws:
GranException

getManager

public SecuredUserBean getManager()
                           throws GranException
Throws:
GranException

getEmailType

public SecuredEmailTypeBean getEmailType()
                                  throws GranException
Throws:
GranException

getDefaultProject

public SecuredTaskBean getDefaultProject()
                                  throws GranException
Throws:
GranException

getChildren

public java.util.ArrayList getChildren()
                                throws GranException
Throws:
GranException

getChildrenIdOnly

public java.util.ArrayList getChildrenIdOnly()
                                      throws GranException
Throws:
GranException

getUDFs

public java.util.ArrayList getUDFs()
                            throws GranException
Throws:
GranException

getUDFValues

public java.util.HashMap getUDFValues()
                               throws GranException
Specified by:
getUDFValues in class AbstractBeanWithUdf
Throws:
GranException

toString

public java.lang.String toString()

getCurrentUserUDFs

public java.util.ArrayList getCurrentUserUDFs()
                                       throws GranException
Throws:
GranException

getDateFormatter

public DateFormatter getDateFormatter()
                               throws GranException
Throws:
GranException

getCountUDF

public java.lang.Integer getCountUDF()
                              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 UserBean getSOAP()
                 throws GranException
Throws:
GranException

isActive

public boolean isActive()
                 throws GranException
Throws:
GranException

isHelp

public boolean isHelp()
               throws GranException
Throws:
GranException

getShowTreeMode

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

getPrstatusId

public java.lang.String getPrstatusId()

getManagerId

public java.lang.String getManagerId()

getEmailTypeId

public java.lang.String getEmailTypeId()

getDefaultProjectId

public java.lang.String getDefaultProjectId()

isAllowed

public boolean isAllowed()


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