com.atlassian.jira.external
Class ExternalUtils
java.lang.Object
com.atlassian.jira.external.ExternalUtils
- public class ExternalUtils
- extends java.lang.Object
Constructor Summary |
ExternalUtils(com.atlassian.core.action.ActionDispatcher actionDispatcher,
ProjectComponentManager componentManager,
ConstantsManager constantsManager,
JiraAuthenticationContext context,
CustomFieldManager customFieldManager,
org.ofbiz.core.entity.GenericDelegator genericDelegator,
IssueManager issueManager,
OptionsManager optionsManager,
PermissionSchemeManager permissionSchemeManager,
ProjectManager projectManager,
com.opensymphony.user.UserManager userManager,
VersionManager versionManager,
WorkflowManager workflowManager)
|
Method Summary |
void |
addComments(org.ofbiz.core.entity.GenericValue issue,
ExternalComment externalComment)
|
java.lang.String |
addConstant(java.lang.String constantName,
java.lang.String constantType)
|
protected java.lang.String |
addConstant(java.lang.String constantName,
java.lang.String constantType,
java.util.Map extraParams)
|
void |
addOptions(CustomField customFieldObject,
ExternalCustomFieldValue customFieldValue)
|
org.ofbiz.core.entity.GenericValue |
createComponent(ExternalProject externalProject,
ExternalComponent externalComponent)
|
CustomField |
createCustomField(ExternalCustomFieldValue customFieldValue)
|
org.ofbiz.core.entity.GenericValue |
createIssue(ExternalIssue externalIssue,
ExternalProject project,
ImportObjectIdMappings mappings)
|
protected org.ofbiz.core.entity.GenericValue |
createIssue(java.util.Map fields)
|
org.ofbiz.core.entity.GenericValue |
createProject(ExternalProject externalProject)
|
com.opensymphony.user.User |
createUser(ExternalUser externalUser)
|
Version |
createVersion(ExternalProject externalProject,
ExternalVersion externalVersion)
|
java.lang.String |
extractCustomFieldId(java.lang.String customfieldId)
|
java.lang.String |
extractCustomFieldType(java.lang.String customfieldId)
|
org.ofbiz.core.entity.GenericValue |
getComponent(ExternalProject externalProject,
ExternalComponent externalComponent)
|
org.ofbiz.core.entity.GenericValue |
getConstant(java.lang.String constantName,
java.lang.String constantType)
|
CustomField |
getCustomField(ExternalCustomFieldValue customFieldValue)
|
CustomField |
getCustomField(java.lang.String customfieldId)
|
com.opensymphony.user.User |
getJiraUser(ExternalUser externalUser)
|
org.ofbiz.core.entity.GenericValue |
getProject(ExternalProject externalProject)
|
Version |
getVersion(ExternalProject externalProject,
ExternalVersion externalVersion)
|
void |
setCurrentWorkflowStep(org.ofbiz.core.entity.GenericValue issue,
java.lang.String status,
java.lang.String resolution)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_SEPERATOR
public static final java.lang.String TYPE_SEPERATOR
- See Also:
- Constant Field Values
CF_PREFIX
public static final java.lang.String CF_PREFIX
- See Also:
- Constant Field Values
ExternalUtils
public ExternalUtils(com.atlassian.core.action.ActionDispatcher actionDispatcher,
ProjectComponentManager componentManager,
ConstantsManager constantsManager,
JiraAuthenticationContext context,
CustomFieldManager customFieldManager,
org.ofbiz.core.entity.GenericDelegator genericDelegator,
IssueManager issueManager,
OptionsManager optionsManager,
PermissionSchemeManager permissionSchemeManager,
ProjectManager projectManager,
com.opensymphony.user.UserManager userManager,
VersionManager versionManager,
WorkflowManager workflowManager)
getProject
public org.ofbiz.core.entity.GenericValue getProject(ExternalProject externalProject)
createProject
public org.ofbiz.core.entity.GenericValue createProject(ExternalProject externalProject)
throws ExternalException
- Throws:
ExternalException
createVersion
public Version createVersion(ExternalProject externalProject,
ExternalVersion externalVersion)
getVersion
public Version getVersion(ExternalProject externalProject,
ExternalVersion externalVersion)
createComponent
public org.ofbiz.core.entity.GenericValue createComponent(ExternalProject externalProject,
ExternalComponent externalComponent)
getComponent
public org.ofbiz.core.entity.GenericValue getComponent(ExternalProject externalProject,
ExternalComponent externalComponent)
createUser
public com.opensymphony.user.User createUser(ExternalUser externalUser)
getJiraUser
public com.opensymphony.user.User getJiraUser(ExternalUser externalUser)
createIssue
public org.ofbiz.core.entity.GenericValue createIssue(ExternalIssue externalIssue,
ExternalProject project,
ImportObjectIdMappings mappings)
throws ExternalException
- Throws:
ExternalException
createIssue
protected org.ofbiz.core.entity.GenericValue createIssue(java.util.Map fields)
throws CreateException
- Throws:
CreateException
setCurrentWorkflowStep
public void setCurrentWorkflowStep(org.ofbiz.core.entity.GenericValue issue,
java.lang.String status,
java.lang.String resolution)
throws org.ofbiz.core.entity.GenericEntityException,
WorkflowException
- Throws:
org.ofbiz.core.entity.GenericEntityException
WorkflowException
getCustomField
public CustomField getCustomField(ExternalCustomFieldValue customFieldValue)
getCustomField
public CustomField getCustomField(java.lang.String customfieldId)
addOptions
public void addOptions(CustomField customFieldObject,
ExternalCustomFieldValue customFieldValue)
createCustomField
public CustomField createCustomField(ExternalCustomFieldValue customFieldValue)
extractCustomFieldType
public java.lang.String extractCustomFieldType(java.lang.String customfieldId)
extractCustomFieldId
public java.lang.String extractCustomFieldId(java.lang.String customfieldId)
addComments
public void addComments(org.ofbiz.core.entity.GenericValue issue,
ExternalComment externalComment)
throws ExternalException
- Throws:
ExternalException
getConstant
public org.ofbiz.core.entity.GenericValue getConstant(java.lang.String constantName,
java.lang.String constantType)
addConstant
public java.lang.String addConstant(java.lang.String constantName,
java.lang.String constantType)
throws ExternalException
- Throws:
ExternalException
addConstant
protected java.lang.String addConstant(java.lang.String constantName,
java.lang.String constantType,
java.util.Map extraParams)
throws ExternalException
- Throws:
ExternalException
Copyright © 2002-2005 Atlassian. All Rights Reserved.