Package com.saperion.event
Class SaEventImpl
java.lang.Object
com.saperion.event.SaEventImpl
- All Implemented Interfaces:
- SaEvent,- Serializable
Bean class for an event. The event is fired every time when some document is
 changed (i.e. created/updated/deleted). 
 
The event consists ofthe SYSROWID of the document;
 
  the HDOC revisons number;
 
  the ID of the event;
 
  the events status;
 
  timestamp;
 
  the ID of the transaction in which the event is raised;
 
  the text that comments this event;
 
  the list of fields from the documents DDC which have been changed; 
The event consists of
- Author:
- rbo
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReads the ddc name.final intReads the event number.final String[]Reads the fieldnames of this event.final StringgetHDoc()Reads the HDOC for this event.final Stringfinal intReads the status of this event.final StringReads the SysRowId of this event.final DateReads the timestamp of this event.final StringReads the transaction ID of this event.voidsetDDCName(String ddc) voidsetFieldNames(String[] names) voidsetLinkDDCName(String name) final voidsetParentId(String id) voidsetStatus(int statusId) toString()
- 
Constructor Details- 
SaEventImplpublic SaEventImpl(String sysrowid, String doc, int eventnumber, int eventStatus, Date timeStamp, String transId, String[] fieldNames) - Parameters:
- sysrowid- SysRowId
- doc- HDOC
- eventnumber- Eventnumber
- eventStatus- Status
- timeStamp- Timestamp
- transId- Transaction id
- fieldNames- Fieldnames
 
- 
SaEventImplpublic SaEventImpl(String sysrowid, String doc, int eventnumber, String eventLinkId, Date timeStamp, String transId, String[] fieldNames) - Parameters:
- sysrowid- SysRowId
- doc- HDOC
- eventnumber- Eventnumber
- eventLinkId- Node SysRowId
- timeStamp- Timestamp
- transId- Transaction id
- fieldNames- Fieldnames
 
 
- 
- 
Method Details- 
setLinkDDCName- Parameters:
- name- Link DDC name
 
- 
getLinkDDCName- Specified by:
- getLinkDDCNamein interface- SaEvent
- Returns:
- Link DDC name
 
- 
setDDCName- Parameters:
- ddc- DDCName
 
- 
getDDCNameDescription copied from interface:SaEventReads the ddc name.- Specified by:
- getDDCNamein interface- SaEvent
- Returns:
- DDCName
 
- 
getLinkId- Returns:
- Link ID
 
- 
getEventNumberpublic final int getEventNumber()Reads the event number.- Specified by:
- getEventNumberin interface- SaEvent
- Returns:
- the eventNumber
- See Also:
- 
- com.saperion.event.SaWfEvent#getEventNumber()
 
 
- 
getHDocReads the HDOC for this event.
- 
getStatuspublic final int getStatus()Reads the status of this event.
- 
getSysRowIdReads the SysRowId of this event.- Specified by:
- getSysRowIdin interface- SaEvent
- Returns:
- the sysRowId
- See Also:
- 
- com.saperion.event.SaWfEvent#getXsysrowid()
 
 
- 
getTimestampReads the timestamp of this event.- Specified by:
- getTimestampin interface- SaEvent
- Returns:
- the timestamp
- See Also:
- 
- com.saperion.event.SaWfEvent#getTimestamp()
 
 
- 
getTransactionIdReads the transaction ID of this event.- Specified by:
- getTransactionIdin interface- SaEvent
- Returns:
- the transactionId
- See Also:
- 
- com.saperion.event.SaWfEvent#getTransactionId()
 
 
- 
getFieldNamesReads the fieldnames of this event.- Specified by:
- getFieldNamesin interface- SaEvent
- Returns:
- Changed fieldnames
- See Also:
- 
- com.saperion.event.SaWfEvent#getFieldNames()
 
 
- 
setFieldNames- Parameters:
- names- Array of names
 
- 
setStatuspublic void setStatus(int statusId) - Parameters:
- statusId- Status
 
- 
getParentId- Specified by:
- getParentIdin interface- SaEvent
- Returns:
- the parentId
 
- 
setParentId- Parameters:
- id- the parentId to set
 
- 
toString
 
-