com.trackstudio.secured
Class SecuredMessageBean

java.lang.Object
  extended by com.trackstudio.secured.Secured
      extended by com.trackstudio.secured.SecuredMessageBean
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
SecuredMessageTriggerBean

public class SecuredMessageBean
extends Secured

Bean which represents message


Field Summary
protected  boolean allowedByAcl
           
 
Fields inherited from class com.trackstudio.secured.Secured
sc
 
Constructor Summary
protected SecuredMessageBean()
           
  SecuredMessageBean(MessageCacheItem message, SessionContext secure)
           
  SecuredMessageBean(java.lang.String message, SessionContext secure)
           
 
Method Summary
 boolean canUpdate()
           
 boolean canView()
           
 int compareTo(java.lang.Object it)
           
 java.lang.Double getBudget()
           
 java.util.Calendar getDeadline()
           
 java.lang.String getDescription()
           
 SecuredUserBean getHandler()
           
 SecuredPrstatusBean getHandlerGroup()
           
 java.lang.String getHandlerGroupId()
           
 java.lang.String getHandlerId()
           
 SecuredUserBean getHandlerUser()
           
 java.lang.String getHandlerUserId()
           
 java.lang.Double getHrs()
           
 java.lang.String getId()
           
 SecuredMstatusBean getMstatus()
           
 java.lang.String getMstatusId()
           
 SecuredPriorityBean getPriority()
           
 java.lang.String getPriorityId()
           
 SecuredResolutionBean getResolution()
           
 java.lang.String getResolutionId()
           
 MessageBean getSOAP()
           
 SecuredUserBean getSubmitter()
           
 java.lang.String getSubmitterId()
           
 SecuredTaskBean getTask()
           
 java.lang.String getTaskId()
           
 java.lang.String getTextDescription()
           
 java.util.Calendar getTime()
           
 java.lang.String getWikiParsedDescription()
           
 java.lang.String toString()
           
 
Methods inherited from class com.trackstudio.secured.Secured
compare, equals, getCanUpdate, getSecure, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

allowedByAcl

protected boolean allowedByAcl
Constructor Detail

SecuredMessageBean

protected SecuredMessageBean()

SecuredMessageBean

public SecuredMessageBean(MessageCacheItem message,
                          SessionContext secure)
                   throws GranException
Throws:
GranException

SecuredMessageBean

public SecuredMessageBean(java.lang.String message,
                          SessionContext secure)
                   throws GranException
Throws:
GranException
Method Detail

getId

public java.lang.String getId()
Specified by:
getId in class Secured

getDescription

public java.lang.String getDescription()
                                throws GranException
Throws:
GranException

getWikiParsedDescription

public java.lang.String getWikiParsedDescription()
                                          throws GranException
Throws:
GranException

getTextDescription

public java.lang.String getTextDescription()
                                    throws GranException
Throws:
GranException

getTime

public java.util.Calendar getTime()

getHrs

public java.lang.Double getHrs()
                        throws GranException
Throws:
GranException

getDeadline

public java.util.Calendar getDeadline()
                               throws GranException
Throws:
GranException

getBudget

public java.lang.Double getBudget()
                           throws GranException
Throws:
GranException

compareTo

public int compareTo(java.lang.Object it)
Specified by:
compareTo in interface java.lang.Comparable
Specified by:
compareTo in class Secured

getMstatus

public SecuredMstatusBean getMstatus()
                              throws GranException
Throws:
GranException

getHandlerUser

public SecuredUserBean getHandlerUser()
                               throws GranException
Throws:
GranException

getHandlerGroup

public SecuredPrstatusBean getHandlerGroup()
                                    throws GranException
Throws:
GranException

getPriority

public SecuredPriorityBean getPriority()
                                throws GranException
Throws:
GranException

getResolution

public SecuredResolutionBean getResolution()
                                    throws GranException
Throws:
GranException

canUpdate

public boolean canUpdate()
                  throws GranException
Specified by:
canUpdate in class Secured
Throws:
GranException

getTask

public SecuredTaskBean getTask()
                        throws GranException
Throws:
GranException

getSubmitter

public SecuredUserBean getSubmitter()
                             throws GranException
Throws:
GranException

canView

public boolean canView()
                throws GranException
Specified by:
canView in class Secured
Throws:
GranException

getSOAP

public MessageBean getSOAP()
                    throws GranException
Throws:
GranException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getTaskId

public java.lang.String getTaskId()

getSubmitterId

public java.lang.String getSubmitterId()

getResolutionId

public java.lang.String getResolutionId()

getPriorityId

public java.lang.String getPriorityId()

getHandlerUserId

public java.lang.String getHandlerUserId()

getHandlerGroupId

public java.lang.String getHandlerGroupId()

getMstatusId

public java.lang.String getMstatusId()

getHandler

public SecuredUserBean getHandler()
                           throws GranException
Throws:
GranException

getHandlerId

public java.lang.String getHandlerId()
                              throws GranException
Throws:
GranException


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