|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SubTaskManager
Manages SubTasks - issues that are "part of" other issues.
Field Summary | |
---|---|
static String |
SUB_TASK_ISSUE_TYPE_STYLE
|
static String |
SUB_TASK_LINK_TYPE_INWARD_NAME
|
static String |
SUB_TASK_LINK_TYPE_NAME
|
static String |
SUB_TASK_LINK_TYPE_OUTWARD_NAME
|
static String |
SUB_TASK_LINK_TYPE_STYLE
|
Method Summary | |
---|---|
IssueUpdateBean |
changeParent(org.ofbiz.core.entity.GenericValue subTask,
org.ofbiz.core.entity.GenericValue parentIssue,
User currentUser)
Change the parent of the given subtask to the given new parent on behalf of the given user. |
void |
createSubTaskIssueLink(org.ofbiz.core.entity.GenericValue parentIssue,
org.ofbiz.core.entity.GenericValue subTaskIssue,
User remoteUser)
|
void |
createSubTaskIssueLink(Issue parentIssue,
Issue subTaskIssue,
User remoteUser)
|
org.ofbiz.core.entity.GenericValue |
createSubTaskIssueType(String name,
Long sequence,
String description,
String iconurl)
|
void |
disableSubTasks()
|
void |
enableSubTasks()
|
Collection |
getAllSubTaskIssueIds()
|
org.ofbiz.core.entity.GenericValue |
getParentIssue(org.ofbiz.core.entity.GenericValue issue)
|
Long |
getParentIssueId(org.ofbiz.core.entity.GenericValue issue)
|
SubTaskBean |
getSubTaskBean(org.ofbiz.core.entity.GenericValue issue,
User remoteUser)
|
List |
getSubTaskIssueLinks(Long issueId)
Returns a list of issue links associated with the issue |
org.ofbiz.core.entity.GenericValue |
getSubTaskIssueTypeById(String id)
|
Collection |
getSubTaskObjects(Issue issue)
|
Collection |
getSubTasks(org.ofbiz.core.entity.GenericValue issue)
Deprecated. Use getSubTaskObjects(com.atlassian.jira.issue.Issue) instead. |
Collection |
getSubTasksIssueTypes()
|
boolean |
isSubTask(org.ofbiz.core.entity.GenericValue issue)
|
boolean |
isSubTaskIssueType(org.ofbiz.core.entity.GenericValue issueType)
|
boolean |
isSubTasksEnabled()
|
boolean |
issueTypeExistsById(String id)
|
boolean |
issueTypeExistsByName(String name)
|
void |
moveSubTask(org.ofbiz.core.entity.GenericValue issue,
Long currentSequence,
Long sequence)
|
void |
moveSubTaskIssueTypeDown(String id)
|
void |
moveSubTaskIssueTypeUp(String id)
|
void |
removeSubTaskIssueType(String name)
|
void |
resetSequences(org.ofbiz.core.entity.GenericValue issue)
Deprecated. since 3.9 use resetSequences(com.atlassian.jira.issue.Issue) |
void |
resetSequences(Issue issue)
|
void |
updateSubTaskIssueType(String id,
String name,
Long sequence,
String description,
String iconurl)
|
Field Detail |
---|
static final String SUB_TASK_ISSUE_TYPE_STYLE
static final String SUB_TASK_LINK_TYPE_NAME
static final String SUB_TASK_LINK_TYPE_STYLE
static final String SUB_TASK_LINK_TYPE_INWARD_NAME
static final String SUB_TASK_LINK_TYPE_OUTWARD_NAME
Method Detail |
---|
void enableSubTasks() throws CreateException
CreateException
boolean isSubTasksEnabled()
void disableSubTasks()
boolean isSubTask(org.ofbiz.core.entity.GenericValue issue)
boolean isSubTaskIssueType(org.ofbiz.core.entity.GenericValue issueType)
Long getParentIssueId(org.ofbiz.core.entity.GenericValue issue)
org.ofbiz.core.entity.GenericValue getParentIssue(org.ofbiz.core.entity.GenericValue issue)
SubTaskBean getSubTaskBean(org.ofbiz.core.entity.GenericValue issue, User remoteUser)
void moveSubTask(org.ofbiz.core.entity.GenericValue issue, Long currentSequence, Long sequence)
void resetSequences(org.ofbiz.core.entity.GenericValue issue)
resetSequences(com.atlassian.jira.issue.Issue)
issue
- void resetSequences(Issue issue)
org.ofbiz.core.entity.GenericValue createSubTaskIssueType(String name, Long sequence, String description, String iconurl) throws CreateException
CreateException
void updateSubTaskIssueType(String id, String name, Long sequence, String description, String iconurl) throws StoreException
StoreException
void removeSubTaskIssueType(String name) throws RemoveException
RemoveException
Collection getSubTasksIssueTypes()
boolean issueTypeExistsById(String id)
boolean issueTypeExistsByName(String name)
void moveSubTaskIssueTypeUp(String id) throws StoreException
StoreException
void moveSubTaskIssueTypeDown(String id) throws StoreException
StoreException
org.ofbiz.core.entity.GenericValue getSubTaskIssueTypeById(String id)
void createSubTaskIssueLink(org.ofbiz.core.entity.GenericValue parentIssue, org.ofbiz.core.entity.GenericValue subTaskIssue, User remoteUser) throws CreateException
CreateException
void createSubTaskIssueLink(Issue parentIssue, Issue subTaskIssue, User remoteUser) throws CreateException
CreateException
Collection getAllSubTaskIssueIds()
List getSubTaskIssueLinks(Long issueId)
issueId
- issue id
Collection getSubTasks(org.ofbiz.core.entity.GenericValue issue)
getSubTaskObjects(com.atlassian.jira.issue.Issue)
instead.
Collection getSubTaskObjects(Issue issue)
IssueUpdateBean changeParent(org.ofbiz.core.entity.GenericValue subTask, org.ofbiz.core.entity.GenericValue parentIssue, User currentUser) throws RemoveException, CreateException
subTask
- parentIssue
- currentUser
-
RemoveException
- if there's a problem unlinking original parent.
CreateException
- if there's a problem linking new parent.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |