Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.service.cmr.repository
Class StoreRef
java.lang.Object
  org.alfresco.service.cmr.repository.StoreRef
All Implemented Interfaces:
EntityRef, Serializable

@org.alfresco.api.AlfrescoPublicApi
public final class StoreRef
extends Object
implements EntityRef, Serializable
Reference to a node store
Author:
Derek Hulley
See Also:
Serialized Form

Field Summary
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 Summary
StoreRef(String string)
StoreRef(String protocol, String identifier)
Method Summary
boolean
equals(Object obj)
getIdentifier()
getProtocol()
int
hashCode()
          Creates a hashcode from both the getProtocol() and getIdentifier()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Field Detail
PROTOCOL_ARCHIVE
public static final String PROTOCOL_ARCHIVE
See Also:
Constant Field Values

PROTOCOL_AVM
public static final String PROTOCOL_AVM
See Also:
Constant Field Values

PROTOCOL_DELETED
public static final String PROTOCOL_DELETED
See Also:
Constant Field Values

PROTOCOL_TEST
public static final String PROTOCOL_TEST
See Also:
Constant Field Values

PROTOCOL_WORKSPACE
public static final String PROTOCOL_WORKSPACE
See Also:
Constant Field Values

STORE_REF_ARCHIVE_SPACESSTORE
public static final StoreRef STORE_REF_ARCHIVE_SPACESSTORE

STORE_REF_WORKSPACE_SPACESSTORE
public static final StoreRef STORE_REF_WORKSPACE_SPACESSTORE

URI_FILLER
public static final String URI_FILLER
See Also:
Constant Field Values
Constructor Detail
StoreRef
public StoreRef(String protocol,
                String identifier)
Parameters:
protocol - well-known protocol for the store, e.g. workspace or versionstore
identifier - the identifier, which may be specific to the protocol

StoreRef
public StoreRef(String string)
Method Detail
toString
public String toString()
Overrides:
toString in class Object

equals
public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode
public int hashCode()
Creates a hashcode from both the getProtocol() and getIdentifier()
Overrides:
hashCode in class Object

getProtocol
public String getProtocol()

getIdentifier
public String getIdentifier()

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.