com.trackstudio.secured
Class SecuredCategoryBean
java.lang.Object
com.trackstudio.tools.PropertyComparable
com.trackstudio.secured.Secured
com.trackstudio.secured.SecuredCategoryBean
- All Implemented Interfaces:
- java.lang.Comparable
public class SecuredCategoryBean
- extends Secured
Bean which represents category
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 |
SecuredCategoryBean
public SecuredCategoryBean(Category cat,
SessionContext sec)
throws GranException
- Throws:
GranException
getId
public java.lang.String getId()
- Specified by:
getId
in class Secured
getName
public java.lang.String getName()
getTemplate
public java.lang.String getTemplate()
throws GranException
- Throws:
GranException
getTask
public SecuredTaskBean getTask()
throws GranException
- Throws:
GranException
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
isHandlerRequired
public boolean isHandlerRequired()
getHandlerRequired
public boolean getHandlerRequired()
getSOAP
public CategoryBean getSOAP()
throws GranException
- Throws:
GranException
getWorkflowId
public java.lang.String getWorkflowId()
getTaskId
public java.lang.String getTaskId()
getCreateBefore
public java.lang.String getCreateBefore()
getCreateInsteadOf
public java.lang.String getCreateInsteadOf()
hasCreateInsteadOfTrigger
public boolean hasCreateInsteadOfTrigger()
hasUpdateInsteadOfTrigger
public boolean hasUpdateInsteadOfTrigger()
hasCreateBeforeTrigger
public boolean hasCreateBeforeTrigger()
getCreateAfter
public java.lang.String getCreateAfter()
hasCreateAfterTrigger
public boolean hasCreateAfterTrigger()
hasUpdateBeforeTrigger
public boolean hasUpdateBeforeTrigger()
getUpdateBefore
public java.lang.String getUpdateBefore()
getUpdateInsteadOf
public java.lang.String getUpdateInsteadOf()
getUpdateAfter
public java.lang.String getUpdateAfter()
hasUpdateAfterTrigger
public boolean hasUpdateAfterTrigger()
isGroupHandlerAllowed
public boolean isGroupHandlerAllowed()
getAction
public java.lang.String getAction()
getDescription
public java.lang.String getDescription()
getBudget
public java.lang.String getBudget()
getPreferences
public java.lang.String getPreferences()
getIcon
public java.lang.String getIcon()
isValidParentCategory
public java.lang.Boolean isValidParentCategory()
throws GranException
- Throws:
GranException
getIsValidParentCategory
public java.lang.Boolean getIsValidParentCategory()
throws GranException
- Throws:
GranException
isValid
public boolean isValid()
throws GranException
- Throws:
GranException
getIsValid
public boolean getIsValid()
throws GranException
- Throws:
GranException
getSortOrderInTree
public java.lang.String getSortOrderInTree()
setSortOrderInTree
public void setSortOrderInTree(java.lang.String sortOrderInTree)
Copyright © 2002-2009 TrackStudio, Ltd. All Rights Reserved.