com.trackstudio.secured
Class SecuredRegistrationBean
java.lang.Object
com.trackstudio.tools.PropertyComparable
com.trackstudio.secured.Secured
com.trackstudio.secured.SecuredRegistrationBean
- All Implemented Interfaces:
- java.lang.Comparable
public class SecuredRegistrationBean
- extends Secured
Bean which represents self registration rule
Fields inherited from class com.trackstudio.secured.Secured |
sc |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
SecuredRegistrationBean
public SecuredRegistrationBean(Registration bean,
SessionContext sess)
throws GranException
- Throws:
GranException
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)
getContainer
protected PropertyContainer getContainer()
- Description copied from class:
PropertyComparable
- Возвращает контейнер свойств
- Specified by:
getContainer
in class PropertyComparable
- Returns:
- контейнер свойств
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
isAllowedByACL
public boolean isAllowedByACL()
throws GranException
- Specified by:
isAllowedByACL
in class Secured
- Throws:
GranException
canView
public boolean canView()
throws GranException
- Specified by:
canView
in class Secured
- Throws:
GranException
canManage
public boolean canManage()
throws GranException
- Description copied from class:
Secured
- Проверяет доступ к бину. Новый улучшеный метод. Нужно проверять доступ как по ACL, так и по Roles
- Specified by:
canManage
in class Secured
- Returns:
- TRUE - доступ есть, FALSE - нет
- 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()
isPriv
public boolean isPriv()
Copyright © 2002-2009 TrackStudio, Ltd. All Rights Reserved.