| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.trackstudio.secured.Secured
com.trackstudio.secured.AbstractBeanWithUdf
com.trackstudio.secured.SecuredTaskBean
public class SecuredTaskBean
Bean which represents task
| Field Summary | |
|---|---|
protected  boolean | 
allowedByAcl
 | 
protected  java.lang.Double | 
budget
 | 
protected  java.util.Calendar | 
closedate
 | 
protected  java.util.Calendar | 
deadline
 | 
protected  java.util.ArrayList | 
filteredUdfValues
 | 
protected  boolean | 
onSight
 | 
protected  java.util.Calendar | 
submitdate
 | 
protected  java.util.Calendar | 
updatedate
 | 
| Fields inherited from class com.trackstudio.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()
 | 
protected  java.lang.Boolean | 
getCanViewChildren()
 | 
 SecuredCategoryBean | 
getCategory()
 | 
 java.lang.String | 
getCategoryId()
 | 
 java.util.ArrayList | 
getChildren()
 | 
 java.lang.Integer | 
getChildrenCount()
 | 
 java.util.Calendar | 
getClosedate()
 | 
 java.util.ArrayList | 
getCurrentTaskUDFs()
Deprecated. А зачем он нужен?  | 
 java.util.Calendar | 
getDeadline()
 | 
 java.lang.String | 
getDescription()
 | 
 java.lang.String | 
getEncodeDescription()
Deprecated.  | 
 java.lang.String | 
getEncodeName()
Deprecated. Use getName() and local html encoders, please  | 
 java.lang.String | 
getEncodeShortname()
Deprecated.  | 
 java.lang.String | 
getEncodeShortnameInput()
Deprecated.  | 
protected  java.util.ArrayList | 
getFilteredUdfValues()
 | 
 java.util.ArrayList | 
getFilteredUDFValues()
 | 
 java.util.ArrayList | 
getFilterUDFs()
 | 
 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()
 | 
protected  TaskCacheItem | 
getTask()
 | 
 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.HashMap | 
getUDFValues()
 | 
 java.util.ArrayList<SecuredUDFValueBean> | 
getUDFValuesForNewTask(java.lang.String workflowId)
 | 
 java.util.ArrayList | 
getUDFValuesList()
 | 
 java.util.Calendar | 
getUpdatedate()
 | 
 java.lang.String | 
getWikiParsedDescription()
Deprecated. Use TaskViewHTML.getDescription, please  | 
 SecuredWorkflowBean | 
getWorkflow()
 | 
 java.lang.String | 
getWorkflowId()
 | 
protected  java.util.ArrayList | 
getWorkflowUdfValues()
 | 
 java.util.ArrayList | 
getWorkflowUDFValues()
 | 
 boolean | 
hasAttachments()
 | 
 int | 
hashCode()
 | 
protected  boolean | 
isAllowedByAcl()
 | 
 boolean | 
isAllowedByACL()
 | 
 boolean | 
isOnSight()
 | 
| Methods inherited from class com.trackstudio.secured.Secured | 
|---|
compare, equals, getSecure | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected boolean allowedByAcl
protected boolean onSight
protected java.util.Calendar submitdate
protected java.util.Calendar updatedate
protected java.util.Calendar closedate
protected java.lang.Double budget
protected java.util.Calendar deadline
protected java.util.ArrayList filteredUdfValues
| Constructor Detail | 
|---|
public SecuredTaskBean()
public SecuredTaskBean(TaskCacheItem task,
                       SessionContext sec)
                throws GranException
GranException
protected SecuredTaskBean(TaskCacheItem task,
                          SessionContext sec,
                          boolean hasAccess)
public SecuredTaskBean(java.lang.String taskid,
                       SessionContext sec)
                throws GranException
GranException| Method Detail | 
|---|
public SecuredCategoryBean getCategory()
                                throws GranException
getCategory in interface SecuredTaskBeanInterfaceGranException
public SecuredStatusBean getStatus()
                            throws GranException
getStatus in interface SecuredTaskBeanInterfaceGranException
public SecuredResolutionBean getResolution()
                                    throws GranException
getResolution in interface SecuredTaskBeanInterfaceGranException
public SecuredPriorityBean getPriority()
                                throws GranException
getPriority in interface SecuredTaskBeanInterfaceGranException
public SecuredUserBean getSubmitter()
                             throws GranException
getSubmitter in interface SecuredTaskBeanInterfaceGranException
public SecuredUserBean getHandlerUser()
                               throws GranException
