@PublicApi
public interface SubTaskManager
Modifier and Type | Field and Description |
---|---|
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 |
Modifier and Type | Method and Description |
---|---|
IssueUpdateBean |
changeParent(org.ofbiz.core.entity.GenericValue subTask,
org.ofbiz.core.entity.GenericValue parentIssue,
com.atlassian.crowd.embedded.api.User currentUser)
Deprecated.
|
IssueUpdateBean |
changeParent(Issue subTask,
Issue parentIssue,
com.atlassian.crowd.embedded.api.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,
com.atlassian.crowd.embedded.api.User remoteUser)
Deprecated.
|
void |
createSubTaskIssueLink(Issue parentIssue,
Issue subTaskIssue,
com.atlassian.crowd.embedded.api.User remoteUser) |
org.ofbiz.core.entity.GenericValue |
createSubTaskIssueType(String name,
Long sequence,
String description,
String iconurl)
Deprecated.
Use
insertSubTaskIssueType(String, Long, String, String) instead. Since v5.0. |
void |
disableSubTasks() |
void |
enableSubTasks() |
Collection<Long> |
getAllSubTaskIssueIds() |
org.ofbiz.core.entity.GenericValue |
getParentIssue(org.ofbiz.core.entity.GenericValue issue)
Deprecated.
Use
Issue.getParentObject() instead. Since v5.0. |
Long |
getParentIssueId(org.ofbiz.core.entity.GenericValue issue)
Deprecated.
Use
getParentIssueId(Issue) instead. Since v6.4. |
Long |
getParentIssueId(Issue issue)
Returns the parent issue ID of this the given issue.
|
Long |
getParentIssueId(Long issueId)
Returns the parent issue ID of this the given issue.
|
SubTaskBean |
getSubTaskBean(org.ofbiz.core.entity.GenericValue issue,
com.atlassian.crowd.embedded.api.User remoteUser)
Deprecated.
Use
getSubTaskBean(com.atlassian.jira.issue.Issue, com.atlassian.crowd.embedded.api.User) instead. Since v5.0. |
SubTaskBean |
getSubTaskBean(Issue issue,
com.atlassian.crowd.embedded.api.User remoteUser)
Returns the SubTaskBean for the given parent issue in the context of the given user.
|
List<IssueLink> |
getSubTaskIssueLinks(Long issueId)
Returns a list of issue links associated with the issue
|
IssueType |
getSubTaskIssueType(String id)
Returns the SubTask IssueType with the given ID.
|
org.ofbiz.core.entity.GenericValue |
getSubTaskIssueTypeById(String id)
Deprecated.
Use
getSubTaskIssueType(String) instead. Since v5.0. |
Collection<IssueType> |
getSubTaskIssueTypeObjects()
Retrieves all the sub-task issue types
|
Collection<Issue> |
getSubTaskObjects(Issue issue) |
Collection<org.ofbiz.core.entity.GenericValue> |
getSubTasks(org.ofbiz.core.entity.GenericValue issue)
Deprecated.
Use
getSubTaskObjects(com.atlassian.jira.issue.Issue) instead. |
IssueType |
insertSubTaskIssueType(String name,
Long sequence,
String description,
Long avatarId)
Create new issue type and adds it to default scheme.
|
IssueType |
insertSubTaskIssueType(String name,
Long sequence,
String description,
String iconurl)
Deprecated.
Use
insertSubTaskIssueType(String, Long, String, Long) since v6.3. |
boolean |
isSubTask(org.ofbiz.core.entity.GenericValue issue)
Deprecated.
Use
isSubTask(Issue) instead. Since v6.4. |
boolean |
isSubTask(Issue issue)
Return true if the given issue is a subtask.
|
boolean |
isSubTaskIssueType(org.ofbiz.core.entity.GenericValue issueType)
Deprecated.
Use
IssueType.isSubTask() instead. Since v6.4. |
boolean |
isSubTasksEnabled() |
boolean |
issueTypeExistsById(String id) |
boolean |
issueTypeExistsByName(String name) |
void |
moveSubTask(org.ofbiz.core.entity.GenericValue issue,
Long currentSequence,
Long sequence)
Deprecated.
Use
moveSubTask(com.atlassian.jira.issue.Issue, Long, Long) instead. Since v5.0. |
void |
moveSubTask(Issue issue,
Long currentSequence,
Long sequence) |
void |
moveSubTaskIssueTypeDown(String id) |
void |
moveSubTaskIssueTypeUp(String id) |
void |
removeSubTaskIssueType(String name) |
void |
resetSequences(Issue issue) |
void |
updateSubTaskIssueType(String id,
String name,
Long sequence,
String description,
Long avatarId)
Update existing sub-task issue type.
|
void |
updateSubTaskIssueType(String id,
String name,
Long sequence,
String description,
String iconurl)
Deprecated.
Use
updateSubTaskIssueType(String, String, Long, String, Long) instead. Since v6.3. |
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
void enableSubTasks() throws CreateException
CreateException
boolean isSubTasksEnabled()
void disableSubTasks()
boolean isSubTask(org.ofbiz.core.entity.GenericValue issue)
isSubTask(Issue)
instead. Since v6.4.issue
- the issueboolean isSubTask(Issue issue)
issue
- the issueboolean isSubTaskIssueType(org.ofbiz.core.entity.GenericValue issueType)
IssueType.isSubTask()
instead. Since v6.4.issueType
- the issue type@Nullable Long getParentIssueId(org.ofbiz.core.entity.GenericValue issue)
getParentIssueId(Issue)
instead. Since v6.4.issue
- the issue@Nullable Long getParentIssueId(Issue issue)
issue
- the issuegetParentIssueId(Long)
@Nullable Long getParentIssueId(Long issueId)
issueId
- the issue ID of the subtaskgetParentIssueId(Issue)
org.ofbiz.core.entity.GenericValue getParentIssue(org.ofbiz.core.entity.GenericValue issue)
Issue.getParentObject()
instead. Since v5.0.issue
- subtaskSubTaskBean getSubTaskBean(org.ofbiz.core.entity.GenericValue issue, com.atlassian.crowd.embedded.api.User remoteUser)
getSubTaskBean(com.atlassian.jira.issue.Issue, com.atlassian.crowd.embedded.api.User)
instead. Since v5.0.issue
- the IssueremoteUser
- the userSubTaskBean getSubTaskBean(Issue issue, com.atlassian.crowd.embedded.api.User remoteUser)
issue
- the IssueremoteUser
- the uservoid moveSubTask(org.ofbiz.core.entity.GenericValue issue, Long currentSequence, Long sequence)
moveSubTask(com.atlassian.jira.issue.Issue, Long, Long)
instead. Since v5.0.issue
- currentSequence
- sequence
- void resetSequences(Issue issue)
org.ofbiz.core.entity.GenericValue createSubTaskIssueType(String name, Long sequence, String description, String iconurl) throws CreateException
insertSubTaskIssueType(String, Long, String, String)
instead. Since v5.0.name
- sequence
- description
- iconurl
- CreateException
@Deprecated IssueType insertSubTaskIssueType(String name, Long sequence, String description, String iconurl) throws CreateException
insertSubTaskIssueType(String, Long, String, Long)
since v6.3.CreateException
IssueType insertSubTaskIssueType(String name, Long sequence, String description, Long avatarId) throws CreateException
CreateException
@Deprecated void updateSubTaskIssueType(String id, String name, Long sequence, String description, String iconurl) throws DataAccessException
updateSubTaskIssueType(String, String, Long, String, Long)
instead. Since v6.3.DataAccessException
void updateSubTaskIssueType(String id, String name, Long sequence, String description, Long avatarId) throws DataAccessException
DataAccessException
void removeSubTaskIssueType(String name) throws RemoveException
RemoveException
Collection<IssueType> getSubTaskIssueTypeObjects()
IssueType
s.boolean issueTypeExistsById(String id)
boolean issueTypeExistsByName(String name)
void moveSubTaskIssueTypeUp(String id) throws DataAccessException
DataAccessException
void moveSubTaskIssueTypeDown(String id) throws DataAccessException
DataAccessException
org.ofbiz.core.entity.GenericValue getSubTaskIssueTypeById(String id)
getSubTaskIssueType(String)
instead. Since v5.0.id
- the IDIssueType getSubTaskIssueType(String id)
id
- the IDvoid createSubTaskIssueLink(org.ofbiz.core.entity.GenericValue parentIssue, org.ofbiz.core.entity.GenericValue subTaskIssue, com.atlassian.crowd.embedded.api.User remoteUser) throws CreateException
createSubTaskIssueLink(com.atlassian.jira.issue.Issue, com.atlassian.jira.issue.Issue, com.atlassian.crowd.embedded.api.User)
instead. Since v5.0.parentIssue
- subTaskIssue
- remoteUser
- CreateException
void createSubTaskIssueLink(Issue parentIssue, Issue subTaskIssue, com.atlassian.crowd.embedded.api.User remoteUser) throws CreateException
CreateException
Collection<Long> getAllSubTaskIssueIds()
List<IssueLink> getSubTaskIssueLinks(Long issueId)
issueId
- issue idCollection<org.ofbiz.core.entity.GenericValue> getSubTasks(org.ofbiz.core.entity.GenericValue issue)
getSubTaskObjects(com.atlassian.jira.issue.Issue)
instead.issue
- the issueCollection<Issue> getSubTaskObjects(Issue issue)
IssueUpdateBean changeParent(org.ofbiz.core.entity.GenericValue subTask, org.ofbiz.core.entity.GenericValue parentIssue, com.atlassian.crowd.embedded.api.User currentUser) throws RemoveException, CreateException
changeParent(com.atlassian.jira.issue.Issue, com.atlassian.jira.issue.Issue, com.atlassian.crowd.embedded.api.User)
instead. Since v5.0.subTask
- The SubTaskparentIssue
- The parent IssuecurrentUser
- The userRemoveException
- if there's a problem unlinking original parent.CreateException
- if there's a problem linking new parent.IssueUpdateBean changeParent(Issue subTask, Issue parentIssue, com.atlassian.crowd.embedded.api.User currentUser) throws RemoveException, CreateException
subTask
- The SubTaskparentIssue
- The parent IssuecurrentUser
- The userRemoveException
- if there's a problem unlinking original parent.CreateException
- if there's a problem linking new parent.Copyright © 2002-2015 Atlassian. All Rights Reserved.