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 static java.text.DateFormat |
df |
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 |
boolean |
zipHasMore |
java.util.ArrayList<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.ArrayList<SecuredAttachmentBean.ZippedFile> |
getZippedFiles() |
java.lang.Boolean |
isDeleted() |
boolean |
isMovie() |
boolean |
isPart() |
boolean |
isThumbnailed() |
boolean |
isZipHasMore() |
void |
setName(java.lang.String name) |
void |
setTaskId(java.lang.String taskId) |
canManage, canUpdate, canView, getCanManage, getCanUpdate, getSecure, isAllowedByACL, setIdcompareTo, compareToIgnoreCase, compareToIgnoreCase, equals, hashCodeprotected static org.apache.commons.logging.Log log
protected java.lang.String id
protected java.lang.String name
protected java.lang.String description
protected java.io.File file
protected java.lang.String userId
protected java.lang.String taskId
public boolean zipHasMore
public java.util.ArrayList<SecuredAttachmentBean.ZippedFile> zippedFiles
protected static java.text.DateFormat df
public SecuredAttachmentBean(AttachmentCacheItem attachment, SessionContext sec)
public boolean isZipHasMore()
public java.util.ArrayList<SecuredAttachmentBean.ZippedFile> getZippedFiles()
public java.lang.String getUserId()
public boolean isThumbnailed()
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 void setTaskId(java.lang.String taskId)
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.