com.arsdigita.cms.lifecycle
Class LifecycleEvent
java.lang.Object
com.arsdigita.cms.lifecycle.LifecycleEvent
- public class LifecycleEvent
- extends Object
This event class stores the information necessary for the firing of events
in the LifecycleListener class.
- Version:
- $Revision: #8 $ $DateTime: 2004/04/07 16:07:11 $
- Author:
- Jack Chung (flattop@arsdigita.com)
versionId
public static final String versionId
- See Also:
- Constant Field Values
PHASE
public static final int PHASE
- See Also:
- Constant Field Values
LIFECYCLE
public static final int LIFECYCLE
- See Also:
- Constant Field Values
LifecycleEvent
protected LifecycleEvent(int eventType,
Date start,
Date end,
String objectType,
BigDecimal id)
- Construct a lifecycle event
- Parameters:
eventType
- specify either PHASE or LIFECYCLEstart
- the start date time of this eventend
- the end date time of this eventobjectType
- the object-type of the object receiving of the actionid
- the ID of the object receiving of the action
LifecycleEvent
protected LifecycleEvent(int eventType,
Date start,
Date end,
com.arsdigita.persistence.OID oid)
- Construct a lifecycle event
- Parameters:
eventType
- specify either PHASE or LIFECYCLEstart
- the start date time of this eventend
- the end date time of this eventoid
- the OID of the object of receiving of the action
getEventType
public int getEventType()
getStartDate
public Date getStartDate()
getEndDate
public Date getEndDate()
getOID
public com.arsdigita.persistence.OID getOID()
toString
public String toString()
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 19 2004:2352 UTC