Class VersionUtil


  • public class VersionUtil
    extends Object
    Helper class containing helper methods for the versioning services.
    Author:
    Roy Wetherall
    • Field Detail

      • RESERVED_PROPERTY_NAMES

        public static final String[] RESERVED_PROPERTY_NAMES
        Reserved property names
    • Constructor Detail

      • VersionUtil

        public VersionUtil()
    • Method Detail

      • convertStoreRef

        public static StoreRef convertStoreRef​(StoreRef storeRef)
        Create Version Store Ref
        Parameters:
        storeRef - ref
        Returns:
        store ref for version store
      • convertNodeRef

        public static NodeRef convertNodeRef​(NodeRef nodeRef)
        Convert the incomming node ref (with the version store protocol specified) to the internal representation with the workspace protocol.
        Parameters:
        nodeRef - the incomming verison protocol node reference
        Returns:
        the internal version node reference