gran.secured
Class SecuredTaskBean

java.lang.Object
  extended bygran.secured.Secured
      extended bygran.secured.AbstractBeanWithUdf
          extended bygran.secured.SecuredTaskBean
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
SecuredTaskBean4Filter, SecuredTaskTriggerBean

public class SecuredTaskBean
extends AbstractBeanWithUdf
implements java.lang.Comparable


Field Summary
 
Fields inherited from class gran.secured.Secured
sc
 
Constructor Summary
  SecuredTaskBean()
           
  SecuredTaskBean(java.lang.String taskid, SessionContext sec)
           
  SecuredTaskBean(TaskCacheItem task, SessionContext sec)
           
protected SecuredTaskBean(TaskCacheItem task, SessionContext sec, boolean hasAccess)
           
 
Method Summary
 boolean canUpdate()
           
 boolean canView()
           
 boolean canViewChildren()
           
 int compareTo(java.lang.Object o)
           
 java.lang.Double getActualBudget()
           
 java.lang.Integer getAllowedChildrenCount()
           
 java.util.Map getAllowedChildrenMap()
           
 java.util.Map getAllowedChildrenWithSubtasksMap()
           
 java.util.ArrayList getAttachments()
           
 java.lang.Double getBudget()
           
 boolean getCanUpdate()
           
 boolean getCanView()
           
 SecuredCategoryBean getCategory()
           
 java.lang.String getCategoryId()
           
 java.util.ArrayList getChildren()
           
 java.lang.Integer getChildrenCount()
           
 java.util.Calendar getClosedate()
           
 java.util.ArrayList getCurrentTaskUDFs()
           
 java.util.Calendar getDeadline()
           
 java.lang.String getDescription()
           
 java.lang.String getEncodeDescription()
           
 java.lang.String getEncodeName()
           
 java.lang.String getEncodeShortname()
           
 java.lang.String getEncodeShortnameInput()
           
 java.util.ArrayList getFilteredUDFValues()
           
 java.util.ArrayList getFilterUDFValues()
           
 SecuredUserBean getHandler()
           
 SecuredPrstatusBean getHandlerGroup()
           
 java.lang.String getHandlerGroupId()
           
 java.lang.String getHandlerId()
           
 java.util.List getHandlerPrstatuses()
           
 java.util.Collection getHandlerPrstatusesId()
           
 SecuredUserBean getHandlerUser()
           
 java.lang.String getHandlerUserId()
           
 java.lang.String getId()
           
 java.lang.Integer getMessageCount()
           
 java.util.ArrayList getMessages()
           
 java.lang.String getName()
           
 java.lang.String getNumber()
           
 SecuredTaskBean getParent()
           
 java.lang.String getParentId()
           
 SecuredPriorityBean getPriority()
           
 java.lang.String getPriorityId()
           
 java.lang.String getProjectAlias()
           
 SecuredResolutionBean getResolution()
           
 java.lang.String getResolutionId()
           
 java.lang.String getShortname()
           
 TaskBean getSOAP()
           
 SecuredStatusBean getStatus()
           
 java.lang.String getStatusId()
           
 java.util.Calendar getSubmitdate()
           
 SecuredUserBean getSubmitter()
           
 java.lang.String getSubmitterId()
           
 java.util.List getSubmitterPrstatuses()
           
 java.util.Collection getSubmitterPrstatusesId()
           
 java.lang.String getTaskNameCutted()
           
 java.lang.String getTaskNumber()
           
 java.lang.String getTextDescription()
           
 java.lang.Integer getTotalChildrenCount()
           
 java.util.ArrayList getUDFs()
           
 java.util.ArrayList getUDFs(java.lang.String workflowId)
           
 java.util.ArrayList getUDFValues()
           
 java.util.ArrayList getUDFValuesForNewTask(java.lang.String workflowId)
           
 java.util.Calendar getUpdatedate()
           
 java.lang.String getWikiParsedDescription()
           
 SecuredWorkflowBean getWorkflow()
           
 java.lang.String getWorkflowId()
           
 java.util.ArrayList getWorkflowUDFValues()
           
 boolean hasAttachments()
           
 int hashCode()
           
 boolean isAllowedByACL()
           
 boolean isOnSight()
           
protected  void setFilteredUDFValues(java.util.ArrayList fuvList)
           
 
Methods inherited from class gran.secured.Secured
compare, equals, getSecure
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecuredTaskBean

public SecuredTaskBean()

SecuredTaskBean

public SecuredTaskBean(TaskCacheItem task,
                       SessionContext sec)
                throws GranException

SecuredTaskBean

protected SecuredTaskBean(TaskCacheItem task,
                          SessionContext sec,
                          boolean hasAccess)

SecuredTaskBean

public SecuredTaskBean(java.lang.String taskid,
                       SessionContext sec)
                throws GranException
Method Detail

getCategory

public SecuredCategoryBean getCategory()
                                throws GranException
Throws:
GranException

getStatus

public SecuredStatusBean getStatus()
                            throws GranException
Throws:
GranException

getResolution

public SecuredResolutionBean getResolution()
                                    throws GranException
Throws:
GranException

getPriority

public SecuredPriorityBean getPriority()
                                throws GranException
