public class RemoteRecordChangeEvent extends RecordChangeEvent implements NetEvent
| Modifier and Type | Class and Description |
|---|---|
static interface |
RemoteRecordChangeEvent.Listener |
static interface |
RemoteRecordChangeEvent.Source |
| Constructor and Description |
|---|
RemoteRecordChangeEvent(java.lang.String dataSrcName,
SessionId sessId,
DBChangeType action,
DBRecord record) |
RemoteRecordChangeEvent(java.lang.String dataSrcName,
SessionId sessId,
DBChangeType action,
DBRecord[] records) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDataSourceName()
Tells in which dataSource the change has happened
|
SessionId |
getSessionId()
Returns the SessionId of the client who caused the change.
|
UserId |
getUserId() |
void |
setWasCausedByMe(boolean wasCausedByMe)
Tells whether the event was caused by the client himself.
|
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
boolean |
wasCausedByMe()
Tells whether the database change was caused by the client himself.
|
getChangeType, getRecord, getRecordCount, getRecords, hasSingeRecord, isDeleted, isInserted, isUpdatedclone, deepCloneconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toStringpublic RemoteRecordChangeEvent(java.lang.String dataSrcName,
SessionId sessId,
DBChangeType action,
DBRecord record)
public RemoteRecordChangeEvent(java.lang.String dataSrcName,
SessionId sessId,
DBChangeType action,
DBRecord[] records)
public java.lang.String getDataSourceName()
public boolean wasCausedByMe()
wasCausedByMe in interface NetEventNetEvent.setWasCausedByMe(boolean)public void setWasCausedByMe(boolean wasCausedByMe)
NetEventsetWasCausedByMe in interface NetEventNetEvent.wasCausedByMe()public SessionId getSessionId()
getSessionId in interface NetEventpublic UserId getUserId()
public ToString toString(ToString s)
DumpabletoString in interface DumpabletoString in class RecordChangeEventpublic DumpString toDumpString(DumpString s)
DumpabletoDumpString in interface DumpabletoDumpString in class RecordChangeEventCopyright © 2014 EsprIT-Systems. All Rights Reserved.