com.trackstudio.secured
Class SecuredMstatusBean
java.lang.Object
com.trackstudio.tools.PropertyComparable
com.trackstudio.secured.Secured
com.trackstudio.secured.SecuredMstatusBean
- All Implemented Interfaces:
- java.lang.Comparable
public class SecuredMstatusBean
- extends Secured
Bean which represents message type
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 |
SecuredMstatusBean
public SecuredMstatusBean(Mstatus mstatus,
SessionContext secure)
throws GranException
- Throws:
GranException
getDescription
public java.lang.String getDescription()
getEncodeDescription
public java.lang.String getEncodeDescription()
getIsdefault
public java.lang.Integer getIsdefault()
getId
public java.lang.String getId()
- Specified by:
getId
in class Secured
getName
public java.lang.String getName()
getWorkflow
public SecuredWorkflowBean getWorkflow()
throws GranException
- Throws:
GranException
getContainer
protected PropertyContainer getContainer()
- Description copied from class:
PropertyComparable
- Возвращает контейнер свойств
- Specified by:
getContainer
in class PropertyComparable
- Returns:
- контейнер свойств
isAllowedByACL
public boolean isAllowedByACL()
throws GranException
- Specified by:
isAllowedByACL
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
- при необходимости
canView
public boolean canView()
throws GranException
- Specified by:
canView
in class Secured
- Throws:
GranException
getSOAP
public MstatusBean getSOAP()
throws GranException
- Throws:
GranException
getWorkflowId
public java.lang.String getWorkflowId()
getBefore
public java.lang.String getBefore()
setBefore
public void setBefore(java.lang.String before)
getInsteadOf
public java.lang.String getInsteadOf()
setInsteadOf
public void setInsteadOf(java.lang.String insteadOf)
getAfter
public java.lang.String getAfter()
setAfter
public void setAfter(java.lang.String after)
getPreferences
public java.lang.String getPreferences()
getAction
public java.lang.String getAction()
getTransitions
public java.util.ArrayList<SecuredTransitionBean> getTransitions()
throws GranException
- Throws:
GranException
getCanView
public boolean getCanView()
throws GranException
- Throws:
GranException
Copyright © 2002-2009 TrackStudio, Ltd. All Rights Reserved.