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, isUpdated
clone, deepClone
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
public 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 NetEvent
NetEvent.setWasCausedByMe(boolean)
public void setWasCausedByMe(boolean wasCausedByMe)
NetEvent
setWasCausedByMe
in interface NetEvent
NetEvent.wasCausedByMe()
public SessionId getSessionId()
getSessionId
in interface NetEvent
public UserId getUserId()
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class RecordChangeEvent
public DumpString toDumpString(DumpString s)
Dumpable
toDumpString
in interface Dumpable
toDumpString
in class RecordChangeEvent
Copyright © 2014 EsprIT-Systems. All Rights Reserved.