com.atlassian.jira.issue.history
Class ChangeLogUtils
java.lang.Object
com.atlassian.jira.issue.history.ChangeLogUtils
- public class ChangeLogUtils
- extends java.lang.Object
Field Summary |
(package private) static org.apache.log4j.Category |
log
|
Method Summary |
static org.ofbiz.core.entity.GenericValue |
createChangeGroup(com.opensymphony.user.User changeAuthor,
org.ofbiz.core.entity.GenericValue before,
org.ofbiz.core.entity.GenericValue after,
java.util.Collection incomingChangeItems)
Writes the changes to fields as an action to the db |
static ChangeItemBean |
generateChangeItem(org.ofbiz.core.entity.GenericValue before,
org.ofbiz.core.entity.GenericValue after,
java.lang.String fieldname)
|
static java.util.List |
generateChangeItems(org.ofbiz.core.entity.GenericValue before,
org.ofbiz.core.entity.GenericValue after)
|
static ChangeItemBean |
generateSecurityChangeItem(java.lang.String fieldname,
java.lang.String from,
java.lang.String to)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
static org.apache.log4j.Category log
ChangeLogUtils
public ChangeLogUtils()
createChangeGroup
public static org.ofbiz.core.entity.GenericValue createChangeGroup(com.opensymphony.user.User changeAuthor,
org.ofbiz.core.entity.GenericValue before,
org.ofbiz.core.entity.GenericValue after,
java.util.Collection incomingChangeItems)
- Writes the changes to fields as an action to the db
- Parameters:
before
- The issue before the updateafter
- This issue after the updateincomingChangeItems
- A list containing ChangeItemBean
generateChangeItems
public static java.util.List generateChangeItems(org.ofbiz.core.entity.GenericValue before,
org.ofbiz.core.entity.GenericValue after)
generateChangeItem
public static ChangeItemBean generateChangeItem(org.ofbiz.core.entity.GenericValue before,
org.ofbiz.core.entity.GenericValue after,
java.lang.String fieldname)
generateSecurityChangeItem
public static ChangeItemBean generateSecurityChangeItem(java.lang.String fieldname,
java.lang.String from,
java.lang.String to)
Copyright © 2002-2005 Atlassian. All Rights Reserved.