Throws:
GranException

getSubmitter

public SecuredUserBean getSubmitter()
                             throws GranException
Throws:
GranException

getHandlerUser

public SecuredUserBean getHandlerUser()
                               throws GranException
Throws:
GranException

getHandlerGroup

public SecuredPrstatusBean getHandlerGroup()
                                    throws GranException
Throws:
GranException

getParent

public SecuredTaskBean getParent()
                          throws GranException
Throws:
GranException

getWorkflow

public SecuredWorkflowBean getWorkflow()
                                throws GranException
Throws:
GranException

getId

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

getName

public java.lang.String getName()

getEncodeName

public java.lang.String getEncodeName()

getShortname

public java.lang.String getShortname()

getEncodeShortname

public java.lang.String getEncodeShortname()

getEncodeShortnameInput

public java.lang.String getEncodeShortnameInput()

getEncodeDescription

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

getSubmitdate

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

getUpdatedate

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

getClosedate

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

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

getBudget

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

getActualBudget

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

getDeadline

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

getNumber

public java.lang.String getNumber()

compareTo

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

getMessageCount

public java.lang.Integer getMessageCount()
                                  throws GranException
Throws:
GranException

getChildrenCount

public java.lang.Integer getChildrenCount()
                                   throws GranException
Throws:
GranException

canViewChildren

public boolean canViewChildren()
                        throws GranException
Throws:
GranException

getChildren

public java.util.ArrayList getChildren()
                                throws GranException
Throws:
GranException

getMessages

public java.util.ArrayList getMessages()
                                throws GranException
Throws:
GranException

getTotalChildrenCount

public java.lang.Integer getTotalChildrenCount()
                                        throws GranException
Throws:
GranException

getAllowedChildrenCount

public java.lang.Integer getAllowedChildrenCount()
                                          throws GranException
Throws:
GranException

getTaskNumber

public java.lang.String getTaskNumber()

getUDFValuesForNewTask

public java.util.ArrayList getUDFValuesForNewTask(java.lang.String workflowId)
                                           throws GranException
Throws:
GranException

getUDFValues

public java.util.ArrayList getUDFValues()
                                 throws GranException
Specified by:
getUDFValues in class AbstractBeanWithUdf
Throws:
GranException

getFilteredUDFValues

public java.util.ArrayList getFilteredUDFValues()
                                         throws GranException
Specified by:
getFilteredUDFValues in class AbstractBeanWithUdf
Throws:
GranException

setFilteredUDFValues

protected void setFilteredUDFValues(java.util.ArrayList fuvList)

getWorkflowUDFValues

public java.util.ArrayList getWorkflowUDFValues()
                                         throws GranException
Throws:
GranException

getCurrentTaskUDFs

public java.util.ArrayList getCurrentTaskUDFs()
                                       throws GranException
Throws:
GranException

getUDFs

public java.util.ArrayList getUDFs()
                            throws GranException
Throws:
GranException

getUDFs

public java.util.ArrayList getUDFs(java.lang.String workflowId)
                            throws GranException
Throws:
GranException

getFilterUDFValues

public java.util.ArrayList getFilterUDFValues()
                                       throws GranException
Throws:
GranException

getTaskNameCutted

public java.lang.String getTaskNameCutted()

getProjectAlias

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

getAttachments

public java.util.ArrayList getAttachments()
                                   throws GranException
Throws:
GranException

hasAttachments

public boolean hasAttachments()
                       throws GranException
Throws:
GranException

getHandlerPrstatuses

public java.util.List getHandlerPrstatuses()
                                    throws GranException
Throws:
GranException

getSubmitterPrstatuses

public java.util.List getSubmitterPrstatuses()
                                      throws GranException
Throws:
GranException

hashCode

public int hashCode()
Overrides:
hashCode in class Secured

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

getCanView

public boolean getCanView()
                   throws GranException
Throws:
GranException

getSOAP

public TaskBean getSOAP()
                 throws GranException
Throws:
GranException

getCategoryId

public java.lang.String getCategoryId()

getStatusId

public java.lang.String getStatusId()

getResolutionId

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

getPriorityId

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

getSubmitterId

public java.lang.String getSubmitterId()

getHandlerUserId

public java.lang.String getHandlerUserId()

getHandlerGroupId

public java.lang.String getHandlerGroupId()

getHandlerPrstatusesId

public java.util.Collection getHandlerPrstatusesId()
                                            throws GranException
Throws:
GranException

getSubmitterPrstatusesId

public java.util.Collection getSubmitterPrstatusesId()
                                              throws GranException
Throws:
GranException

getParentId

public java.lang.String getParentId()

getWorkflowId

public java.lang.String getWorkflowId()

isAllowedByACL

public boolean isAllowedByACL()

isOnSight

public boolean isOnSight()

getAllowedChildrenMap

public java.util.Map getAllowedChildrenMap()
                                    throws GranException
Throws:
GranException

getAllowedChildrenWithSubtasksMap

public java.util.Map getAllowedChildrenWithSubtasksMap()
                                                throws GranException
Throws:
GranException

getHandler

public SecuredUserBean getHandler()
                           throws GranException
Throws:
GranException

getHandlerId

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


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