Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
SetRecordDataObject () | |
IRecord | getIRecord (DocumentRecord document) throws MissingRecordException |
boolean | isAlreadyApplied (DocumentRecord document) throws MissingRecordException |
String | getTargetRid () |
de.fu_berlin.inf.dpp.whiteboard.sxe.records.serializable.SetRecordDataObject.SetRecordDataObject | ( | ) |
IRecord de.fu_berlin.inf.dpp.whiteboard.sxe.records.serializable.SetRecordDataObject.getIRecord | ( | DocumentRecord | document | ) | throws MissingRecordException [virtual] |
Usually returns the respective SetRecord.
However, a RemoveRecord is returned if the respective SetRecord would change the target's parent to a deleted record.
Implements de.fu_berlin.inf.dpp.whiteboard.sxe.records.serializable.RecordDataObject.
String de.fu_berlin.inf.dpp.whiteboard.sxe.records.serializable.SetRecordDataObject.getTargetRid | ( | ) | [virtual] |
Returns the target RID entry or the RID of the new-record. Like this it works as complement to Record.getTarget() and clients can assume that it will never return null.
MalformedRecordException | if there is no RID this data object does not correspond to a valid record |
Implements de.fu_berlin.inf.dpp.whiteboard.sxe.records.serializable.RecordDataObject.
boolean de.fu_berlin.inf.dpp.whiteboard.sxe.records.serializable.SetRecordDataObject.isAlreadyApplied | ( | DocumentRecord | document | ) | throws MissingRecordException [virtual] |
document | the document record where it may have been applied to |
MissingRecordException | if a target (i.e. SetRecord, RemoveRecord) is missing completely |
Implements de.fu_berlin.inf.dpp.whiteboard.sxe.records.serializable.RecordDataObject.