|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.version.common.VersionUtil
public class VersionUtil
Helper class containing helper methods for the versioning services.
| Field Summary | |
|---|---|
static java.lang.String[] |
RESERVED_PROPERTY_NAMES
Reserved property names |
| Constructor Summary | |
|---|---|
VersionUtil()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String[] RESERVED_PROPERTY_NAMES
| Constructor Detail |
|---|
public VersionUtil()
| Method Detail |
|---|
public static void checkVersionPropertyNames(java.util.Collection names)
throws ReservedVersionNameException
versionProperties - the property names
ReservedVersionNameExceptionpublic static org.alfresco.service.cmr.repository.StoreRef convertStoreRef(org.alfresco.service.cmr.repository.StoreRef storeRef)
store - ref
public static org.alfresco.service.cmr.repository.NodeRef convertNodeRef(org.alfresco.service.cmr.repository.NodeRef nodeRef)
nodeRef - the incomming verison protocol node reference
public static void convertFrozenToOriginalProps(java.util.Map props)
throws org.alfresco.service.cmr.repository.InvalidNodeRefException
org.alfresco.service.cmr.repository.InvalidNodeRefException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||