Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
NewRecordDataObject () | |
IRecord | getIRecord (DocumentRecord document) throws MissingRecordException |
boolean | isAlreadyApplied (DocumentRecord document) |
String | getTargetRid () |
de.fu_berlin.inf.dpp.whiteboard.sxe.records.serializable.NewRecordDataObject.NewRecordDataObject | ( | ) |
IRecord de.fu_berlin.inf.dpp.whiteboard.sxe.records.serializable.NewRecordDataObject.getIRecord | ( | DocumentRecord | document | ) | throws MissingRecordException [virtual] |
Note: under certain conditions this record may return a different type than defined in the RecordType field due to concurrent edits.
Subclasses have to ensure to provide a record that sets the document in a synchronized state or throw a MissingRecordException.
document |
MissingRecordException | if a field references a missing record |
Implements de.fu_berlin.inf.dpp.whiteboard.sxe.records.serializable.RecordDataObject.
String de.fu_berlin.inf.dpp.whiteboard.sxe.records.serializable.NewRecordDataObject.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.NewRecordDataObject.isAlreadyApplied | ( | DocumentRecord | document | ) | [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.