com.trackstudio.secured
Class SecuredTaskAclBean
java.lang.Object
com.trackstudio.tools.PropertyComparable
com.trackstudio.secured.Secured
com.trackstudio.secured.SecuredAclBean
com.trackstudio.secured.SecuredTaskAclBean
- All Implemented Interfaces:
- java.lang.Comparable
public class SecuredTaskAclBean
- extends SecuredAclBean
Field Summary |
protected java.lang.String |
taskId
|
Fields inherited from class com.trackstudio.secured.Secured |
sc |
Methods inherited from class com.trackstudio.secured.SecuredAclBean |
compareTo, getCanUpdate, getContainer, getGroup, getGroupId, getId, getOverride, getOwner, getOwnerId, getPrstatus, getPrstatusId, getUser, getUserId, isOverride |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
taskId
protected java.lang.String taskId
SecuredTaskAclBean
public SecuredTaskAclBean(Acl acl,
SessionContext sec)
getTaskId
public java.lang.String getTaskId()
setTaskId
public void setTaskId(java.lang.String taskId)
canManage
public boolean canManage()
throws GranException
- Description copied from class:
Secured
- Проверяет доступ к бину. Новый улучшеный метод. Нужно проверять доступ как по ACL, так и по Roles
- Specified by:
canManage
in class Secured
- Returns:
- TRUE - доступ есть, FALSE - нет
- Throws:
GranException
- при необходимости
getTask
public SecuredTaskBean getTask()
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
getSOAP
public AclBean getSOAP()
- Specified by:
getSOAP
in class SecuredAclBean
Copyright © 2002-2009 TrackStudio, Ltd. All Rights Reserved.