com.trackstudio.secured
Class SecuredBookmarkBean
java.lang.Object
com.trackstudio.tools.PropertyComparable
com.trackstudio.secured.Secured
com.trackstudio.secured.SecuredBookmarkBean
- All Implemented Interfaces:
- java.lang.Comparable
public class SecuredBookmarkBean
- extends Secured
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 |
SecuredBookmarkBean
public SecuredBookmarkBean(Bookmark bookmark,
SessionContext secure)
throws GranException
- Throws:
GranException
getUser
public SecuredUserBean getUser()
throws GranException
- Throws:
GranException
getOwner
public SecuredUserBean getOwner()
throws GranException
- Throws:
GranException
getTask
public SecuredTaskBean getTask()
throws GranException
- Throws:
GranException
compareTo
public int compareTo(java.lang.Object o)
- Description copied from class:
PropertyComparable
- Сравнивает два объекта текущего класса
- Specified by:
compareTo
in interface java.lang.Comparable
- Overrides:
compareTo
in class PropertyComparable
- Parameters:
o
- Сравниваемый обхект
- Returns:
- +1, 0 или -1
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
getId
public java.lang.String getId()
- Specified by:
getId
in class Secured
setId
public void setId(java.lang.String id)
getTaskId
public java.lang.String getTaskId()
setTaskId
public void setTaskId(java.lang.String taskId)
getFilterId
public java.lang.String getFilterId()
setFilterId
public void setFilterId(java.lang.String filterId)
getUserId
public java.lang.String getUserId()
setUserId
public void setUserId(java.lang.String userId)
getOwnerId
public java.lang.String getOwnerId()
setOwnerId
public void setOwnerId(java.lang.String ownerId)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getCreateDate
public java.util.Calendar getCreateDate()
setCreateDate
public void setCreateDate(java.util.Calendar createDate)
getContainer
protected PropertyContainer getContainer()
- Description copied from class:
PropertyComparable
- Возвращает контейнер свойств
- Specified by:
getContainer
in class PropertyComparable
- Returns:
- контейнер свойств
getSOAP
public BookmarkBean getSOAP()
throws GranException
- Throws:
GranException
Copyright © 2002-2009 TrackStudio, Ltd. All Rights Reserved.