gran.secured
Class SecuredTaskBean

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

public class SecuredTaskBean
extends Secured
implements java.lang.Comparable


Field Summary
 java.lang.String categoryId
           
 
Fields inherited from class gran.secured.Secured
sc
 
Constructor Summary
SecuredTaskBean()
           
SecuredTaskBean(java.lang.String taskid)
           
SecuredTaskBean(java.lang.String taskid, SessionContext sec)
           
SecuredTaskBean(TaskCacheItem task, SessionContext sec)
           
 
Method Summary
 boolean canUpdate()
           
 int compareTo(java.lang.Object o)
           
 java.lang.Double getAbudget()
           
 java.lang.Double getActualBudget()
           
 java.lang.String getActualBudgetFmt(java.lang.String format)
           
 java.lang.String getArrowId()
           
 java.util.ArrayList getAttachments()
           
 java.lang.Double getBudget()
           
 java.lang.String getBudgetFmt(java.lang.String format)
           
 java.lang.String getBudgetHours()
           
 java.lang.String getBudgetMinutes()
           
 SecuredCategoryBean getCategory()
           
 java.lang.String getCategoryId()
           
 java.util.ArrayList getChildren()
           
 java.lang.Integer getChildrenCount()
           
 java.sql.Timestamp getClosedate()
           
 java.util.ArrayList getCurrentTaskUDFs()
           
 java.sql.Timestamp getDeadline()
           
 java.lang.String getDescription()
           
 java.util.HashMap getFilterUDFValues()
           
 SecuredUserBean getHandler()
           
 java.lang.String getHandlerId()
           
 java.lang.String getId()
           
 java.lang.String getLink(java.lang.String prefix)
           
 java.lang.Integer getMessageCount()
           
 java.util.ArrayList getMessages()
           
 java.lang.String getMessagesLink()
           
 java.lang.String getName()
           
 java.lang.String getNumber()
           
 SecuredTaskBean getParent()
           
 java.lang.String getParentId()
           
 SecuredPriorityBean getPriority()
           
 java.lang.String getPriorityId()
           
 SecuredResolutionBean getResolution()
           
 java.lang.String getResolutionId()
           
 java.lang.String getShortname()
           
static java.util.Comparator getShortNameComparator()
           
 java.lang.String getShortWikiParsedDescription()
           
 TaskBean getSOAP()
           
 SecuredStatusBean getStatus()
           
 java.lang.String getStatusId()
           
 java.sql.Timestamp getSubmitdate()
           
 SecuredUserBean getSubmitter()
           
 java.lang.String getSubmitterId()
           
 java.lang.String getSubtasksLink()
           
 java.lang.String getTaskLink()
           
 java.lang.String getTaskNameCutted()
           
 java.lang.String getTaskNumber()
           
 java.lang.String getTextTaskPath()
           
 java.lang.Integer getTotalChildrenCount()
           
 java.util.ArrayList getUDFs()
           
 java.util.HashMap getUDFValues()
           
 java.sql.Timestamp getUpdatedate()
           
 java.sql.Timestamp getUpdateDate()
           
 java.lang.String getUploadLink()
           
 java.util.HashMap getVisibleUDFValues()
           
 java.lang.String getWikiParsedDescription()
           
 SecuredWorkflowBean getWorkflow()
           
 java.lang.String getWorkflowId()
           
 boolean hasAttachments()
           
 boolean hasBudget()
           
 int hashCode()
           
 boolean hasSubtasks()
           
 boolean hasTime()
           
 boolean isOverbudget()
          return true if task overbudget
 boolean isOvertime()
           
 
Methods inherited from class gran.secured.Secured
compare, equals, getSecure, getTimestamp, setTimestamp
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

categoryId

public java.lang.String categoryId
Constructor Detail

SecuredTaskBean

public SecuredTaskBean()

SecuredTaskBean

public SecuredTaskBean(TaskCacheItem task,
                       SessionContext sec)
                throws GranException

SecuredTaskBean

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

SecuredTaskBean

public SecuredTaskBean(java.lang.String taskid)
                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

getHandler

public SecuredUserBean getHandler()
                           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()

getShortname

public java.lang.String getShortname()

getSubmitdate

public java.sql.Timestamp getSubmitdate()

getUpdatedate

public java.sql.Timestamp getUpdatedate()

getClosedate

public java.sql.Timestamp getClosedate()

getDescription

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

getAbudget

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

getBudget

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

getDeadline

public java.sql.Timestamp 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

getWikiParsedDescription

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

getShortWikiParsedDescription

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

getActualBudget

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

getMessageCount

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

getUpdateDate

public java.sql.Timestamp getUpdateDate()
                                 throws GranException
Throws:
GranException

getChildrenCount

public java.lang.Integer getChildrenCount()
                                   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

hasBudget

public boolean hasBudget()
                  throws GranException
Throws:
GranException

hasTime

public boolean hasTime()
                throws GranException
Throws:
GranException

isOverbudget

public boolean isOverbudget()
return true if task overbudget


isOvertime

public boolean isOvertime()
                   throws GranException
Throws:
GranException

getBudgetFmt

public java.lang.String getBudgetFmt(java.lang.String format)
                              throws GranException
Throws:
GranException

getActualBudgetFmt

public java.lang.String getActualBudgetFmt(java.lang.String format)
                                    throws GranException
Throws:
GranException

getLink

public java.lang.String getLink(java.lang.String prefix)
                         throws GranException
Throws:
GranException

hasSubtasks

public boolean hasSubtasks()
                    throws GranException
Throws:
GranException

getArrowId

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

getTaskLink

public java.lang.String getTaskLink()

getMessagesLink

public java.lang.String getMessagesLink()

getSubtasksLink

public java.lang.String getSubtasksLink()

getUploadLink

public java.lang.String getUploadLink()

getTaskNumber

public java.lang.String getTaskNumber()

getUDFValues

public java.util.HashMap getUDFValues()
                               throws GranException
Throws:
GranException

getCurrentTaskUDFs

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

getUDFs

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

getFilterUDFValues

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

getVisibleUDFValues

public java.util.HashMap getVisibleUDFValues()
                                      throws GranException
Throws:
GranException

getTaskNameCutted

public java.lang.String getTaskNameCutted()

getTextTaskPath

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

getAttachments

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

hasAttachments

public boolean hasAttachments()
                       throws GranException
Throws:
GranException

getBudgetHours

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

getBudgetMinutes

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

getShortNameComparator

public static java.util.Comparator getShortNameComparator()

hashCode

public int hashCode()
Overrides:
hashCode in class Secured

canUpdate

public boolean canUpdate()
                  throws GranException
Specified by:
canUpdate in class Secured
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()

getPriorityId

public java.lang.String getPriorityId()

getSubmitterId

public java.lang.String getSubmitterId()

getHandlerId

public java.lang.String getHandlerId()

getParentId

public java.lang.String getParentId()

getWorkflowId

public java.lang.String getWorkflowId()


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