|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.util.JiraEntityUtils
Constructor Summary | |
JiraEntityUtils()
|
Method Summary | |
static Map |
createEntityMap(List entities,
String key,
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 List |
updateDependentEntities(org.ofbiz.core.entity.GenericValue issue,
Collection newEntities,
String relationType,
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 List updateDependentEntities(org.ofbiz.core.entity.GenericValue issue, Collection newEntities, String relationType, 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 Map createEntityMap(List entities, String key, String value)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |