com.trackstudio.secured
Class SecuredMailImportBean
java.lang.Object
com.trackstudio.tools.PropertyComparable
com.trackstudio.secured.Secured
com.trackstudio.secured.SecuredMailImportBean
- All Implemented Interfaces:
- java.lang.Comparable
public class SecuredMailImportBean
- extends Secured
Bean which represents e-mail import 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 |
SecuredMailImportBean
public SecuredMailImportBean(MailImport m,
SessionContext sc)
throws GranException
- Throws:
GranException
getId
public java.lang.String getId()
- Specified by:
getId
in class Secured
getKeywords
public java.lang.String getKeywords()
getSearchIn
public java.lang.Integer getSearchIn()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getDomain
public java.lang.String getDomain()
setDomain
public void setDomain(java.lang.String domain)
getCategory
public SecuredCategoryBean getCategory()
throws GranException
- Throws:
GranException
getMstatus
public SecuredMstatusBean getMstatus()
throws GranException
- Throws:
GranException
getOwner
public SecuredUserBean getOwner()
throws GranException
- Throws:
GranException
getTask
public SecuredTaskBean getTask()
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 MailImportBean getSOAP()
throws GranException
- Throws:
GranException
getCategoryId
public java.lang.String getCategoryId()
getTaskId
public java.lang.String getTaskId()
getOrder
public java.lang.Integer getOrder()
getOwnerId
public java.lang.String getOwnerId()
setOwnerId
public void setOwnerId(java.lang.String ownerId)
getMStatusId
public java.lang.String getMStatusId()
setMstatusId
public void setMstatusId(java.lang.String mStatusId)
isActive
public boolean isActive()
setActive
public void setActive(boolean active)
getImportUnknown
public boolean getImportUnknown()
setImportUnknown
public void setImportUnknown(boolean importUnknown)
Copyright © 2002-2009 TrackStudio, Ltd. All Rights Reserved.