com.trackstudio.secured
Class SecuredAttachmentBean
java.lang.Object
com.trackstudio.secured.Secured
com.trackstudio.secured.SecuredAttachmentBean
- All Implemented Interfaces:
- java.lang.Comparable
public class SecuredAttachmentBean
- extends Secured
Bean which represents file attachment
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 |
SecuredAttachmentBean
public SecuredAttachmentBean(AttachmentCacheItem attachment,
SessionContext sec)
getId
public java.lang.String getId()
- Specified by:
getId
in class Secured
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
- Specified by:
compareTo
in class Secured
getUserName
public java.lang.String getUserName()
throws GranException
- Throws:
GranException
getTask
public SecuredTaskBean getTask()
throws GranException
- Throws:
GranException
getUser
public SecuredUserBean getUser()
throws GranException
- Throws:
GranException
canUpdate
public boolean canUpdate()
throws GranException
- Specified by:
canUpdate
in class Secured
- Throws:
GranException
getCanUpdate
public boolean getCanUpdate()
throws GranException
- Overrides:
getCanUpdate
in class Secured
- Throws:
GranException
canView
public boolean canView()
throws GranException
- Specified by:
canView
in class Secured
- Throws:
GranException
getTaskId
public java.lang.String getTaskId()
getUserId
public java.lang.String getUserId()
getName
public java.lang.String getName()
getEncodeName
public java.lang.String getEncodeName()
getDescription
public java.lang.String getDescription()
getSOAP
public AttachmentBean getSOAP()
getSize
public java.lang.Long getSize()
getLastModified
public java.sql.Timestamp getLastModified()
getLastModifiedString
public java.lang.String getLastModifiedString()
throws GranException
- Throws:
GranException
getThumbData
public byte[] getThumbData()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2002-2008 TrackStudio, Ltd. All Rights Reserved.