public class VersioningDocumentAdapter extends Object implements VersioningDocument
| Modifier and Type | Field and Description |
|---|---|
DocumentModel |
doc |
VersioningService |
service |
CURRENT_DOCUMENT_MAJOR_VERSION_KEY, CURRENT_DOCUMENT_MINOR_VERSION_KEY, RESTORED_VERSION_UUID_KEY| Constructor and Description |
|---|
VersioningDocumentAdapter(DocumentModel doc) |
| Modifier and Type | Method and Description |
|---|---|
String |
getVersionLabel()
Returns a string representation of the version number.
|
public final DocumentModel doc
public final VersioningService service
public VersioningDocumentAdapter(DocumentModel doc)
public String getVersionLabel()
VersioningDocumentgetVersionLabel in interface VersioningDocument"2.1"Copyright © 2019 Nuxeo. All rights reserved.