com.atlassian.jira.issue
Interface ActionManager

All Known Implementing Classes:
DefaultActionManager

public interface ActionManager


Method Summary
 Email createEmail(org.ofbiz.core.entity.GenericValue issue, javax.mail.Message mimeMessage)
          Creates a GenericValue for the mime message in the database.
 java.util.List getActions(org.ofbiz.core.entity.GenericValue issue, com.opensymphony.user.User remoteUser)
          Get all actions for a particular issue
 java.util.List getChangeHistory(org.ofbiz.core.entity.GenericValue issue, com.opensymphony.user.User remoteUser)
          Get all change groups as action objects
 java.util.List getComments(org.ofbiz.core.entity.GenericValue issue, com.opensymphony.user.User user)
          Get the appropriate comments for a particular user
 java.util.List getCommits(org.ofbiz.core.entity.GenericValue issue, com.opensymphony.user.User remoteUser)
          Retrieves all of the commits for this issue from ALL of the repositories associated with the issue's project
 java.util.List getEmails(org.ofbiz.core.entity.GenericValue issue, com.opensymphony.user.User remoteUser)
          Retrieves all of the emails for this particular issue
 java.util.List getPluginModuleActions(java.lang.String moduleKey, org.ofbiz.core.entity.GenericValue issue, com.opensymphony.user.User remoteUser)
          Retrieves all of the action objects out of the specified plugin module.
 java.util.List getWorkflow(org.ofbiz.core.entity.GenericValue issue, com.opensymphony.user.User remoteUser)
          Get all the workflow steps as action objects
 java.util.List getWorklog(org.ofbiz.core.entity.GenericValue issue, com.opensymphony.user.User user)
          Get the appropriate worklog for a particular user
 

Method Detail

getComments

java.util.List getComments(org.ofbiz.core.entity.GenericValue issue,
                           com.opensymphony.user.User user)
                           throws org.ofbiz.core.entity.GenericEntityException
Get the appropriate comments for a particular user

Throws:
org.ofbiz.core.entity.GenericEntityException

getWorklog

java.util.List getWorklog(org.ofbiz.core.entity.GenericValue issue,
                          com.opensymphony.user.User user)
                          throws org.ofbiz.core.entity.GenericEntityException
Get the appropriate worklog for a particular user

Throws:
org.ofbiz.core.entity.GenericEntityException

getChangeHistory

java.util.List getChangeHistory(org.ofbiz.core.entity.GenericValue issue,
                                com.opensymphony.user.User remoteUser)
                                throws org.ofbiz.core.entity.GenericEntityException
Get all change groups as action objects

Throws:
org.ofbiz.core.entity.GenericEntityException

getWorkflow

java.util.List getWorkflow(org.ofbiz.core.entity.GenericValue issue,
                           com.opensymphony.user.User remoteUser)
                           throws org.ofbiz.core.entity.GenericEntityException
Get all the workflow steps as action objects

Throws:
org.ofbiz.core.entity.GenericEntityException

getActions

java.util.List getActions(org.ofbiz.core.entity.GenericValue issue,
                          com.opensymphony.user.User remoteUser)
                          throws org.ofbiz.core.entity.GenericEntityException,
                                 RepositoryException
Get all actions for a particular issue

Throws:
org.ofbiz.core.entity.GenericEntityException
RepositoryException

getCommits

java.util.List getCommits(org.ofbiz.core.entity.GenericValue issue,
                          com.opensymphony.user.User remoteUser)
                          throws org.ofbiz.core.entity.GenericEntityException,
                                 RepositoryException
Retrieves all of the commits for this issue from ALL of the repositories associated with the issue's project

Throws:
org.ofbiz.core.entity.GenericEntityException
RepositoryException

createEmail

Email createEmail(org.ofbiz.core.entity.GenericValue issue,
                  javax.mail.Message mimeMessage)
                  throws org.ofbiz.core.entity.GenericEntityException
Creates a GenericValue for the mime message in the database.

Parameters:
issue - Issue the Email is associated with
mimeMessage - contents of the email
Returns:
object representation of the email
Throws:
org.ofbiz.core.entity.GenericEntityException

getEmails

java.util.List getEmails(org.ofbiz.core.entity.GenericValue issue,
                         com.opensymphony.user.User remoteUser)
                         throws org.ofbiz.core.entity.GenericEntityException
Retrieves all of the emails for this particular issue

Parameters:
issue - Emails for this Issue will be returned
remoteUser - Emails this user can see will be returned
Returns:
List of Email objects.
Throws:
org.ofbiz.core.entity.GenericEntityException

getPluginModuleActions

java.util.List getPluginModuleActions(java.lang.String moduleKey,
                                      org.ofbiz.core.entity.GenericValue issue,
                                      com.opensymphony.user.User remoteUser)
Retrieves all of the action objects out of the specified plugin module.

Parameters:
moduleKey - The complete plugin module key
issue - Relevant actions for this Issue will be returned
remoteUser - Actions this user can see will be returned
Returns:


Copyright © 2002-2006 Atlassian. All Rights Reserved.