public interface VersionNumerationAdapter
| Modifier and Type | Method and Description | 
|---|---|
| String | getInitialVersionNumber()Obtain the initial version number to be set when creating a new document | 
| String | getNextVersionNumber(org.hibernate.Session session,
                    NodeDocument nDoc,
                    NodeDocumentVersion nDocVer,
                    int increment)Calculate the next version number from a given one. | 
static final String qs
String getInitialVersionNumber()
String getNextVersionNumber(org.hibernate.Session session, NodeDocument nDoc, NodeDocumentVersion nDocVer, int increment)
session - Hibernate session.nDoc - Document which will increase the revision number.nDocVer - Current document version node.Copyright © 2015. All Rights Reserved.