com.atlassian.jira.config
Interface SubTaskManager

All Known Implementing Classes:
DefaultSubTaskManager, DisabledSubTaskManager

public interface SubTaskManager

The implementations of this class should be used to manager the 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
 void createSubTaskIssueLink(org.ofbiz.core.entity.GenericValue parentIssue, org.ofbiz.core.entity.GenericValue 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(org.ofbiz.core.entity.GenericValue issue)
           
 org.ofbiz.core.entity.GenericValue getSubTaskIssueTypeById(String id)
           
 Collection getSubTasks(org.ofbiz.core.entity.GenericValue issue)
           
 Collection getSubTasksIssueTypes()
           
 boolean isSubTask(org.ofbiz.core.entity.GenericValue issue)
           
 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)
           
 void updateSubTaskIssueType(String id, String name, Long sequence, String description, String iconurl)
           
 

Field Detail

SUB_TASK_ISSUE_TYPE_STYLE

public static final String SUB_TASK_ISSUE_TYPE_STYLE
See Also:
Constant Field Values

SUB_TASK_LINK_TYPE_NAME

public static final String SUB_TASK_LINK_TYPE_NAME
See Also:
Constant Field Values

SUB_TASK_LINK_TYPE_STYLE

public static final String SUB_TASK_LINK_TYPE_STYLE
See Also:
Constant Field Values

SUB_TASK_LINK_TYPE_INWARD_NAME

public static final String SUB_TASK_LINK_TYPE_INWARD_NAME
See Also:
Constant Field Values

SUB_TASK_LINK_TYPE_OUTWARD_NAME

public static final String SUB_TASK_LINK_TYPE_OUTWARD_NAME
See Also:
Constant Field Values
Method Detail

enableSubTasks

public void enableSubTasks()
                    throws CreateException
Throws:
CreateException

isSubTasksEnabled

public boolean isSubTasksEnabled()

disableSubTasks

public void disableSubTasks()

isSubTask

public boolean isSubTask(org.ofbiz.core.entity.GenericValue issue)

getParentIssueId

public Long getParentIssueId(org.ofbiz.core.entity.GenericValue issue)

getParentIssue

public org.ofbiz.core.entity.GenericValue getParentIssue(org.ofbiz.core.entity.GenericValue issue)

getSubTaskBean

public SubTaskBean getSubTaskBean(org.ofbiz.core.entity.GenericValue issue,
                                  User remoteUser)

moveSubTask

public void moveSubTask(org.ofbiz.core.entity.GenericValue issue,
                        Long currentSequence,
                        Long sequence)

resetSequences

public void resetSequences(org.ofbiz.core.entity.GenericValue issue)

createSubTaskIssueType

public org.ofbiz.core.entity.GenericValue createSubTaskIssueType(String name,
                                                                 Long sequence,
                                                                 String description,
                                                                 String iconurl)
                                                          throws CreateException
Throws:
CreateException

updateSubTaskIssueType

public void updateSubTaskIssueType(String id,
                                   String name,
                                   Long sequence,
                                   String description,
                                   String iconurl)
                            throws StoreException
Throws:
StoreException

removeSubTaskIssueType

public void removeSubTaskIssueType(String name)
                            throws RemoveException
Throws:
RemoveException

getSubTasksIssueTypes

public Collection getSubTasksIssueTypes()

issueTypeExistsById

public boolean issueTypeExistsById(String id)

issueTypeExistsByName

public boolean issueTypeExistsByName(String name)

moveSubTaskIssueTypeUp

public void moveSubTaskIssueTypeUp(String id)
                            throws StoreException
Throws:
StoreException

moveSubTaskIssueTypeDown

public void moveSubTaskIssueTypeDown(String id)
                              throws StoreException
Throws:
StoreException

getSubTaskIssueTypeById

public org.ofbiz.core.entity.GenericValue getSubTaskIssueTypeById(String id)

createSubTaskIssueLink

public void createSubTaskIssueLink(org.ofbiz.core.entity.GenericValue parentIssue,
                                   org.ofbiz.core.entity.GenericValue subTaskIssue,
                                   User remoteUser)
                            throws CreateException
Throws:
CreateException

getAllSubTaskIssueIds

public Collection getAllSubTaskIssueIds()

getSubTaskIssueLinks

public List getSubTaskIssueLinks(org.ofbiz.core.entity.GenericValue issue)

getSubTasks

public Collection getSubTasks(org.ofbiz.core.entity.GenericValue issue)


Copyright © 2002-2006 Atlassian. All Rights Reserved.