Package com.saperion.intf
Interface SaEvent
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
SaEventImpl
public interface SaEvent extends java.io.SerializableBean interface for an event. The event is fired every time when some document is changed (i.e. created/updated/deleted).
The event consists of- the 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;
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDDCName()Reads the ddc name.intgetEventNumber()Reads the event number.java.lang.String[]getFieldNames()Reads the fieldnames of this event.java.lang.StringgetHDoc()Reads the HDOC for this event.java.lang.StringgetLinkDDCName()java.lang.StringgetParentId()intgetStatus()Reads the status of this event.java.lang.StringgetSysRowId()Reads the SysRowId of this event.java.util.DategetTimestamp()Reads the timestamp of this event.java.lang.StringgetTransactionId()Reads the transaction ID of this event.
-
-
-
Method Detail
-
getEventNumber
int getEventNumber()
Reads the event number.- Returns:
- the eventNumber
-
getHDoc
java.lang.String getHDoc()
Reads the HDOC for this event.- Returns:
- the hDoc
-
getStatus
int getStatus()
Reads the status of this event.- Returns:
- the status
-
getSysRowId
java.lang.String getSysRowId()
Reads the SysRowId of this event.- Returns:
- the sysRowId
-
getTimestamp
java.util.Date getTimestamp()
Reads the timestamp of this event.- Returns:
- the timestamp
-
getTransactionId
java.lang.String getTransactionId()
Reads the transaction ID of this event.- Returns:
- the transactionId
-
getFieldNames
java.lang.String[] getFieldNames()
Reads the fieldnames of this event.- Returns:
- Changed fieldnames
-
getDDCName
java.lang.String getDDCName()
Reads the ddc name.- Returns:
- ddc name
-
getLinkDDCName
java.lang.String getLinkDDCName()
- Returns:
- mixin ddc name
-
getParentId
java.lang.String getParentId()
- Returns:
- the parentId
-
-