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 Summary
Fields Modifier and Type Field Description static String
DELETED
static String
HISTORY
static String
LIVE_NODES
static org.alfresco.service.cmr.repository.StoreRef
STORE_REF_HISTORY
static org.alfresco.service.cmr.repository.StoreRef
STORE_REF_VERSION2_SPACESSTORE
static String
VERSIONS
-
Constructor Summary
Constructors Constructor Description StoreMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getStore(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Work out which store this noderef belongs to.org.alfresco.service.cmr.repository.StoreRef
getStoreRef(String store)
Work out which StoreRef this store belongs to.
-
-
-
Field Detail
-
LIVE_NODES
public static final String LIVE_NODES
- See Also:
- Constant Field Values
-
VERSIONS
public static final String VERSIONS
- See Also:
- Constant Field Values
-
DELETED
public static final String DELETED
- See Also:
- Constant Field Values
-
HISTORY
public static final String HISTORY
- See Also:
- Constant Field Values
-
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
-
-
Method Detail
-
getStoreRef
public org.alfresco.service.cmr.repository.StoreRef getStoreRef(String store)
Work out which StoreRef this store belongs to.- Parameters:
String
- representing a store- Returns:
- StoreRef
-
getStore
public String getStore(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Work out which store this noderef belongs to.- Parameters:
nodeRef
-- Returns:
- String representing a store
-
-