|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.util.JiraEntityUtils
public class JiraEntityUtils
Constructor Summary | |
---|---|
JiraEntityUtils()
|
Method Summary | |
---|---|
static java.util.Map |
createEntityMap(java.util.List entities,
java.lang.String key,
java.lang.String value)
Convert any list of entities into a sequenced hash map with two fields. |
static org.ofbiz.core.entity.GenericValue |
getPermissionScheme(org.ofbiz.core.entity.GenericValue entity)
This method will return the permission scheme relevant to a given entity. |
static org.ofbiz.core.entity.GenericValue |
getProject(org.ofbiz.core.entity.GenericValue entity)
This method will return the project relevant to a given entity. |
static java.util.List |
updateDependentEntities(org.ofbiz.core.entity.GenericValue issue,
java.util.Collection newEntities,
java.lang.String relationType,
java.lang.String changeItemField)
Update the dependent entities of this issue (for example versions, fix versions or components) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JiraEntityUtils()
Method Detail |
---|
public static org.ofbiz.core.entity.GenericValue getProject(org.ofbiz.core.entity.GenericValue entity)
public static org.ofbiz.core.entity.GenericValue getPermissionScheme(org.ofbiz.core.entity.GenericValue entity)
public static java.util.List updateDependentEntities(org.ofbiz.core.entity.GenericValue issue, java.util.Collection newEntities, java.lang.String relationType, java.lang.String changeItemField) throws org.ofbiz.core.entity.GenericEntityException
issue
- The issue to update entities fornewEntities
- The list of new dependent entitiesrelationType
- The dependency (association) type to look at, from IssueRelationConstants
changeItemField
- The fieldname of the change items generated
org.ofbiz.core.entity.GenericEntityException
public static java.util.Map createEntityMap(java.util.List entities, java.lang.String key, java.lang.String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |