public class SerialVersionLabelPolicy extends Object implements VersionServicePolicies.CalculateVersionLabelPolicy
Policy.Arg| Constructor and Description |
|---|
SerialVersionLabelPolicy() |
| Modifier and Type | Method and Description |
|---|---|
String |
calculateVersionLabel(org.alfresco.service.namespace.QName classRef,
Version preceedingVersion,
int versionNumber,
Map<String,Serializable> versionProperties)
Get the version label value base on the data provided.
|
String |
calculateVersionLabel(org.alfresco.service.namespace.QName classRef,
Version preceedingVersion,
Map<String,Serializable> versionProperties)
Get the version label value base on the data provided.
|
public String calculateVersionLabel(org.alfresco.service.namespace.QName classRef, Version preceedingVersion, Map<String,Serializable> versionProperties)
classRef - QNamepreceedingVersion - the preceeding version, null if noneversionProperties - the version property valuespublic String calculateVersionLabel(org.alfresco.service.namespace.QName classRef, Version preceedingVersion, int versionNumber, Map<String,Serializable> versionProperties)
calculateVersionLabel in interface VersionServicePolicies.CalculateVersionLabelPolicypreceedingVersion - the preceeding version, null if noneversionNumber - the new version numberversionProperties - the version property valuesCopyright © 2005–2018 Alfresco Software. All rights reserved.