getHandlerUser in interface SecuredTaskBeanInterfaceGranException
public SecuredPrstatusBean getHandlerGroup()
                                    throws GranException
getHandlerGroup in interface SecuredTaskBeanInterfaceGranException
public SecuredTaskBean getParent()
                          throws GranException
getParent in interface SecuredTaskBeanInterfaceGranException
public SecuredWorkflowBean getWorkflow()
                                throws GranException
getWorkflow in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.String getId()
getId in interface SecuredTaskBeanInterfacegetId in class Securedpublic java.lang.String getName()
getName in interface SecuredTaskBeanInterface
public java.lang.String getWikiParsedDescription()
                                          throws GranException
getWikiParsedDescription in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.String getEncodeName()
getEncodeName in interface SecuredTaskBeanInterfacepublic java.lang.String getShortname()
getShortname in interface SecuredTaskBeanInterfacepublic java.lang.String getEncodeShortname()
getEncodeShortname in interface SecuredTaskBeanInterfacepublic java.lang.String getEncodeShortnameInput()
getEncodeShortnameInput in interface SecuredTaskBeanInterface
public java.lang.String getEncodeDescription()
                                      throws GranException
getEncodeDescription in interface SecuredTaskBeanInterfaceGranException
public java.util.Calendar getSubmitdate()
                                 throws GranException
getSubmitdate in interface SecuredTaskBeanInterfaceGranException
public java.util.Calendar getUpdatedate()
                                 throws GranException
getUpdatedate in interface SecuredTaskBeanInterfaceGranException
public java.util.Calendar getClosedate()
                                throws GranException
getClosedate in interface SecuredTaskBeanInterfaceGranException
public java.lang.String getDescription()
                                throws GranException
getDescription in interface SecuredTaskBeanInterfaceGranException
public java.lang.String getTextDescription()
                                    throws GranException
getTextDescription in interface SecuredTaskBeanInterfaceGranException
public java.lang.Double getBudget()
                           throws GranException
getBudget in interface SecuredTaskBeanInterfaceGranException
public java.lang.Double getActualBudget()
                                 throws GranException
getActualBudget in interface SecuredTaskBeanInterfaceGranException
public java.util.Calendar getDeadline()
                               throws GranException
getDeadline in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.String getNumber()
getNumber in interface SecuredTaskBeanInterfacepublic int compareTo(java.lang.Object o)
compareTo in interface SecuredTaskBeanInterfacecompareTo in interface java.lang.ComparablecompareTo in class Secured
public java.lang.Integer getMessageCount()
                                  throws GranException
getMessageCount in interface SecuredTaskBeanInterfaceGranException
public java.lang.Integer getChildrenCount()
                                   throws GranException
getChildrenCount in interface SecuredTaskBeanInterfaceGranException
public boolean canViewChildren()
                        throws GranException
GranException
public java.util.ArrayList getChildren()
                                throws GranException
getChildren in interface SecuredTaskBeanInterfaceGranException
public java.util.ArrayList getMessages()
                                throws GranException
getMessages in interface SecuredTaskBeanInterfaceGranException
public java.lang.Integer getTotalChildrenCount()
                                        throws GranException
getTotalChildrenCount in interface SecuredTaskBeanInterfaceGranException
public java.lang.Integer getAllowedChildrenCount()
                                          throws GranException
getAllowedChildrenCount in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.String getTaskNumber()
getTaskNumber in interface SecuredTaskBeanInterface
public java.util.ArrayList<SecuredUDFValueBean> getUDFValuesForNewTask(java.lang.String workflowId)
                                                                throws GranException
getUDFValuesForNewTask in interface SecuredTaskBeanInterfaceGranException
public java.util.HashMap getUDFValues()
                               throws GranException
getUDFValues in interface SecuredTaskBeanInterfacegetUDFValues in class AbstractBeanWithUdfGranException
public java.util.ArrayList getUDFValuesList()
                                     throws GranException
getUDFValuesList in interface SecuredTaskBeanInterfacegetUDFValuesList in class AbstractBeanWithUdfGranException
public java.util.ArrayList getFilterUDFs()
                                  throws GranException
GranException
public java.util.ArrayList getFilteredUDFValues()
                                         throws GranException
getFilteredUDFValues in interface SecuredTaskBeanInterfacegetFilteredUDFValues in class AbstractBeanWithUdfGranException
public java.util.ArrayList getWorkflowUDFValues()
                                         throws GranException
