public class SecuredTaskBean extends AbstractBeanWithUdf implements SecuredTaskBeanInterface
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Long |
actualBudget |
protected boolean |
allowedByACL |
protected java.lang.Integer |
allowedChildrenCount |
protected java.lang.Long |
budget |
protected java.util.Calendar |
closedate |
protected java.util.Calendar |
deadline |
protected java.lang.String |
description |
protected java.util.ArrayList<SecuredUDFValueBean> |
filteredUdfValues |
protected boolean |
onSight |
protected java.util.Calendar |
submitdate |
protected java.lang.Integer |
totalChildrenCount |
protected java.util.Calendar |
updatedate |
container| Modifier | Constructor and Description |
|---|---|
|
SecuredTaskBean() |
|
SecuredTaskBean(java.lang.String taskId,
SessionContext sec) |
|
SecuredTaskBean(TaskRelatedInfo task,
SessionContext sec) |
protected |
SecuredTaskBean(TaskRelatedInfo task,
SessionContext sec,
boolean hasAccess) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDelete() |
boolean |
canManage()
Проверяет доступ к бину.
|
boolean |
canView() |
boolean |
canViewChildren() |
boolean |
equals(java.lang.Object o)
Сравнивает два обхекта текущего класса
|
java.lang.Long |
getAbudget() |
java.lang.String |
getAbudgetToString() |
java.lang.Long |
getActualBudget() |
java.lang.String |
getActualBudgetAsString() |
java.util.HashMap<java.lang.String,SecuredUDFValueBean> |
getAliasUdfValues()
Method need for jsp
|
java.lang.Integer |
getAllowedChildrenCount() |
java.util.Map<java.lang.String,java.lang.Boolean> |
getAllowedChildrenMap() |
java.util.Map<java.lang.String,java.lang.Boolean> |
getAllowedChildrenWithSubtasksMap() |
java.util.ArrayList<SecuredTaskBean> |
getAncestors() |
java.util.ArrayList<SecuredTaskAttachmentBean> |
getAttachments() |
java.util.List<SecuredTaskAttachmentBean> |
getAttachmentsChekedName() |
java.util.List<SecuredTaskAttachmentBean> |
getAttachs() |
java.util.Map<SecuredTaskAttachmentBean,java.lang.Boolean> |
getAttachsTaskOrMessage() |
java.lang.Long |
getBudget() |
java.lang.String |
getBudgetAsString() |
java.lang.String |
getBudgetFormat() |
boolean |
getCanDelete() |
protected java.lang.Boolean |
getCanViewChildren() |
SecuredCategoryBean |
getCategory() |
java.lang.String |
getCategoryId() |
java.util.ArrayList<SecuredTaskBean> |
getChildren() |
java.lang.Integer |
getChildrenCount() |
java.util.Calendar |
getClosedate() |
java.lang.String |
getClosedateAsString() |
protected PropertyContainer |
getContainer()
Возвращает контейнер свойств
|
java.util.Calendar |
getDeadline() |
java.lang.String |
getDeadlineAsString() |
java.lang.String |
getDescription() |
java.lang.String |
getEncodeDescription()
Deprecated.
|
java.lang.String |
getEncodeShortname()
Deprecated.
|
java.lang.String |
getEncodeShortnameInput()
Deprecated.
|
protected java.util.ArrayList |
getFilteredUdfValues() |
java.util.ArrayList<SecuredUDFValueBean> |
getFilteredUDFValues() |
java.util.ArrayList<SecuredUDFBean> |
getFilterUDFs() |
java.util.ArrayList<SecuredUDFValueBean> |
getFilterUDFValues() |
SecuredUserBean |
getHandler() |
SecuredPrstatusBean |
getHandlerGroup() |
java.lang.String |
getHandlerGroupId() |
java.lang.String |
getHandlerId()
Deprecated.
|
java.util.List<java.lang.String> |
getHandlerPrstatuses() |
java.util.Collection<java.lang.String> |
getHandlerPrstatusesId() |
SecuredUserBean |
getHandlerUser() |
java.lang.String |
getHandlerUserId() |
java.lang.String |
getId() |
static java.util.List<SecuredMessageBean> |
getMessageCheckedAudit(java.util.List<SecuredMessageBean> messages,
boolean audit) |
java.lang.Integer |
getMessageCount() |
java.util.ArrayList<SecuredMessageBean> |
getMessages() |
java.util.ArrayList<java.lang.String> |
getMessagesIds() |
java.lang.String |
getName() |
java.lang.String |
getNumber() |
SecuredTaskBean |
getParent() |
java.lang.String |
getParentId() |
SecuredPriorityBean |
getPriority() |
java.lang.String |
getPriorityId() |
java.lang.String |
getProjectAlias() |
java.util.List<SecuredTaskBean> |
getProjectChildrenNotFinal(SessionContext sc,
java.lang.String taskId) |
SecuredResolutionBean |
getResolution() |
java.lang.String |
getResolutionId() |
TaskJSONBean |
getRest() |
java.lang.String |
getShortname() |
TaskBean |
getSOAP() |
SecuredStatusBean |
getStatus() |
java.lang.String |
getStatusId() |
java.util.Calendar |
getSubmitdate() |
java.lang.String |
getSubmitdateAsString() |
SecuredUserBean |
getSubmitter() |
java.lang.String |
getSubmitterId() |
java.util.List<java.lang.String> |
getSubmitterPrstatuses() |
java.util.Collection<java.lang.String> |
getSubmitterPrstatusesId() |
protected TaskRelatedInfo |
getTask() |
java.lang.String |
getTaskNameCutted() |
java.lang.String |
getTaskNumber() |
java.lang.String |
getTextDescription() |
java.lang.Integer |
getTotalChildrenCount() |
java.util.ArrayList<SecuredUDFBean> |
getUDFs() |
java.util.ArrayList<SecuredUDFBean> |
getUDFs(java.lang.String workflowId) |
java.util.ArrayList<SecuredUDFBean> |
getUDFs(java.lang.String workflowId,
boolean edit) |
java.util.List<java.lang.String> |
getUDFsId() |
java.util.HashMap<java.lang.String,SecuredUDFValueBean> |
getUDFValues() |
java.util.ArrayList<SecuredUDFValueBean> |
getUDFValuesForNewTask(java.lang.String workflowId) |
java.util.ArrayList<SecuredUDFValueBean> |
getUDFValuesForNewTask(java.lang.String workflowId,
boolean edit) |
java.util.ArrayList<SecuredUDFValueBean> |
getUdfValuesList() |
java.util.ArrayList<SecuredUDFValueBean> |
getUDFValuesList() |
java.util.Calendar |
getUpdatedate() |
java.lang.String |
getUpdatedateAsString() |
SecuredWorkflowBean |
getWorkflow() |
java.lang.String |
getWorkflowId() |
protected java.util.ArrayList<SecuredUDFValueBean> |
getWorkflowUdfValues() |
java.util.ArrayList<SecuredUDFValueBean> |
getWorkflowUDFValues() |
java.util.ArrayList<SecuredUDFValueBean> |
getWorkflowUDFValuesAll()
Deprecated.
|
boolean |
hasAttachments() |
int |
hashCode()
Возвращает hash code
|
boolean |
isAllowedByACL() |
boolean |
isOnSight() |
boolean |
isOverdue() |
java.lang.String |
toString() |
canUpdate, getCanManage, getCanUpdate, getSecurecompareTo, compareToIgnoreCase, compareToIgnoreCaseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareToprotected boolean allowedByACL
protected boolean onSight
protected java.util.Calendar submitdate
protected java.util.Calendar updatedate
protected java.util.Calendar closedate
protected java.lang.String description
protected java.lang.Long budget
protected java.lang.Long actualBudget
protected java.util.Calendar deadline
protected java.lang.Integer totalChildrenCount
protected java.lang.Integer allowedChildrenCount
protected java.util.ArrayList<SecuredUDFValueBean> filteredUdfValues
public SecuredTaskBean()
public SecuredTaskBean(TaskRelatedInfo task, SessionContext sec) throws GranException
GranExceptionprotected SecuredTaskBean(TaskRelatedInfo task, SessionContext sec, boolean hasAccess)
public SecuredTaskBean(java.lang.String taskId,
SessionContext sec)
throws GranException
GranExceptionpublic SecuredCategoryBean getCategory() throws GranException
getCategory in interface SecuredTaskBeanInterfaceGranExceptionpublic SecuredStatusBean getStatus() throws GranException
getStatus in interface SecuredTaskBeanInterfaceGranExceptionpublic SecuredResolutionBean getResolution() throws GranException
getResolution in interface SecuredTaskBeanInterfaceGranExceptionpublic SecuredPriorityBean getPriority() throws GranException
getPriority in interface SecuredTaskBeanInterfaceGranExceptionpublic SecuredUserBean getSubmitter() throws GranException
getSubmitter in interface SecuredTaskBeanInterfaceGranExceptionpublic SecuredUserBean getHandlerUser() throws GranException
getHandlerUser in interface SecuredTaskBeanInterfaceGranExceptionpublic SecuredPrstatusBean getHandlerGroup() throws GranException
getHandlerGroup in interface SecuredTaskBeanInterfaceGranExceptionpublic SecuredTaskBean getParent() throws GranException
getParent in interface SecuredTaskBeanInterfaceGranExceptionpublic 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 SecuredTaskBeanInterfacepublic java.lang.String getShortname()
getShortname in interface SecuredTaskBeanInterfacepublic java.lang.String getEncodeShortname()
public java.lang.String getEncodeShortnameInput()
public java.lang.String getEncodeDescription()
throws GranException
GranException - при небходимостиpublic java.util.Calendar getSubmitdate()
throws GranException
getSubmitdate in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.String getSubmitdateAsString()
throws GranException
GranExceptionpublic java.util.Calendar getUpdatedate()
throws GranException
getUpdatedate in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.String getUpdatedateAsString()
throws GranException
GranExceptionpublic java.util.Calendar getClosedate()
throws GranException
getClosedate in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.String getClosedateAsString()
throws GranException
GranExceptionpublic java.lang.String getDescription()
throws GranException
getDescription in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.String getTextDescription()
throws GranException
getTextDescription in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.Long getBudget()
throws GranException
getBudget in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.Long getActualBudget()
throws GranException
getActualBudget in interface SecuredTaskBeanInterfaceGranExceptionpublic java.util.Calendar getDeadline()
throws GranException
getDeadline in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.String getDeadlineAsString()
throws GranException
GranExceptionpublic java.lang.String getNumber()
getNumber in interface SecuredTaskBeanInterfaceprotected PropertyContainer getContainer()
PropertyComparablegetContainer in class PropertyComparablepublic java.lang.Integer getMessageCount()
throws GranException
getMessageCount in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.Integer getChildrenCount()
throws GranException
getChildrenCount in interface SecuredTaskBeanInterfaceGranExceptionpublic boolean canViewChildren()
throws GranException
GranExceptionpublic java.util.ArrayList<SecuredTaskBean> getChildren() throws GranException
getChildren in interface SecuredTaskBeanInterfaceGranExceptionpublic java.util.ArrayList<SecuredMessageBean> getMessages() throws GranException
getMessages in interface SecuredTaskBeanInterfaceGranExceptionpublic static java.util.List<SecuredMessageBean> getMessageCheckedAudit(java.util.List<SecuredMessageBean> messages, boolean audit) throws GranException
GranExceptionpublic java.util.ArrayList<java.lang.String> getMessagesIds()
throws GranException
GranExceptionpublic java.lang.Integer getTotalChildrenCount()
throws GranException
getTotalChildrenCount in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.Integer getAllowedChildrenCount()
throws GranException
getAllowedChildrenCount in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.String getTaskNumber()
getTaskNumber in interface SecuredTaskBeanInterfacepublic java.util.ArrayList<SecuredUDFValueBean> getUDFValuesForNewTask(java.lang.String workflowId) throws GranException
getUDFValuesForNewTask in interface SecuredTaskBeanInterfaceGranExceptionpublic java.util.ArrayList<SecuredUDFValueBean> getUDFValuesForNewTask(java.lang.String workflowId, boolean edit) throws GranException
GranExceptionpublic java.util.HashMap<java.lang.String,SecuredUDFValueBean> getUDFValues() throws GranException
getUDFValues in interface SecuredTaskBeanInterfacegetUDFValues in class AbstractBeanWithUdfGranExceptionpublic java.util.HashMap<java.lang.String,SecuredUDFValueBean> getAliasUdfValues() throws GranException
GranException - for needpublic java.util.ArrayList<SecuredUDFValueBean> getUDFValuesList() throws GranException
getUDFValuesList in interface SecuredTaskBeanInterfacegetUDFValuesList in class AbstractBeanWithUdfGranExceptionpublic java.util.ArrayList<SecuredUDFValueBean> getUdfValuesList() throws GranException
GranExceptionpublic java.util.ArrayList<SecuredUDFBean> getFilterUDFs() throws GranException
GranExceptionpublic java.util.ArrayList<SecuredUDFValueBean> getFilteredUDFValues() throws GranException
getFilteredUDFValues in interface SecuredTaskBeanInterfacegetFilteredUDFValues in class AbstractBeanWithUdfGranExceptionpublic java.util.ArrayList<SecuredUDFValueBean> getWorkflowUDFValues() throws GranException
getWorkflowUDFValues in interface SecuredTaskBeanInterfaceGranException@Deprecated public java.util.ArrayList<SecuredUDFValueBean> getWorkflowUDFValuesAll() throws GranException
GranExceptionpublic java.util.ArrayList<SecuredUDFBean> getUDFs() throws GranException
getUDFs in interface SecuredTaskBeanInterfaceGranExceptionpublic java.util.List<java.lang.String> getUDFsId()
throws GranException
GranExceptionpublic java.util.ArrayList<SecuredUDFBean> getUDFs(java.lang.String workflowId) throws GranException
getUDFs in interface SecuredTaskBeanInterfaceGranExceptionpublic java.util.ArrayList<SecuredUDFBean> getUDFs(java.lang.String workflowId, boolean edit) throws GranException
GranExceptionpublic boolean canDelete()
throws GranException
GranExceptionpublic boolean getCanDelete()
throws GranException
GranExceptionpublic java.util.ArrayList<SecuredUDFValueBean> getFilterUDFValues() throws GranException
getFilterUDFValues in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.String getTaskNameCutted()
getTaskNameCutted in interface SecuredTaskBeanInterfacepublic java.lang.String getProjectAlias()
throws GranException
getProjectAlias in interface SecuredTaskBeanInterfaceGranExceptionpublic java.util.ArrayList<SecuredTaskAttachmentBean> getAttachments() throws GranException
getAttachments in interface SecuredTaskBeanInterfaceGranExceptionpublic java.util.List<SecuredTaskAttachmentBean> getAttachmentsChekedName() throws GranException
GranExceptionpublic java.util.List<SecuredTaskAttachmentBean> getAttachs() throws GranException
GranExceptionpublic java.util.Map<SecuredTaskAttachmentBean,java.lang.Boolean> getAttachsTaskOrMessage() throws GranException
GranExceptionpublic boolean hasAttachments()
throws GranException
hasAttachments in interface SecuredTaskBeanInterfaceGranExceptionpublic java.util.List<java.lang.String> getHandlerPrstatuses()
throws GranException
getHandlerPrstatuses in interface SecuredTaskBeanInterfaceGranExceptionpublic java.util.List<java.lang.String> getSubmitterPrstatuses()
throws GranException
getSubmitterPrstatuses in interface SecuredTaskBeanInterfaceGranExceptionpublic int hashCode()
PropertyComparablehashCode in class PropertyComparablepublic boolean canView()
throws GranException
canView in class SecuredGranExceptionpublic boolean canManage()
throws GranException
SecuredcanManage in class SecuredGranException - при необходимостиpublic TaskBean getSOAP() throws GranException
GranExceptionpublic TaskJSONBean getRest() throws GranException
GranExceptionpublic java.lang.String getCategoryId()
getCategoryId in interface SecuredTaskBeanInterfacepublic java.lang.String getStatusId()
getStatusId in interface SecuredTaskBeanInterfacepublic java.lang.String getResolutionId()
throws GranException
getResolutionId in interface SecuredTaskBeanInterfaceGranExceptionpublic 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 SecuredTaskBeanInterfacepublic java.util.Collection<java.lang.String> getHandlerPrstatusesId()
throws GranException
getHandlerPrstatusesId in interface SecuredTaskBeanInterfaceGranExceptionpublic java.util.Collection<java.lang.String> getSubmitterPrstatusesId()
throws GranException
getSubmitterPrstatusesId in interface SecuredTaskBeanInterfaceGranExceptionpublic java.lang.String getParentId()
getParentId in interface SecuredTaskBeanInterfacepublic java.lang.String getWorkflowId()
getWorkflowId in interface SecuredTaskBeanInterfacepublic boolean isOnSight()
isOnSight in interface SecuredTaskBeanInterfacepublic java.util.Map<java.lang.String,java.lang.Boolean> getAllowedChildrenMap()
throws GranException
getAllowedChildrenMap in interface SecuredTaskBeanInterfaceGranExceptionpublic java.util.Map<java.lang.String,java.lang.Boolean> getAllowedChildrenWithSubtasksMap()
throws GranException
getAllowedChildrenWithSubtasksMap in interface SecuredTaskBeanInterfaceGranExceptionpublic SecuredUserBean getHandler() throws GranException
getHandler in interface SecuredTaskBeanInterfaceGranException@Deprecated
public java.lang.String getHandlerId()
throws GranException
getHandlerId in interface SecuredTaskBeanInterfaceGranExceptionprotected TaskRelatedInfo getTask()
public boolean isAllowedByACL()
isAllowedByACL in class Securedprotected java.lang.Boolean getCanViewChildren()
public java.lang.String toString()
toString in class java.lang.Objectprotected java.util.ArrayList getFilteredUdfValues()
protected java.util.ArrayList<SecuredUDFValueBean> getWorkflowUdfValues()
public boolean equals(java.lang.Object o)
PropertyComparableequals in class PropertyComparableo - Скравниваемый обхектpublic java.lang.String getBudgetFormat()
throws GranException
GranExceptionpublic java.util.ArrayList<SecuredTaskBean> getAncestors() throws GranException
GranExceptionpublic boolean isOverdue()
throws GranException
GranExceptionpublic java.lang.String getBudgetAsString()
throws GranException
GranExceptionpublic java.lang.String getActualBudgetAsString()
throws GranException
GranExceptionpublic java.util.List<SecuredTaskBean> getProjectChildrenNotFinal(SessionContext sc, java.lang.String taskId)
public java.lang.Long getAbudget()
throws GranException
GranExceptionpublic java.lang.String getAbudgetToString()
throws GranException
GranExceptionCopyright © 2002-2011 TrackStudio, Ltd. All Rights Reserved.