@AlfrescoPublicApi public final class StoreRef extends Object implements EntityRef, Serializable
Modifier and Type | Field and Description |
---|---|
static String |
PROTOCOL_ARCHIVE |
static String |
PROTOCOL_AVM |
static String |
PROTOCOL_DELETED |
static String |
PROTOCOL_TEST |
static String |
PROTOCOL_WORKSPACE |
static StoreRef |
STORE_REF_ARCHIVE_SPACESSTORE |
static StoreRef |
STORE_REF_WORKSPACE_SPACESSTORE |
static String |
URI_FILLER |
Constructor and Description |
---|
StoreRef(String string) |
StoreRef(String protocol,
String identifier) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getIdentifier() |
String |
getProtocol() |
int |
hashCode()
Creates a hashcode from both the
getProtocol() and getIdentifier() |
String |
toString() |
public static final String PROTOCOL_WORKSPACE
public static final String PROTOCOL_ARCHIVE
public static final String PROTOCOL_AVM
public static final String PROTOCOL_TEST
public static final String PROTOCOL_DELETED
public static final StoreRef STORE_REF_WORKSPACE_SPACESSTORE
public static final StoreRef STORE_REF_ARCHIVE_SPACESSTORE
public static final String URI_FILLER
public StoreRef(String protocol, String identifier)
protocol
- well-known protocol for the store, e.g. workspace or
versionstoreidentifier
- the identifier, which may be specific to the protocolpublic StoreRef(String string)
public int hashCode()
getProtocol()
and getIdentifier()
public String getProtocol()
public String getIdentifier()
Copyright © 2005–2016 Alfresco Software. All rights reserved.