Java Doc for RCML.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » lenya » cms » rc » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Content Management System » apache lenya 2.0 » org.apache.lenya.cms.rc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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
 shortci
    
 shortco
    


Method Summary
 voidcheckIn(Node node, boolean backup, boolean newVersion)
     Check the RCML in.
 voidcheckOut(Node node)
     Check the RCML out with restriction to the current session.
 voidcheckOut(Node node, boolean restrictedToSession)
     Check the RCML out.
 voidcopyFrom(Node node, Node otherNode)
    
 booleandelete()
    
 voiddeleteRevisions()
     Delete all revisions.
 VectorgetBackupEntries()
    
 String[]getBackupsTime()
    
 VectorgetEntries()
    
 CheckInEntrygetLatestCheckInEntry()
    
 CheckOutEntrygetLatestCheckOutEntry()
    
 RCMLEntrygetLatestEntry()
    
 booleanisCheckedOut()
    
 booleanisCheckedOutBySession(Session session)
    
Parameters:
  session - The session.
 booleanisDirty()
    
 voidmakeBackup(long time)
     Creates a backup.
 voidpruneEntries()
     Prune the list of entries and delete the corresponding backups.
 voidrestoreBackup(Node node, long time)
     Restores a backup.

Field Detail
ci
short ci(Code)
ci Checkin



co
short co(Code)
co Checkout





Method Detail
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) throws RevisionControlException(Code)
Check the RCML out with restriction to the current session.
Parameters:
  node - The node.
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.



copyFrom
void copyFrom(Node node, Node otherNode) throws RevisionControlException(Code)

Parameters:
  node - The target node.
Parameters:
  otherNode - The source node.
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



deleteRevisions
void deleteRevisions() throws RevisionControlException(Code)
Delete all revisions.
throws:
  RevisionControlException - if an error occurs.



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



getEntries
Vector getEntries() throws RevisionControlException(Code)
get all check in and check out Vector of all check out and check in entries in this RCML-file
throws:
  RevisionControlException - if an error occurs



getLatestCheckInEntry
CheckInEntry getLatestCheckInEntry() throws RevisionControlException(Code)
get the latest check in CheckInEntry The entry of the check in
throws:
  RevisionControlException - if an error occurs



getLatestCheckOutEntry
CheckOutEntry getLatestCheckOutEntry() throws RevisionControlException(Code)
get the latest check out CheckOutEntry The entry of the check out
throws:
  RevisionControlException - if an error occurs



getLatestEntry
RCMLEntry getLatestEntry() throws RevisionControlException(Code)
get the latest entry (a check out or check in) RCMLEntry The entry of the check out/in
throws:
  RevisionControlException - if an error occurs



isCheckedOut
boolean isCheckedOut() throws RevisionControlException(Code)
if the RCML is checked out.
throws:
  RevisionControlException - if an error occurs.



isCheckedOutBySession
boolean isCheckedOutBySession(Session session) throws RevisionControlException(Code)

Parameters:
  session - The session. if the RCML is checked out by this session.
throws:
  RevisionControlException - if an error occurs.



isDirty
boolean isDirty()(Code)
Check if the document is dirty boolean dirty



makeBackup
void makeBackup(long time) throws RevisionControlException(Code)
Creates a backup.
Parameters:
  time - The time.
throws:
  RevisionControlException -



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



restoreBackup
void restoreBackup(Node node, long time) throws RevisionControlException(Code)
Restores a backup.
Parameters:
  node - The node to restore the backup to.
Parameters:
  time - The time.
throws:
  RevisionControlException -



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.