public final class NodeRefUtils extends Object
Modifier and Type | Field and Description |
---|---|
static int |
IDENTIFIER_LENGTH |
static String |
IDENTIFIER_SPACESSTORE |
static String |
PROTOCOL_WORKSPACE |
static String |
STORE_REF_WORKSPACE_SPACESSTORE |
static String |
URI_FILLER |
Modifier and Type | Method and Description |
---|---|
static String |
createNodeRefByIdentifier(String identifier) |
static String |
getCleanIdentifier(String nodeRef) |
static String |
getNodeIdentifier(String nodeRef)
Returns the identifier of a nodeRef(extract the version number if added
by cmis)
|
static String |
getStoreIdentifier(String nodeRef) |
static String |
getStoreProtocol(String nodeRef) |
static String |
getStoreRef(String nodeRef) |
static String |
getVersionIdentifier(String nodeRef) |
static boolean |
isIdentifier(String id) |
static boolean |
isNodeRef(String nodeRef)
Determine if passed string conforms to the pattern of a node reference
|
static boolean |
isVersionIdentifier(String id) |
public static final int IDENTIFIER_LENGTH
public static final String URI_FILLER
public static final String PROTOCOL_WORKSPACE
public static final String IDENTIFIER_SPACESSTORE
public static final String STORE_REF_WORKSPACE_SPACESSTORE
public static boolean isNodeRef(String nodeRef)
nodeRef
- the node reference as a stringpublic static String getNodeIdentifier(String nodeRef)
nodeRef
- public static boolean isIdentifier(String id)
public static boolean isVersionIdentifier(String id)
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.