public class SecuredTaskAttachmentBean extends SecuredAttachmentBean
SecuredAttachmentBean.ZippedFiledescription, df, file, id, log, name, taskId, userId, zipHasMore, zippedFilescontainer| Constructor and Description |
|---|
SecuredTaskAttachmentBean(AttachmentCacheItem attachment,
SessionContext sec) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
buildNameAttach(java.lang.String name,
int size) |
boolean |
canManage()
Проверяет доступ к бину.
|
boolean |
canView() |
java.lang.String |
getShortName() |
SecuredTaskBean |
getTask() |
java.lang.String |
getTaskId() |
TaskAttachmentBean |
getTaskSOAP() |
SecuredUserBean |
getUser() |
void |
init() |
boolean |
isAllowedByACL() |
boolean |
isDelete() |
void |
setDelete(boolean delete) |
getContainer, getDeleted, getDescription, getFile, getId, getLastModified, getName, getNameMD5, getShortDescription, getSize, getSizeDoubleValue, getThumbData, getUserId, getZippedFiles, isDeleted, isMovie, isPart, isThumbnailed, isZipHasMore, setName, setTaskIdcanUpdate, getCanManage, getCanUpdate, getSecure, setIdcompareTo, compareToIgnoreCase, compareToIgnoreCase, equals, hashCodepublic SecuredTaskAttachmentBean(AttachmentCacheItem attachment, SessionContext sec)
public void init()
throws GranException
GranExceptionpublic boolean isDelete()
throws GranException
GranExceptionpublic void setDelete(boolean delete)
public java.lang.String getTaskId()
getTaskId in class SecuredAttachmentBeanpublic SecuredTaskBean getTask() throws GranException
GranExceptionpublic boolean canManage()
throws GranException
SecuredcanManage in class SecuredGranException - при необходимостиpublic boolean isAllowedByACL()
throws GranException
isAllowedByACL in class SecuredGranExceptionpublic boolean canView()
throws GranException
canView in class SecuredGranExceptionpublic TaskAttachmentBean getTaskSOAP() throws GranException
GranExceptionpublic static java.lang.String buildNameAttach(java.lang.String name,
int size)
public java.lang.String getShortName()
public SecuredUserBean getUser() throws GranException
getUser in class SecuredAttachmentBeanGranExceptionCopyright © 2002-2011 TrackStudio, Ltd. All Rights Reserved.