getWorkflowUDFValues in interface SecuredTaskBeanInterfaceGranException
public java.util.ArrayList getCurrentTaskUDFs()
                                       throws GranException
getCurrentTaskUDFs in interface SecuredTaskBeanInterfaceGranException
public java.util.ArrayList getUDFs()
                            throws GranException
getUDFs in interface SecuredTaskBeanInterfaceGranException
public java.util.ArrayList getUDFs(java.lang.String workflowId)
                            throws GranException
getUDFs in interface SecuredTaskBeanInterfaceGranException
public java.util.ArrayList getFilterUDFValues()
                                       throws GranException
getFilterUDFValues in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.String getTaskNameCutted()
getTaskNameCutted in interface SecuredTaskBeanInterface
public java.lang.String getProjectAlias()
                                 throws GranException
getProjectAlias in interface SecuredTaskBeanInterfaceGranException
public java.util.ArrayList getAttachments()
                                   throws GranException
getAttachments in interface SecuredTaskBeanInterfaceGranException
public boolean hasAttachments()
                       throws GranException
hasAttachments in interface SecuredTaskBeanInterfaceGranException
public java.util.List getHandlerPrstatuses()
                                    throws GranException
getHandlerPrstatuses in interface SecuredTaskBeanInterfaceGranException
public java.util.List getSubmitterPrstatuses()
                                      throws GranException
getSubmitterPrstatuses in interface SecuredTaskBeanInterfaceGranExceptionpublic int hashCode()
hashCode in class Secured
public boolean canUpdate()
                  throws GranException
canUpdate in interface SecuredTaskBeanInterfacecanUpdate in class SecuredGranException
public boolean getCanUpdate()
                     throws GranException
getCanUpdate in interface SecuredTaskBeanInterfacegetCanUpdate in class SecuredGranException
public boolean canView()
                throws GranException
canView in interface SecuredTaskBeanInterfacecanView in class SecuredGranException
public boolean getCanView()
                   throws GranException
getCanView in interface SecuredTaskBeanInterfaceGranException
public TaskBean getSOAP()
                 throws GranException
GranExceptionpublic java.lang.String getCategoryId()
getCategoryId in interface SecuredTaskBeanInterfacepublic java.lang.String getStatusId()
getStatusId in interface SecuredTaskBeanInterface
public java.lang.String getResolutionId()
                                 throws GranException
getResolutionId in interface SecuredTaskBeanInterfaceGranException
public java.lang.String getPriorityId()
                               throws GranException
getPriorityId in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.String getSubmitterId()
getSubmitterId in interface SecuredTaskBeanInterfacepublic java.lang.String getHandlerUserId()
getHandlerUserId in interface SecuredTaskBeanInterfacepublic java.lang.String getHandlerGroupId()
getHandlerGroupId in interface SecuredTaskBeanInterface
public java.util.Collection getHandlerPrstatusesId()
                                            throws GranException
getHandlerPrstatusesId in interface SecuredTaskBeanInterfaceGranException
public java.util.Collection getSubmitterPrstatusesId()
                                              throws GranException
getSubmitterPrstatusesId in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.String getParentId()
getParentId in interface SecuredTaskBeanInterfacepublic java.lang.String getWorkflowId()
getWorkflowId in interface SecuredTaskBeanInterfacepublic boolean isAllowedByACL()
isAllowedByACL in interface SecuredTaskBeanInterfacepublic boolean isOnSight()
isOnSight in interface SecuredTaskBeanInterface
public java.util.Map getAllowedChildrenMap()
                                    throws GranException
getAllowedChildrenMap in interface SecuredTaskBeanInterfaceGranException
public java.util.Map getAllowedChildrenWithSubtasksMap()
                                                throws GranException
getAllowedChildrenWithSubtasksMap in interface SecuredTaskBeanInterfaceGranException
public SecuredUserBean getHandler()
                           throws GranException
getHandler in interface SecuredTaskBeanInterfaceGranException
public java.lang.String getHandlerId()
                              throws GranException
getHandlerId in interface SecuredTaskBeanInterfaceGranExceptionprotected TaskCacheItem getTask()
protected boolean isAllowedByAcl()
protected java.lang.Boolean getCanViewChildren()
protected java.util.ArrayList getFilteredUdfValues()
protected java.util.ArrayList getWorkflowUdfValues()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||