public class VersionUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
RESERVED_PROPERTY_NAMES
Reserved property names
|
| Constructor and Description |
|---|
VersionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkVersionPropertyNames(java.util.Collection 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(java.util.Map 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 java.lang.String[] RESERVED_PROPERTY_NAMES
public static void checkVersionPropertyNames(java.util.Collection names)
throws ReservedVersionNameException
versionProperties - the property namesReservedVersionNameExceptionpublic static org.alfresco.service.cmr.repository.StoreRef convertStoreRef(org.alfresco.service.cmr.repository.StoreRef storeRef)
store - 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(java.util.Map props)
throws org.alfresco.service.cmr.repository.InvalidNodeRefException
org.alfresco.service.cmr.repository.InvalidNodeRefExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.