org.xcmis.spi
Interface StorageProvider

All Known Implementing Classes:
BasicStorageProvider

public interface StorageProvider

Provide access to all available CMIS storages.

Version:
$Id: StorageProvider.java 316 2010-03-09 15:20:28Z andrew00x $
Author:
Andrey Parfonov

Method Summary
 Connection getConnection()
          Create new connection for user.
 String getStorageID()
          Get id of storage.
 

Method Detail

getConnection

Connection getConnection()
Create new connection for user. This method may be used for anonymous user or when environment able to determine current user. This implementation specific.

Parameters:
storageId - storage id
Returns:
connection

getStorageID

String getStorageID()
Get id of storage.

Returns:
storage id never null


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.