|
|||||||||
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 SecuredTaskBeanInterface
GranException
public SecuredStatusBean getStatus() throws GranException
getStatus
in interface SecuredTaskBeanInterface
GranException
public SecuredResolutionBean getResolution() throws GranException
getResolution
in interface SecuredTaskBeanInterface
GranException
public SecuredPriorityBean getPriority() throws GranException
getPriority
in interface SecuredTaskBeanInterface
GranException
public SecuredUserBean getSubmitter() throws GranException
getSubmitter
in interface SecuredTaskBeanInterface
GranException
public SecuredUserBean getHandlerUser() throws GranException
getHandlerUser
in interface SecuredTaskBeanInterface
GranException
public SecuredPrstatusBean getHandlerGroup() throws GranException
getHandlerGroup
in interface SecuredTaskBeanInterface
GranException
public SecuredTaskBean getParent() throws GranException
getParent
in interface SecuredTaskBeanInterface
GranException
public SecuredWorkflowBean getWorkflow() throws GranException
getWorkflow
in interface SecuredTaskBeanInterface
GranException
public java.lang.String getId()
getId
in interface SecuredTaskBeanInterface
getId
in class Secured
public java.lang.String getName()
getName
in interface SecuredTaskBeanInterface
public java.lang.String getWikiParsedDescription() throws GranException
getWikiParsedDescription
in interface SecuredTaskBeanInterface
GranException
public java.lang.String getEncodeName()
getEncodeName
in interface SecuredTaskBeanInterface
public java.lang.String getShortname()
getShortname
in interface SecuredTaskBeanInterface
public java.lang.String getEncodeShortname()
getEncodeShortname
in interface SecuredTaskBeanInterface
public java.lang.String getEncodeShortnameInput()
getEncodeShortnameInput
in interface SecuredTaskBeanInterface
public java.lang.String getEncodeDescription() throws GranException
getEncodeDescription
in interface SecuredTaskBeanInterface
GranException
public java.util.Calendar getSubmitdate() throws GranException
getSubmitdate
in interface SecuredTaskBeanInterface
GranException
public java.util.Calendar getUpdatedate() throws GranException
getUpdatedate
in interface SecuredTaskBeanInterface
GranException
public java.util.Calendar getClosedate() throws GranException
getClosedate
in interface SecuredTaskBeanInterface
GranException
public java.lang.String getDescription() throws GranException
getDescription
in interface SecuredTaskBeanInterface
GranException
public java.lang.String getTextDescription() throws GranException
getTextDescription
in interface SecuredTaskBeanInterface
GranException
public java.lang.Double getBudget() throws GranException
getBudget
in interface SecuredTaskBeanInterface
GranException
public java.lang.Double getActualBudget() throws GranException
getActualBudget
in interface SecuredTaskBeanInterface
GranException
public java.util.Calendar getDeadline() throws GranException
getDeadline
in interface SecuredTaskBeanInterface
GranException
public java.lang.String getNumber()
getNumber
in interface SecuredTaskBeanInterface
public int compareTo(java.lang.Object o)
compareTo
in interface SecuredTaskBeanInterface
compareTo
in interface java.lang.Comparable
compareTo
in class Secured
public java.lang.Integer getMessageCount() throws GranException
getMessageCount
in interface SecuredTaskBeanInterface
GranException
public java.lang.Integer getChildrenCount() throws GranException
getChildrenCount
in interface SecuredTaskBeanInterface
GranException
public boolean canViewChildren() throws GranException
GranException
public java.util.ArrayList getChildren() throws GranException
getChildren
in interface SecuredTaskBeanInterface
GranException
public java.util.ArrayList getMessages() throws GranException
getMessages
in interface SecuredTaskBeanInterface
GranException
public java.lang.Integer getTotalChildrenCount() throws GranException
getTotalChildrenCount
in interface SecuredTaskBeanInterface
GranException
public java.lang.Integer getAllowedChildrenCount() throws GranException
getAllowedChildrenCount
in interface SecuredTaskBeanInterface
GranException
public java.lang.String getTaskNumber()
getTaskNumber
in interface SecuredTaskBeanInterface
public java.util.ArrayList<SecuredUDFValueBean> getUDFValuesForNewTask(java.lang.String workflowId) throws GranException
getUDFValuesForNewTask
in interface SecuredTaskBeanInterface
GranException
public java.util.HashMap getUDFValues() throws GranException
getUDFValues
in interface SecuredTaskBeanInterface
getUDFValues
in class AbstractBeanWithUdf
GranException
public java.util.ArrayList getUDFValuesList() throws GranException
getUDFValuesList
in interface SecuredTaskBeanInterface
getUDFValuesList
in class AbstractBeanWithUdf
GranException
public java.util.ArrayList getFilterUDFs() throws GranException
GranException
public java.util.ArrayList getFilteredUDFValues() throws GranException
getFilteredUDFValues
in interface SecuredTaskBeanInterface
getFilteredUDFValues
in class AbstractBeanWithUdf
GranException
public java.util.ArrayList getWorkflowUDFValues() throws GranException
getWorkflowUDFValues
in interface SecuredTaskBeanInterface
GranException
public java.util.ArrayList getCurrentTaskUDFs() throws GranException
getCurrentTaskUDFs
in interface SecuredTaskBeanInterface
GranException
public java.util.ArrayList getUDFs() throws GranException
getUDFs
in interface SecuredTaskBeanInterface
GranException
public java.util.ArrayList getUDFs(java.lang.String workflowId) throws GranException
getUDFs
in interface SecuredTaskBeanInterface
GranException
public java.util.ArrayList getFilterUDFValues() throws GranException
getFilterUDFValues
in interface SecuredTaskBeanInterface
GranException
public java.lang.String getTaskNameCutted()
getTaskNameCutted
in interface SecuredTaskBeanInterface
public java.lang.String getProjectAlias() throws GranException
getProjectAlias
in interface SecuredTaskBeanInterface
GranException
public java.util.ArrayList getAttachments() throws GranException
getAttachments
in interface SecuredTaskBeanInterface
GranException
public boolean hasAttachments() throws GranException
hasAttachments
in interface SecuredTaskBeanInterface
GranException
public java.util.List getHandlerPrstatuses() throws GranException
getHandlerPrstatuses
in interface SecuredTaskBeanInterface
GranException
public java.util.List getSubmitterPrstatuses() throws GranException
getSubmitterPrstatuses
in interface SecuredTaskBeanInterface
GranException
public int hashCode()
hashCode
in class Secured
public boolean canUpdate() throws GranException
canUpdate
in interface SecuredTaskBeanInterface
canUpdate
in class Secured
GranException
public boolean getCanUpdate() throws GranException
getCanUpdate
in interface SecuredTaskBeanInterface
getCanUpdate
in class Secured
GranException
public boolean canView() throws GranException
canView
in interface SecuredTaskBeanInterface
canView
in class Secured
GranException
public boolean getCanView() throws GranException
getCanView
in interface SecuredTaskBeanInterface
GranException
public TaskBean getSOAP() throws GranException
GranException
public java.lang.String getCategoryId()
getCategoryId
in interface SecuredTaskBeanInterface
public java.lang.String getStatusId()
getStatusId
in interface SecuredTaskBeanInterface
public java.lang.String getResolutionId() throws GranException
getResolutionId
in interface SecuredTaskBeanInterface
GranException
public java.lang.String getPriorityId() throws GranException
getPriorityId
in interface SecuredTaskBeanInterface
GranException
public java.lang.String getSubmitterId()
getSubmitterId
in interface SecuredTaskBeanInterface
public java.lang.String getHandlerUserId()
getHandlerUserId
in interface SecuredTaskBeanInterface
public java.lang.String getHandlerGroupId()
getHandlerGroupId
in interface SecuredTaskBeanInterface
public java.util.Collection getHandlerPrstatusesId() throws GranException
getHandlerPrstatusesId
in interface SecuredTaskBeanInterface
GranException
public java.util.Collection getSubmitterPrstatusesId() throws GranException
getSubmitterPrstatusesId
in interface SecuredTaskBeanInterface
GranException
public java.lang.String getParentId()
getParentId
in interface SecuredTaskBeanInterface
public java.lang.String getWorkflowId()
getWorkflowId
in interface SecuredTaskBeanInterface
public boolean isAllowedByACL()
isAllowedByACL
in interface SecuredTaskBeanInterface
public boolean isOnSight()
isOnSight
in interface SecuredTaskBeanInterface
public java.util.Map getAllowedChildrenMap() throws GranException
getAllowedChildrenMap
in interface SecuredTaskBeanInterface
GranException
public java.util.Map getAllowedChildrenWithSubtasksMap() throws GranException
getAllowedChildrenWithSubtasksMap
in interface SecuredTaskBeanInterface
GranException
public SecuredUserBean getHandler() throws GranException
getHandler
in interface SecuredTaskBeanInterface
GranException
public java.lang.String getHandlerId() throws GranException
getHandlerId
in interface SecuredTaskBeanInterface
GranException
protected 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 |