com.atlassian.jira.issue.managers
Class DefaultActionManager

java.lang.Object
  extended bycom.atlassian.jira.issue.managers.DefaultActionManager
All Implemented Interfaces:
ActionManager

public class DefaultActionManager
extends java.lang.Object
implements ActionManager


Constructor Summary
DefaultActionManager()
           
DefaultActionManager(RepositoryManager repositoryManager, PermissionManager permissionManager, ProjectManager projectManager)
           
 
Method Summary
 java.util.List getActions(GenericValue issue, User remoteUser)
          Get all actions for a particular issue
 java.util.List getChangeHistory(GenericValue issue, User remoteUser)
          Get all change groups as action objects
 java.util.List getComments(GenericValue issue, User user)
          Get the appropriate comments for a particular user
 java.util.List getCommits(GenericValue issue, User remoteUser)
          Retrieves all of the commits for this issue from ALL of the repositories associated with the issue's project
 java.util.List getWorkflow(GenericValue issue, User remoteUser)
          Get all the workflow steps as action objects
 java.util.List getWorklog(GenericValue issue, User user)
          Get the appropriate worklog for a paricular user
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultActionManager

public DefaultActionManager(RepositoryManager repositoryManager,
                            PermissionManager permissionManager,
                            ProjectManager projectManager)

DefaultActionManager

public DefaultActionManager()
Method Detail

getComments

public java.util.List getComments(GenericValue issue,
                                  User user)
                           throws GenericEntityException
Get the appropriate comments for a particular user

Specified by:
getComments in interface ActionManager
Throws:
GenericEntityException

getCommits

public java.util.List getCommits(GenericValue issue,
                                 User remoteUser)
                          throws GenericEntityException,
                                 RepositoryException
Retrieves all of the commits for this issue from ALL of the repositories associated with the issue's project

Specified by:
getCommits in interface ActionManager
Parameters:
issue -
remoteUser -
Returns:
Throws:
GenericEntityException
RepositoryException

getWorklog

public java.util.List getWorklog(GenericValue issue,
                                 User user)
                          throws GenericEntityException
Get the appropriate worklog for a paricular user

Specified by:
getWorklog in interface ActionManager
Throws:
GenericEntityException

getChangeHistory

public java.util.List getChangeHistory(GenericValue issue,
                                       User remoteUser)
                                throws GenericEntityException
Description copied from interface: ActionManager
Get all change groups as action objects

Specified by:
getChangeHistory in interface ActionManager
Throws:
GenericEntityException

getWorkflow

public java.util.List getWorkflow(GenericValue issue,
                                  User remoteUser)
                           throws GenericEntityException
Description copied from interface: ActionManager
Get all the workflow steps as action objects

Specified by:
getWorkflow in interface ActionManager
Throws:
GenericEntityException

getActions

public java.util.List getActions(GenericValue issue,
                                 User remoteUser)
                          throws GenericEntityException,
                                 RepositoryException
Description copied from interface: ActionManager
Get all actions for a particular issue

Specified by:
getActions in interface ActionManager
Throws:
GenericEntityException
RepositoryException