public class VersionUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String[] |
RESERVED_PROPERTY_NAMES
Reserved property names
|
| Constructor and Description |
|---|
VersionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkVersionPropertyNames(Collection<String> names)
Checks that the names of the additional version properties are valid and that they do not clash
with the reserved properties.
|
static void |
convertFrozenToOriginalProps(Map<org.alfresco.service.namespace.QName,Serializable> props) |
static org.alfresco.service.cmr.repository.NodeRef |
convertNodeRef(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Convert the incomming node ref (with the version store protocol specified)
to the internal representation with the workspace protocol.
|
static org.alfresco.service.cmr.repository.StoreRef |
convertStoreRef(org.alfresco.service.cmr.repository.StoreRef storeRef)
Create Version Store Ref
|
public static final String[] RESERVED_PROPERTY_NAMES
public static void checkVersionPropertyNames(Collection<String> names) throws ReservedVersionNameException
names - the property namesReservedVersionNameExceptionpublic static org.alfresco.service.cmr.repository.StoreRef convertStoreRef(org.alfresco.service.cmr.repository.StoreRef storeRef)
storeRef - refpublic static org.alfresco.service.cmr.repository.NodeRef convertNodeRef(org.alfresco.service.cmr.repository.NodeRef nodeRef)
nodeRef - the incomming verison protocol node referencepublic static void convertFrozenToOriginalProps(Map<org.alfresco.service.namespace.QName,Serializable> props) throws org.alfresco.service.cmr.repository.InvalidNodeRefException
org.alfresco.service.cmr.repository.InvalidNodeRefExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.