public class SecuredUserBean extends AbstractBeanWithUdf
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowedByACL |
container| Constructor and Description |
|---|
SecuredUserBean(java.lang.String userId,
SessionContext sess) |
SecuredUserBean(UserRelatedInfo user,
SessionContext sess) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canManage()
Проверяет доступ к бину.
|
boolean |
canView() |
java.util.List<java.lang.String> |
getAllowedChildrenIdOnly() |
java.util.List<java.lang.String> |
getAllowedUserAndChildrenListIdOnly() |
java.util.ArrayList<SecuredUserBean> |
getAncestors() |
java.util.ArrayList<SecuredUserAttachmentBean> |
getAttachments() |
boolean |
getCanView() |
java.lang.Integer |
getChildCount() |
java.util.ArrayList<SecuredUserBean> |
getChildren() |
java.lang.Integer |
getChildrenAllowed() |
java.util.ArrayList |
getChildrenIdOnly() |
java.lang.String |
getCompany() |
protected PropertyContainer |
getContainer()
Возвращает контейнер свойств
|
java.lang.Integer |
getCountUDF() |
java.util.ArrayList<SecuredUserUDFBean> |
getCurrentUserUDFs() |
DateFormatter |
getDateFormatter() |
SecuredTaskBean |
getDefaultProject() |
java.lang.String |
getDefaultProjectId() |
java.lang.String |
getEmail() |
java.util.ArrayList<java.lang.String> |
getEmailList() |
java.util.Calendar |
getExpireDate() |
java.lang.String |
getExpireDateAsString() |
java.util.ArrayList<SecuredUDFValueBean> |
getFilteredUDFValues() |
java.util.ArrayList<SecuredUDFValueBean> |
getFilterUDFValues() |
java.lang.String |
getId() |
java.util.Calendar |
getLastLogonDate() |
java.lang.String |
getLocale() |
java.lang.String |
getLocaleAsString() |
java.lang.String |
getLogin() |
SecuredUserBean |
getManager() |
java.lang.String |
getManagerId() |
java.lang.String |
getName() |
SecuredUserBean |
getParent() |
java.lang.String |
getParentId() |
java.lang.String |
getPassword() |
java.util.Calendar |
getPasswordChangedDate() |
java.lang.String |
getPasswordHistory() |
java.lang.String |
getPreferences() |
SecuredPrstatusBean |
getPrstatus() |
static EggBasket<SecuredTaskBean,SecuredPrstatusBean> |
getPrstatusForTaskId(SessionContext sc,
java.lang.String userId) |
java.lang.String |
getPrstatusId() |
UserBean |
getSOAP() |
java.lang.String |
getTel() |
java.lang.String |
getTemplate() |
java.lang.String |
getTimezone() |
java.lang.String |
getTimezoneAsString() |
java.lang.Integer |
getTotalChildrenCount() |
java.util.ArrayList<SecuredUDFBean> |
getUDFs() |
java.util.HashMap<java.lang.String,SecuredUDFValueBean> |
getUDFValues() |
java.util.ArrayList<SecuredUDFValueBean> |
getUDFValuesForNewUser() |
java.util.ArrayList<SecuredUDFValueBean> |
getUDFValuesList() |
UserRelatedInfo |
getUser() |
java.util.Calendar |
getUserExpireDate() |
boolean |
hasChildren() |
boolean |
isActive() |
boolean |
isAllowedByACL() |
boolean |
isDelete() |
boolean |
isEnabled() |
static boolean |
isExistPrstatus(java.lang.String userId,
java.lang.String defaultPrstatusId,
java.lang.String groupId)
This method gets list of prstatus for user for special taskid.
|
boolean |
isExpired() |
boolean |
isOnSight() |
java.lang.String |
toString() |
canUpdate, getCanManage, getCanUpdate, getSecurecompareTo, compareToIgnoreCase, compareToIgnoreCase, equals, hashCodepublic SecuredUserBean(UserRelatedInfo user, SessionContext sess) throws GranException
GranExceptionpublic SecuredUserBean(java.lang.String userId,
SessionContext sess)
throws GranException
GranExceptionpublic UserRelatedInfo getUser()
public java.lang.String getLogin()
public java.lang.String getPassword()
public java.lang.String getTel()
throws GranException
GranExceptionpublic java.lang.String getEmail()
public java.util.ArrayList<java.lang.String> getEmailList()
public java.lang.String getLocale()
public java.lang.String getTimezone()
public java.lang.String getTimezoneAsString()
public java.lang.String getLocaleAsString()
public java.util.Calendar getUserExpireDate()
throws GranException
GranExceptionpublic java.util.Calendar getExpireDate()
throws GranException
GranExceptionpublic java.lang.String getExpireDateAsString()
throws GranException
GranExceptionpublic boolean isExpired()
throws GranException
GranExceptionpublic java.lang.String getCompany()
throws GranException
GranExceptionpublic java.lang.Integer getChildrenAllowed()
public java.lang.String getName()
public java.lang.Integer getChildCount()
throws GranException
GranExceptionpublic java.lang.Integer getTotalChildrenCount()
throws GranException
GranExceptionprotected PropertyContainer getContainer()
PropertyComparablegetContainer in class PropertyComparablepublic boolean hasChildren()
throws GranException
GranExceptionpublic SecuredPrstatusBean getPrstatus() throws GranException
GranExceptionpublic SecuredUserBean getManager() throws GranException
GranExceptionpublic SecuredUserBean getParent() throws GranException
GranExceptionpublic java.lang.String getTemplate()
throws GranException
GranExceptionpublic java.lang.String getPreferences()
public SecuredTaskBean getDefaultProject() throws GranException
GranExceptionpublic java.util.Calendar getLastLogonDate()
throws GranException
GranExceptionpublic java.util.Calendar getPasswordChangedDate()
throws GranException
GranExceptionpublic java.util.ArrayList<SecuredUserBean> getChildren() throws GranException
GranExceptionpublic java.util.ArrayList getChildrenIdOnly()
throws GranException
GranExceptionpublic java.util.List<java.lang.String> getAllowedChildrenIdOnly()
throws GranException
GranExceptionpublic java.util.List<java.lang.String> getAllowedUserAndChildrenListIdOnly()
throws GranException
GranExceptionpublic java.util.ArrayList<SecuredUDFBean> getUDFs() throws GranException
GranExceptionpublic java.util.ArrayList<SecuredUDFValueBean> getUDFValuesForNewUser() throws GranException
GranExceptionpublic java.util.HashMap<java.lang.String,SecuredUDFValueBean> getUDFValues() throws GranException
getUDFValues in class AbstractBeanWithUdfGranExceptionpublic java.util.ArrayList<SecuredUDFValueBean> getUDFValuesList() throws GranException
getUDFValuesList in class AbstractBeanWithUdfGranExceptionpublic java.util.ArrayList<SecuredUDFValueBean> getFilteredUDFValues() throws GranException
getFilteredUDFValues in class AbstractBeanWithUdfGranExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.ArrayList<SecuredUserUDFBean> getCurrentUserUDFs() throws GranException
GranExceptionpublic DateFormatter getDateFormatter() throws GranException
GranExceptionpublic java.lang.Integer getCountUDF()
throws GranException
GranExceptionpublic boolean isAllowedByACL()
throws GranException
isAllowedByACL in class SecuredGranExceptionpublic boolean canView()
throws GranException
canView in class SecuredGranExceptionpublic boolean getCanView()
throws GranException
GranExceptionpublic UserBean getSOAP() throws GranException
GranExceptionpublic boolean isActive()
throws GranException
GranExceptionpublic boolean isEnabled()
throws GranException
GranExceptionpublic java.lang.String getPrstatusId()
public java.lang.String getPasswordHistory()
public java.lang.String getManagerId()
public java.lang.String getParentId()
public java.lang.String getDefaultProjectId()
public boolean isOnSight()
public java.util.ArrayList<SecuredUserAttachmentBean> getAttachments() throws GranException
GranExceptionpublic java.util.ArrayList<SecuredUDFValueBean> getFilterUDFValues() throws GranException
GranExceptionpublic java.util.ArrayList<SecuredUserBean> getAncestors() throws GranException
GranExceptionpublic boolean canManage()
throws GranException
SecuredcanManage in class SecuredGranException - при необходимостиpublic boolean isDelete()
throws GranException
GranExceptionpublic static EggBasket<SecuredTaskBean,SecuredPrstatusBean> getPrstatusForTaskId(SessionContext sc, java.lang.String userId) throws GranException
GranExceptionpublic static boolean isExistPrstatus(java.lang.String userId,
java.lang.String defaultPrstatusId,
java.lang.String groupId)
throws GranException
userId - user idGranException - for necesseryCopyright © 2002-2011 TrackStudio, Ltd. All Rights Reserved.