Class StoreMapper


  • public class StoreMapper
    extends java.lang.Object
    Maps to and from a StoreRef for the json public api.
    Author:
    Gethin James
    • Constructor Summary

      Constructors 
      Constructor Description
      StoreMapper()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getStore​(org.alfresco.service.cmr.repository.NodeRef nodeRef)
      Work out which store this noderef belongs to.
      org.alfresco.service.cmr.repository.StoreRef getStoreRef​(java.lang.String store)
      Work out which StoreRef this store belongs to.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • STORE_REF_VERSION2_SPACESSTORE

        public static final org.alfresco.service.cmr.repository.StoreRef STORE_REF_VERSION2_SPACESSTORE
      • STORE_REF_HISTORY

        public static final org.alfresco.service.cmr.repository.StoreRef STORE_REF_HISTORY
    • Constructor Detail

      • StoreMapper

        public StoreMapper()
    • Method Detail

      • getStoreRef

        public org.alfresco.service.cmr.repository.StoreRef getStoreRef​(java.lang.String store)
        Work out which StoreRef this store belongs to.
        Parameters:
        String - representing a store
        Returns:
        StoreRef
      • getStore

        public java.lang.String getStore​(org.alfresco.service.cmr.repository.NodeRef nodeRef)
        Work out which store this noderef belongs to.
        Parameters:
        nodeRef -
        Returns:
        String representing a store