com.trackstudio.secured
Class SecuredSubscriptionBean
java.lang.Object
com.trackstudio.tools.PropertyComparable
com.trackstudio.secured.Secured
com.trackstudio.secured.SecuredSubscriptionBean
- All Implemented Interfaces:
- java.lang.Comparable
public class SecuredSubscriptionBean
- extends Secured
Bean which represents filter subscription 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 |
SecuredSubscriptionBean
public SecuredSubscriptionBean(Subscription sb,
SessionContext secure)
throws GranException
- Throws:
GranException
getId
public java.lang.String getId()
- Specified by:
getId
in class Secured
getName
public java.lang.String getName()
getStartdate
public java.util.Calendar getStartdate()
getStopdate
public java.util.Calendar getStopdate()
getNextrun
public java.util.Calendar getNextrun()
getInterval
public java.lang.Integer getInterval()
getUser
public SecuredUserBean getUser()
throws GranException
- Throws:
GranException
getGroup
public SecuredPrstatusBean getGroup()
throws GranException
- Throws:
GranException
getTask
public SecuredTaskBean getTask()
throws GranException
- Throws:
GranException
getFilter
public SecuredFilterBean getFilter()
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 SubscriptionBean getSOAP()
getUserId
public java.lang.String getUserId()
getGroupId
public java.lang.String getGroupId()
getTaskId
public java.lang.String getTaskId()
getFilterId
public java.lang.String getFilterId()
getTemplate
public java.lang.String getTemplate()
Copyright © 2002-2009 TrackStudio, Ltd. All Rights Reserved.