com.trackstudio.kernel.cache
Class TaskCacheItem
java.lang.Object
  
com.trackstudio.kernel.cache.TaskCacheItem
public class TaskCacheItem
- extends java.lang.Object
 
| 
Constructor Summary | 
TaskCacheItem(java.lang.String id,
              java.lang.String description,
              java.lang.String longtextId,
              java.lang.String name,
              java.lang.String shortname,
              java.util.Calendar submitdate,
              java.util.Calendar updatedate,
              java.util.Calendar closedate,
              java.lang.Double abudget,
              java.lang.Double budget,
              java.util.Calendar deadline,
              java.lang.String number,
              java.lang.String submitterId,
              java.lang.String handlerId,
              java.lang.String handlerUserId,
              java.lang.String handlerGroupId,
              java.lang.String parentId,
              java.lang.String categoryId,
              java.lang.String workflowId,
              java.lang.String statusId,
              java.lang.String resolutionId,
              java.lang.String priorityId)
 
            | 
 
 
| Methods inherited from class java.lang.Object | 
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
TaskCacheItem
public TaskCacheItem(java.lang.String id,
                     java.lang.String description,
                     java.lang.String longtextId,
                     java.lang.String name,
                     java.lang.String shortname,
                     java.util.Calendar submitdate,
                     java.util.Calendar updatedate,
                     java.util.Calendar closedate,
                     java.lang.Double abudget,
                     java.lang.Double budget,
                     java.util.Calendar deadline,
                     java.lang.String number,
                     java.lang.String submitterId,
                     java.lang.String handlerId,
                     java.lang.String handlerUserId,
                     java.lang.String handlerGroupId,
                     java.lang.String parentId,
                     java.lang.String categoryId,
                     java.lang.String workflowId,
                     java.lang.String statusId,
                     java.lang.String resolutionId,
                     java.lang.String priorityId)
getId
public java.lang.String getId()
 
getName
public java.lang.String getName()
 
getWorkflowId
public java.lang.String getWorkflowId()
 
getHandlerId
public java.lang.String getHandlerId()
 
getHandlerGroupId
public java.lang.String getHandlerGroupId()
 
getShortname
public java.lang.String getShortname()
 
getSubmitdate
public java.util.Calendar getSubmitdate()
 
getClosedate
public java.util.Calendar getClosedate()
 
getBudget
public java.lang.Double getBudget()
 
getDeadline
public java.util.Calendar getDeadline()
 
getNumber
public java.lang.String getNumber()
 
getSubmitterId
public java.lang.String getSubmitterId()
 
getHandlerUserId
public java.lang.String getHandlerUserId()
 
getParentId
public java.lang.String getParentId()
 
getCategoryId
public java.lang.String getCategoryId()
 
getStatusId
public java.lang.String getStatusId()
 
getResolutionId
public java.lang.String getResolutionId()
 
getPriorityId
public java.lang.String getPriorityId()
 
getMessages
public java.util.List getMessages()
                           throws GranException
- Throws:
 GranException
 
getUDFCacheItems
public java.util.ArrayList getUDFCacheItems()
                                     throws GranException
- Throws:
 GranException
 
getUDFCacheItemsForNewTask
public java.util.ArrayList getUDFCacheItemsForNewTask(java.lang.String workflowId)
                                               throws GranException
- Throws:
 GranException
 
getWorkflowUDFCacheItems
protected java.util.List getWorkflowUDFCacheItems(java.lang.String workflowId,
                                                  boolean cache)
                                           throws GranException
- Throws:
 GranException
 
getWorkflowUDFIds
public java.util.List getWorkflowUDFIds()
                                 throws GranException
- Throws:
 GranException
 
setWorkflowUDFCacheItems
protected void setWorkflowUDFCacheItems(java.util.List udfList)
                                 throws GranException
- Throws:
 GranException
 
setMessages
protected void setMessages(java.util.List messageList)
                    throws GranException
- Throws:
 GranException
 
setAttachments
protected void setAttachments(java.util.List attList)
                       throws GranException
- Throws:
 GranException
 
isWorkflowUDFInitialized
protected boolean isWorkflowUDFInitialized()
 
isMessagesInitialized
protected boolean isMessagesInitialized()
 
isAttachmentsInitialized
protected boolean isAttachmentsInitialized()
 
getHierarchicalUDFCacheItems
protected java.util.ArrayList getHierarchicalUDFCacheItems()
                                                    throws GranException
- Throws:
 GranException
 
getCurrentTaskUDFCacheItems
public java.util.List getCurrentTaskUDFCacheItems()
                                           throws GranException
- Throws:
 GranException
 
setCurrentTaskUDFCacheItems
protected void setCurrentTaskUDFCacheItems(java.util.List udfList)
                                    throws GranException
- Throws:
 GranException
 
isTaskUDFInitialized
protected boolean isTaskUDFInitialized()
 
getFilterUDFValues
public java.util.ArrayList getFilterUDFValues()
                                       throws GranException
- Throws:
 GranException
 
getFilterUDFs
public java.util.ArrayList getFilterUDFs()
                                  throws GranException
- Returns:
 - UDFCacheItems
 - Throws:
 GranException
 
getUDFValues
public java.util.ArrayList getUDFValues()
                                 throws GranException
- Throws:
 GranException
 
setUDFValues
protected void setUDFValues(java.util.ArrayList udfValues)
                     throws GranException
- Throws:
 GranException
 
isUDFValuesInitialized
protected boolean isUDFValuesInitialized()
 
getWorkflowUDFValues
public java.util.ArrayList getWorkflowUDFValues()
                                         throws GranException
- Throws:
 GranException
 
getChildren
public java.util.ArrayList getChildren()
                                throws GranException
- Throws:
 GranException
 
getAttachments
public java.util.List getAttachments()
                              throws GranException
- Throws:
 GranException
 
getChildrenCount
public int getChildrenCount()
                     throws GranException
- Throws:
 GranException
 
getTotalChildrenCount
public java.lang.Integer getTotalChildrenCount()
                                        throws GranException
- Throws:
 GranException
 
getLastUpdateDate
public java.util.Calendar getLastUpdateDate()
                                     throws GranException
- Throws:
 GranException
 
getActualBudget
public java.lang.Double getActualBudget()
                                 throws GranException
- Throws:
 GranException
 
getTaskNameCutted
public java.lang.String getTaskNameCutted()
 
getMessageCount
public java.lang.Integer getMessageCount()
                                  throws GranException
- Throws:
 GranException
 
getDescription
public java.lang.String getDescription()
                                throws GranException
- Throws:
 GranException
 
getTextDescription
public java.lang.String getTextDescription(boolean replaceTagWithSpaces)
                                    throws GranException
- Throws:
 GranException
 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equals in class java.lang.Object
 
 
toString
public java.lang.String toString()
- Overrides:
 toString in class java.lang.Object
 
 
Copyright © 2002-2008 TrackStudio, Ltd. All Rights Reserved.