public class PlainVersionNumerationAdapter extends Object implements VersionNumerationAdapter
qs| Constructor and Description |
|---|
PlainVersionNumerationAdapter() |
| 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.
|
public String getInitialVersionNumber()
VersionNumerationAdaptergetInitialVersionNumber in interface VersionNumerationAdapterpublic String getNextVersionNumber(org.hibernate.Session session, NodeDocument nDoc, NodeDocumentVersion nDocVer, int increment)
VersionNumerationAdaptergetNextVersionNumber in interface VersionNumerationAdaptersession - Hibernate session.nDoc - Document which will increase the revision number.nDocVer - Current document version node.Copyright © 2016. All rights reserved.