gran.secured
Class SecuredAttachmentBean

java.lang.Object
  extended bygran.secured.Secured
      extended bygran.secured.SecuredAttachmentBean
All Implemented Interfaces:
java.lang.Comparable

public class SecuredAttachmentBean
extends Secured


Field Summary
 
Fields inherited from class gran.secured.Secured
sc
 
Constructor Summary
SecuredAttachmentBean(Attachment attachment, SessionContext sec)
           
 
Method Summary
 boolean canUpdate()
           
 boolean canView()
           
 int compareTo(java.lang.Object o)
           
 boolean getCanUpdate()
           
 java.lang.String getDecodeDescription()
           
 java.lang.String getDescription()
           
 java.lang.String getEncodeName()
           
 java.lang.String getId()
           
 java.sql.Timestamp getLastModified()
           
 java.lang.String getLastModifiedString()
           
 java.lang.String getName()
           
 java.lang.Long getSize()
           
 AttachmentBean getSOAP()
           
 SecuredTaskBean getTask()
           
 java.lang.String getTaskId()
           
 SecuredUserBean getUser()
           
 java.lang.String getUserId()
           
 java.lang.String getUserName()
           
 
Methods inherited from class gran.secured.Secured
compare, equals, getSecure, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecuredAttachmentBean

public SecuredAttachmentBean(Attachment attachment,
                             SessionContext sec)
Method Detail

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()

getDecodeDescription

public java.lang.String getDecodeDescription()

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


Copyright © 2002-2005 TrackStudio, Ltd. All Rights Reserved.