org.gcube.contentmanager.storageclient.wrapper
Class StorageClient

java.lang.Object
  extended by org.gcube.contentmanager.storageclient.wrapper.StorageClient

public class StorageClient
extends Object


Constructor Summary
StorageClient(String owner, AccessType accessType, MemoryType memory)
          Constructor created for external use
StorageClient(String serviceClass, String serviceName, String owner, AccessType accessType)
          Constructor without optional argument created for gcube infrastructure internal use
StorageClient(String serviceClass, String serviceName, String owner, AccessType accessType, MemoryType memory)
          Constructor with optional argument memoryType
StorageClient(String serviceClass, String serviceName, String owner, AccessType accessType, MemoryType memory, String server)
          Constructor with optional arguments server and memory
StorageClient(String serviceClass, String serviceName, String owner, AccessType accessType, String scope)
          Deprecated. 
StorageClient(String serviceClass, String serviceName, String owner, AccessType accessType, String scope, MemoryType memory)
          Deprecated. 
StorageClient(String serviceClass, String serviceName, String owner, AccessType accessType, String scope, String server)
          Deprecated. 
StorageClient(String serviceClass, String serviceName, String owner, AccessType accessType, String scope, String server, MemoryType memory)
          Deprecated. 
StorageClient(String serviceClass, String serviceName, String owner, String server, AccessType accessType)
          Constructor with optional argument server
 
Method Summary
 org.gcube.contentmanagement.blobstorage.service.IClient getClient()
          Get Instance remote client - storage-manager-core
 org.gcube.contentmanagement.blobstorage.service.IClient getClientV1()
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageClient

@Deprecated
public StorageClient(String serviceClass,
                                String serviceName,
                                String owner,
                                AccessType accessType,
                                String scope)
Deprecated. 

Constructor without optional argument created for gcube infrastructure internal use

Parameters:
ServiceClass -
ServiceName -
owner -
typeAccess -
scope -

StorageClient

public StorageClient(String serviceClass,
                     String serviceName,
                     String owner,
                     AccessType accessType)
Constructor without optional argument created for gcube infrastructure internal use

Parameters:
ServiceClass -
ServiceName -
owner -
typeAccess -
scope -

StorageClient

public StorageClient(String owner,
                     AccessType accessType,
                     MemoryType memory)
Constructor created for external use

Parameters:
owner -
typeAccess -
memory - defines the kind of memory: VOLATILE or PERSISTENT
scope -

StorageClient

@Deprecated
public StorageClient(String serviceClass,
                                String serviceName,
                                String owner,
                                AccessType accessType,
                                String scope,
                                String server)
Deprecated. 

Constructor with optional argument server

Parameters:
ServiceClass -
ServiceName -
owner -
typeAccess -
scope -
server: - define the mongoDBserver

StorageClient

public StorageClient(String serviceClass,
                     String serviceName,
                     String owner,
                     String server,
                     AccessType accessType)
Constructor with optional argument server

Parameters:
ServiceClass -
ServiceName -
owner -
typeAccess -
scope -
server: - define the mongoDBserver

StorageClient

@Deprecated
public StorageClient(String serviceClass,
                                String serviceName,
                                String owner,
                                AccessType accessType,
                                String scope,
                                MemoryType memory)
Deprecated. 

Constructor with optional argument memoryType

Parameters:
ServiceClass -
ServiceName -
owner -
typeAccess -
memory - defines the kind of memory: VOLATILE or PERSISTENT
scope -

StorageClient

public StorageClient(String serviceClass,
                     String serviceName,
                     String owner,
                     AccessType accessType,
                     MemoryType memory)
Constructor with optional argument memoryType

Parameters:
ServiceClass -
ServiceName -
owner -
typeAccess -
memory - defines the kind of memory: VOLATILE or PERSISTENT
scope -

StorageClient

@Deprecated
public StorageClient(String serviceClass,
                                String serviceName,
                                String owner,
                                AccessType accessType,
                                String scope,
                                String server,
                                MemoryType memory)
Deprecated. 

Constructor with optional arguments server and memory

Parameters:
ServiceClass -
ServiceName -
owner -
typeAccess -
memory - defines the kind of memory: VOLATILE or PERSISTENT
server: - define the mongoDBserver
scope -

StorageClient

public StorageClient(String serviceClass,
                     String serviceName,
                     String owner,
                     AccessType accessType,
                     MemoryType memory,
                     String server)
Constructor with optional arguments server and memory

Parameters:
ServiceClass -
ServiceName -
owner -
typeAccess -
memory - defines the kind of memory: VOLATILE or PERSISTENT
server: - define the mongoDBserver
scope -
Method Detail

getClient

public org.gcube.contentmanagement.blobstorage.service.IClient getClient()
Get Instance remote client - storage-manager-core

Returns:
Throws:
IllegalStateException - if the resource is not founded on the IS

getClientV1

@Deprecated
public org.gcube.contentmanagement.blobstorage.service.IClient getClientV1()
                                                                    throws Exception
Deprecated. 

Throws:
Exception


Copyright © 2013. All Rights Reserved.