org.alfresco.repo.domain
Interface Store

All Known Implementing Classes:
StoreImpl

public interface Store

Represents a store entity


Method Summary
 java.lang.Long getId()
           
 java.lang.String getIdentifier()
           
 java.lang.String getProtocol()
           
 Node getRootNode()
           
 StoreRef getStoreRef()
          Convenience method to access the reference
 java.lang.Long getVersion()
           
 void setIdentifier(java.lang.String identifier)
           
 void setProtocol(java.lang.String protocol)
           
 void setRootNode(Node rootNode)
           
 

Method Detail

getVersion

java.lang.Long getVersion()
Returns:
Returns the current version number used for optimistic locking

getId

java.lang.Long getId()
Returns:
Returns the unique ID of the object

getProtocol

java.lang.String getProtocol()
Returns:
the store protocol

setProtocol

void setProtocol(java.lang.String protocol)
Parameters:
protocol - the store protocol

getIdentifier

java.lang.String getIdentifier()
Returns:
the store identifier

setIdentifier

void setIdentifier(java.lang.String identifier)
Parameters:
identifier - the store identifier

getRootNode

Node getRootNode()
Returns:
Returns the root of the store

setRootNode

void setRootNode(Node rootNode)
Parameters:
rootNode - mandatory association to the root of the store

getStoreRef

StoreRef getStoreRef()
Convenience method to access the reference

Returns:
Returns the reference to the store


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.