Class StoreMapper

java.lang.Object
org.alfresco.rest.api.search.impl.StoreMapper

public class StoreMapper extends Object
Maps to and from a StoreRef for the json public api.
Author:
Gethin James
  • Field Details

  • Constructor Details

    • StoreMapper

      public StoreMapper()
  • Method Details

    • getStoreRef

      public StoreRef getStoreRef(String store)
      Work out which StoreRef this store belongs to.
      Parameters:
      String - representing a store
      Returns:
      StoreRef
    • getStore

      public String getStore(NodeRef nodeRef)
      Work out which store this noderef belongs to.
      Parameters:
      nodeRef -
      Returns:
      String representing a store