|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.atlassian.jira.project.statistics.StatisticsUpdateEvent
Atlassian Source Code Template. User: Bobby Date: Apr 24, 2003 Time: 1:59:13 PM CVS Revision: Revision$ Last CVS Commit: Date$ Author of last CVS Commit: Author$ An event class for statistics update events, passed to the StatisticsManager with the details of the update event. Note that this class is immutable, so must be created through the build*() methods.
Field Summary | |
static int |
CREATE_EVENT
|
static int |
DELETE_EVENT
|
static int |
MOVE_EVENT
|
static int |
UPDATE_EVENT
|
Method Summary | |
static StatisticsUpdateEvent |
buildCreate(org.ofbiz.core.entity.GenericValue entity)
Build a new create event with a single entity. |
static StatisticsUpdateEvent |
buildDelete(org.ofbiz.core.entity.GenericValue entity)
Build a new delete event with a single entity. |
static StatisticsUpdateEvent |
buildDelete(org.ofbiz.core.entity.GenericValue entity,
java.util.Collection affectedIssues)
Build a new delete event with a single entity, and a list of affected issues. |
static StatisticsUpdateEvent |
buildMove(org.ofbiz.core.entity.GenericValue newIssue,
org.ofbiz.core.entity.GenericValue oldIssue)
Build a new move event with the updated issue, and the old issue. |
static StatisticsUpdateEvent |
buildUpdate(org.ofbiz.core.entity.GenericValue issue,
org.ofbiz.core.entity.GenericValue changeGroup)
Build a new update event with the updated issue and the change group for this update. |
boolean |
equals(java.lang.Object o)
|
org.ofbiz.core.entity.GenericValue |
getEntity()
|
java.lang.String |
getEntityType()
|
java.lang.Object |
getParameter()
The parameter of this event is an object representing extra information that is useful to the statistics engine. |
int |
getType()
|
int |
hashCode()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int CREATE_EVENT
public static final int DELETE_EVENT
public static final int MOVE_EVENT
public static final int UPDATE_EVENT
Method Detail |
public static StatisticsUpdateEvent buildCreate(org.ofbiz.core.entity.GenericValue entity)
public static StatisticsUpdateEvent buildDelete(org.ofbiz.core.entity.GenericValue entity)
public static StatisticsUpdateEvent buildDelete(org.ofbiz.core.entity.GenericValue entity, java.util.Collection affectedIssues)
public static StatisticsUpdateEvent buildMove(org.ofbiz.core.entity.GenericValue newIssue, org.ofbiz.core.entity.GenericValue oldIssue)
public static StatisticsUpdateEvent buildUpdate(org.ofbiz.core.entity.GenericValue issue, org.ofbiz.core.entity.GenericValue changeGroup)
public int getType()
public org.ofbiz.core.entity.GenericValue getEntity()
public java.lang.String getEntityType()
public java.lang.Object getParameter()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |