| org.apache.lenya.cms.rc.RCML
All known Subclasses: org.apache.lenya.cms.repository.SourceNodeRCML,
RCML | public interface RCML (Code) | | An object of this class handles the revisions of a node. The node is passed as a parameter so an
RCML object can be shared between sessions for synchronization purposes.
|
Field Summary | |
short | ci | short | co |
checkIn | void checkIn(Node node, boolean backup, boolean newVersion) throws RevisionControlException(Code) | | Check the RCML in.
Parameters: node - The node. Parameters: backup - If a backup shall be created. Parameters: newVersion - If the revision number should be increased. throws: RevisionControlException - if an error occurs. |
checkOut | void checkOut(Node node, boolean restrictedToSession) throws RevisionControlException(Code) | | Check the RCML out.
Parameters: node - The node. Parameters: restrictedToSession - If only the current session may check the node in, or all sessionsbelonging to this user. throws: RevisionControlException - if an error occurs. |
delete | boolean delete()(Code) | | delete the RCML file and the directory if this one is empty
boolean true, if the file was deleted |
getBackupEntries | Vector getBackupEntries() throws Exception(Code) | | get all backup entries
Vector of all entries in this RCML-file with a backup throws: Exception - if an error occurs |
getBackupsTime | String[] getBackupsTime() throws Exception(Code) | | get the time's value of the backups
String[] the times throws: Exception - if an error occurs |
isDirty | boolean isDirty()(Code) | | Check if the document is dirty
boolean dirty |
pruneEntries | void pruneEntries() throws Exception(Code) | | Prune the list of entries and delete the corresponding backups. Limit the number of entries
to the value maximalNumberOfEntries (2maxNumberOfRollbacks(configured)+1)
throws: Exception - if an error occurs |
|
|