@ThreadSafe public abstract class SecuredAttachmentBean extends Secured
| Modifier and Type | Class and Description |
|---|---|
class |
SecuredAttachmentBean.ZippedFile |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
description |
protected java.io.File |
file |
protected java.lang.String |
id |
protected static org.apache.commons.logging.Log |
log |
protected java.lang.String |
name |
protected java.lang.String |
taskId |
protected java.lang.String |
userId |
protected boolean |
zipHasMore |
protected java.util.concurrent.CopyOnWriteArrayList<SecuredAttachmentBean.ZippedFile> |
zippedFiles |
container| Constructor and Description |
|---|
SecuredAttachmentBean(AttachmentCacheItem attachment,
SessionContext sec) |
| Modifier and Type | Method and Description |
|---|---|
protected PropertyContainer |
getContainer()
Возвращает контейнер свойств
|
java.lang.Boolean |
getDeleted() |
java.lang.String |
getDescription() |
java.io.File |
getFile() |
java.lang.String |
getId() |
java.util.Calendar |
getLastModified() |
java.lang.String |
getName() |
java.lang.String |
getNameMD5() |
java.lang.String |
getShortDescription() |
java.lang.Long |
getSize() |
java.lang.Double |
getSizeDoubleValue() |
java.lang.String |
getTaskId() |
byte[] |
getThumbData(int widthThumnail,
int heightThumnail) |
SecuredUserBean |
getUser() |
java.lang.String |
getUserId() |
java.util.List<SecuredAttachmentBean.ZippedFile> |
getZippedFiles() |
java.lang.Boolean |
isDeleted() |
boolean |
isExcel() |
boolean |
isMovie() |
boolean |
isPart() |
boolean |
isPdf() |
boolean |
isThumbnailed() |
boolean |
isTxt() |
boolean |
isWord() |
boolean |
isZipHasMore() |
void |
setName(java.lang.String name) |
canManage, canUpdate, canView, getCanManage, getCanUpdate, getSecure, isAllowedByACL, setId, setSecurecompareTo, compareToIgnoreCase, compareToIgnoreCase, equals, hashCodeprotected static final org.apache.commons.logging.Log log
protected final java.lang.String id
protected volatile java.lang.String name
protected final java.lang.String description
protected final java.io.File file
protected final java.lang.String userId
protected volatile java.lang.String taskId
protected final boolean zipHasMore
protected final java.util.concurrent.CopyOnWriteArrayList<SecuredAttachmentBean.ZippedFile> zippedFiles
public SecuredAttachmentBean(AttachmentCacheItem attachment, SessionContext sec)
public boolean isZipHasMore()
public java.util.List<SecuredAttachmentBean.ZippedFile> getZippedFiles()
public java.lang.String getUserId()
public boolean isThumbnailed()
public boolean isTxt()
public boolean isWord()
public boolean isExcel()
public boolean isPdf()
public boolean isMovie()
public SecuredUserBean getUser() throws GranException
GranExceptionpublic java.lang.String getNameMD5()
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getTaskId()
public java.lang.String getDescription()
public java.lang.Long getSize()
throws GranException
GranExceptionpublic java.lang.Double getSizeDoubleValue()
throws GranException
GranExceptionpublic java.util.Calendar getLastModified()
public java.io.File getFile()
public byte[] getThumbData(int widthThumnail,
int heightThumnail)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.Boolean getDeleted()
throws GranException
GranExceptionpublic java.lang.Boolean isDeleted()
throws GranException
GranExceptionprotected PropertyContainer getContainer()
PropertyComparablegetContainer in class PropertyComparablepublic boolean isPart()
public java.lang.String getShortDescription()
Copyright © 2002-2011 TrackStudio, Ltd. All Rights Reserved.