com.atlassian.jira.issue.history
Class ChangeLogUtils

java.lang.Object
  extended bycom.atlassian.jira.issue.history.ChangeLogUtils

public class ChangeLogUtils
extends java.lang.Object


Field Summary
(package private) static org.apache.log4j.Category log
           
 
Constructor Summary
ChangeLogUtils()
           
 
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
 

Field Detail

log

static org.apache.log4j.Category log
Constructor Detail

ChangeLogUtils

public ChangeLogUtils()
Method Detail

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 update
after - This issue after the update
incomingChangeItems - 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.