|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgran.cache.TaskCacheItem
Constructor Summary | |
TaskCacheItem(java.lang.String id)
Initialize |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
java.lang.Double |
getActualBudget()
|
java.lang.String |
getActualBudgetFmt(java.lang.String user,
java.lang.String type)
|
java.util.ArrayList |
getAllowedPrstatuses(java.lang.String userid)
|
java.util.TreeSet |
getAllowedUsers()
Возвращает коллекцию userid, которым есть доступ на эту задачу (иерархический) |
java.util.ArrayList |
getAttachments()
Get hash of Attachments |
java.lang.String |
getBudgetFmt(java.lang.String format)
|
java.lang.String |
getBudgetHours()
|
java.lang.String |
getBudgetMinutes()
|
java.util.ArrayList |
getChildren()
Get available task children hash |
int |
getChildrenCount()
|
java.util.ArrayList |
getChildrenRecursive()
Get available task children hash |
java.util.ArrayList |
getCurrentTaskUDFs()
|
java.lang.String |
getDescription()
|
java.util.HashMap |
getFilterUDFValues()
|
protected java.util.ArrayList |
getHierarchicalUDFs()
|
java.util.ArrayList |
getInternalACLCollection()
|
java.sql.Timestamp |
getLastUpdateDate()
|
java.lang.String |
getLink(java.lang.String prefix,
boolean taskView,
boolean messageView)
Get absolute URL of this task |
java.lang.Integer |
getMessageCount()
|
java.util.ArrayList |
getMessages()
Get collection of messages for this task |
java.lang.String |
getMessagesLink()
Get relative URL of specified task (Messages tab) |
gran.cache.TaskRelatedInfo |
getRelated()
|
static java.util.Comparator |
getShortNameComparator()
|
java.lang.String |
getShortWikiParsedDescription(java.lang.String locale)
|
java.lang.String |
getSubtasksLink()
Get relative URL of specified task (Subtasks tab) |
Task |
getTask()
|
java.util.LinkedList |
getTaskIdChain(java.lang.String fromid)
Возможно, самый быстрый вариант TaskChain. |
java.util.LinkedList |
getTaskIdChainDesc(java.lang.String fromid)
|
java.lang.String |
getTaskLink()
Get relative URL of specified task |
java.lang.String |
getTaskNameCutted()
|
java.lang.Integer |
getTotalChildrenCount()
|
java.util.ArrayList |
getUDFs()
Get hash of available (inherited and workflow-based) UDF for task |
java.util.HashMap |
getUDFValues()
Get values of UDF |
java.lang.String |
getUploadLink()
Get relative URL of specified task (Upload tab) |
java.util.HashMap |
getVisibleUDFValues()
Get hash of visible UDF |
java.lang.String |
getWikiParsedDescription()
|
protected java.util.ArrayList |
getWorkflowUDFs()
|
boolean |
hasAccess(java.lang.String userid)
Более быстрый метод узнать, имеет ли доступ юзер на эту задачу |
boolean |
hasSubtasks()
return true if task has subtasks |
boolean |
onSight(java.lang.String userid)
Возвращает true, если на задачу есть доступ у пользователя, либо если доступ есть на одну из подзадач |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TaskCacheItem(java.lang.String id) throws GranException
Method Detail |
public Task getTask()
public boolean hasSubtasks() throws GranException
GranException
public java.util.ArrayList getMessages() throws GranException
GranException
public java.lang.String getLink(java.lang.String prefix, boolean taskView, boolean messageView) throws GranException
prefix
- - prefix (site URL)taskView
- - task view allowedmessageView
- - message view allowed
GranException
public java.lang.String getTaskLink()
public java.lang.String getMessagesLink()
public java.lang.String getSubtasksLink()
public java.lang.String getUploadLink()
public java.util.ArrayList getUDFs() throws GranException
GranException
protected java.util.ArrayList getWorkflowUDFs() throws GranException
GranException
protected java.util.ArrayList getHierarchicalUDFs() throws GranException
GranException
public java.util.ArrayList getCurrentTaskUDFs() throws GranException
GranException
public java.util.HashMap getFilterUDFValues() throws GranException
GranException
public java.util.HashMap getVisibleUDFValues() throws GranException
GranException
public java.util.HashMap getUDFValues() throws GranException
GranException
public java.util.ArrayList getChildren() throws GranException
GranException
public java.util.ArrayList getChildrenRecursive() throws GranException
GranException
public java.util.ArrayList getAttachments() throws GranException
GranException
public int getChildrenCount() throws GranException
GranException
public java.lang.Integer getTotalChildrenCount() throws GranException
GranException
public java.sql.Timestamp getLastUpdateDate() throws GranException
GranException
public java.lang.Double getActualBudget() throws GranException
GranException
public java.lang.String getActualBudgetFmt(java.lang.String user, java.lang.String type) throws GranException
GranException
public java.lang.String getTaskNameCutted()
public java.lang.Integer getMessageCount() throws GranException
GranException
public java.lang.String getBudgetFmt(java.lang.String format) throws GranException
GranException
public java.lang.String getBudgetHours() throws GranException
GranException
public gran.cache.TaskRelatedInfo getRelated()
public java.lang.String getBudgetMinutes() throws GranException
GranException
public java.lang.String getDescription() throws GranException
GranException
public java.lang.String getWikiParsedDescription() throws GranException
GranException
public java.lang.String getShortWikiParsedDescription(java.lang.String locale) throws GranException
GranException
public boolean equals(java.lang.Object o)
public static java.util.Comparator getShortNameComparator()
public java.util.LinkedList getTaskIdChain(java.lang.String fromid) throws GranException
fromid
-
GranException
public java.util.LinkedList getTaskIdChainDesc(java.lang.String fromid) throws GranException
GranException
public boolean hasAccess(java.lang.String userid) throws GranException
userid
-
GranException
public java.util.TreeSet getAllowedUsers() throws GranException
GranException
public java.util.ArrayList getInternalACLCollection() throws GranException
GranException
public java.util.ArrayList getAllowedPrstatuses(java.lang.String userid) throws GranException
GranException
public boolean onSight(java.lang.String userid) throws GranException
GranException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |