Package | Description |
---|---|
org.duracloud.client | |
org.duracloud.client.impl | |
org.duracloud.error |
Modifier and Type | Method and Description |
---|---|
String |
ContentStoreImpl.addContent(String spaceId,
String contentId,
InputStream content,
long contentSize,
String contentMimeType,
String contentChecksum,
Map<String,String> contentProperties)
Adds content to a space.
|
String |
ContentStore.addContent(String spaceId,
String contentId,
InputStream content,
long contentSize,
String contentMimeType,
String contentChecksum,
Map<String,String> contentProperties)
Adds content to a space.
|
String |
ContentStoreImpl.copyContent(String srcSpaceId,
String srcContentId,
String destSpaceId,
String destContentId)
This method copies the content item found in source-space with the id of
source-content-id into the dest-space, naming it to dest-content-id.
|
String |
ContentStore.copyContent(String srcSpaceId,
String srcContentId,
String destSpaceId,
String destContentId)
This method copies the content item found in source-space with the id of
source-content-id into the dest-space, naming it to dest-content-id.
|
String |
ContentStoreImpl.copyContent(String srcSpaceId,
String srcContentId,
String destStoreId,
String destSpaceId,
String destContentId)
This method provides a way to copy a content item to another content provider.
|
String |
ContentStore.copyContent(String srcSpaceId,
String srcContentId,
String destStoreId,
String destSpaceId,
String destContentId)
This method provides a way to copy a content item to another content provider.
|
void |
ContentStoreImpl.createSpace(String spaceId)
Creates a new space.
|
void |
ContentStore.createSpace(String spaceId)
Creates a new space.
|
void |
ContentStoreImpl.deleteContent(String spaceId,
String contentId)
Removes content from a space.
|
void |
ContentStore.deleteContent(String spaceId,
String contentId)
Removes content from a space.
|
void |
ContentStoreImpl.deleteSpace(String spaceId)
Deletes a space.
|
void |
ContentStore.deleteSpace(String spaceId)
Deletes a space.
|
protected abstract T |
StoreCaller.doCall() |
protected <T> T |
ContentStoreImpl.execute(ContentStoreImpl.Retryable retryable)
Provides a way to execute a variety of methods and allow a retry to
occur on method failure.
|
Content |
ContentStoreImpl.getContent(String spaceId,
String contentId)
Gets content from a space.
|
Content |
ContentStore.getContent(String spaceId,
String contentId)
Gets content from a space.
|
Map<String,String> |
ContentStoreImpl.getContentProperties(String spaceId,
String contentId)
Retrieves the properties associated with content.
|
Map<String,String> |
ContentStore.getContentProperties(String spaceId,
String contentId)
Retrieves the properties associated with content.
|
ContentStore |
ContentStoreManagerImpl.getContentStore(String storeID)
Gets a specific content store based on ID.
|
ContentStore |
ContentStoreManager.getContentStore(String storeID)
Gets a specific content store based on ID.
|
ContentStore |
ContentStoreManagerImpl.getContentStore(String storeID,
int maxRetries)
Gets a specific content store based on ID.
|
ContentStore |
ContentStoreManager.getContentStore(String storeID,
int maxRetries)
Gets a specific content store based on ID.
|
Map<String,ContentStore> |
ContentStoreManagerImpl.getContentStores()
Gets all available content stores.
|
Map<String,ContentStore> |
ContentStoreManager.getContentStores()
Gets all available content stores.
|
Map<String,ContentStore> |
ContentStoreManagerImpl.getContentStores(int maxRetries)
Gets all available content stores.
|
Map<String,ContentStore> |
ContentStoreManager.getContentStores(int maxRetries)
Gets all available content stores.
|
ContentStore |
ContentStoreManagerImpl.getPrimaryContentStore()
Gets the primary content store.
|
ContentStore |
ContentStoreManager.getPrimaryContentStore()
Gets the primary content store.
|
ContentStore |
ContentStoreManagerImpl.getPrimaryContentStore(int maxRetries)
Gets the primary content store.
|
ContentStore |
ContentStoreManager.getPrimaryContentStore(int maxRetries)
Gets the primary content store.
|
ContentStore |
ContentStoreManagerImpl.getPrimaryContentStoreAsAnonymous()
Provides access to the primary content store without requiring login().
|
ContentStore |
ContentStoreManager.getPrimaryContentStoreAsAnonymous()
Provides access to the primary content store without requiring login().
|
ContentStore |
ContentStoreManagerImpl.getPrimaryContentStoreAsAnonymous(int maxRetries)
Provides access to the primary content store without requiring login().
|
ContentStore |
ContentStoreManager.getPrimaryContentStoreAsAnonymous(int maxRetries)
Provides access to the primary content store without requiring login().
|
Space |
ContentStoreImpl.getSpace(String spaceId,
String prefix,
long maxResults,
String marker)
Provides a space, including the id and properties of the space as well as
a limited list of the content items within a space.
|
Space |
ContentStore.getSpace(String spaceId,
String prefix,
long maxResults,
String marker)
Provides a space, including the id and properties of the space as well as
a limited list of the content items within a space.
|
Map<String,org.duracloud.common.model.AclType> |
ContentStoreImpl.getSpaceACLs(String spaceId)
Retrieves the ACLs associated with a space.
|
Map<String,org.duracloud.common.model.AclType> |
ContentStore.getSpaceACLs(String spaceId)
Retrieves the ACLs associated with a space.
|
Iterator<String> |
ContentStoreImpl.getSpaceContents(String spaceId)
Retrieves the complete list of content items within a space.
|
Iterator<String> |
ContentStore.getSpaceContents(String spaceId)
Retrieves the complete list of content items within a space.
|
Iterator<String> |
ContentStoreImpl.getSpaceContents(String spaceId,
String prefix)
Retrieves the complete list of content items within a space.
|
Iterator<String> |
ContentStore.getSpaceContents(String spaceId,
String prefix)
Retrieves the complete list of content items within a space.
|
Map<String,String> |
ContentStoreImpl.getSpaceProperties(String spaceId)
Retrieves the properties associated with a space.
|
Map<String,String> |
ContentStore.getSpaceProperties(String spaceId)
Retrieves the properties associated with a space.
|
List<String> |
ContentStoreImpl.getSpaces()
Provides a listing of all spaces IDs.
|
List<String> |
ContentStore.getSpaces()
Provides a listing of all spaces IDs.
|
List<String> |
ContentStoreImpl.getSupportedTasks()
Gets a listing of the supported tasks.
|
List<String> |
ContentStore.getSupportedTasks()
Gets a listing of the supported tasks.
|
String |
ContentStoreImpl.moveContent(String srcSpaceId,
String srcContentId,
String destSpaceId,
String destContentId)
This method moves the content item found in source-space with the id of
source-content-id into the dest-space, naming it to dest-content-id.
|
String |
ContentStore.moveContent(String srcSpaceId,
String srcContentId,
String destSpaceId,
String destContentId)
This method moves the content item found in source-space with the id of
source-content-id into the dest-space, naming it to dest-content-id.
|
String |
ContentStoreImpl.moveContent(String srcSpaceId,
String srcContentId,
String destStoreId,
String destSpaceId,
String destContentId)
This method moves the content item found in source-space with the id of
source-content-id into the dest-space, naming it to dest-content-id.
|
String |
ContentStore.moveContent(String srcSpaceId,
String srcContentId,
String destStoreId,
String destSpaceId,
String destContentId)
This method moves the content item found in source-space with the id of
source-content-id into the dest-space, naming it to dest-content-id.
|
String |
ContentStoreImpl.performTask(String taskName,
String taskParameters)
Perform a task which is outside of the standard set of storage activites
but is available through one or more storage providers.
|
String |
ContentStore.performTask(String taskName,
String taskParameters)
Perform a task which is outside of the standard set of storage activites
but is available through one or more storage providers.
|
void |
ContentStoreManagerImpl.reinitialize(String host,
String port,
String context) |
void |
ContentStoreManager.reinitialize(String host,
String port,
String context)
reconfigure
|
Object |
ContentStoreImpl.Retryable.retry() |
void |
ContentStoreImpl.setContentProperties(String spaceId,
String contentId,
Map<String,String> contentProperties)
Sets the properties associated with content.
|
void |
ContentStore.setContentProperties(String spaceId,
String contentId,
Map<String,String> contentProperties)
Sets the properties associated with content.
|
void |
ContentStoreImpl.setSpaceACLs(String spaceId,
Map<String,org.duracloud.common.model.AclType> spaceACLs)
Sets the ACLs associated with a space.
|
void |
ContentStore.setSpaceACLs(String spaceId,
Map<String,org.duracloud.common.model.AclType> spaceACLs)
Sets the ACLs associated with a space.
|
Constructor and Description |
---|
ContentIterator(ContentStore store,
String spaceId,
String prefix) |
ContentIterator(ContentStore store,
String spaceId,
String prefix,
long maxResults) |
Modifier and Type | Method and Description |
---|---|
Map<String,ContentStore> |
CachingContentStoreManagerImpl.getContentStores() |
ContentStore |
CachingContentStoreManagerImpl.getPrimaryContentStore() |
List<String> |
CachingContentStoreImpl.getSpaces() |
Modifier and Type | Class and Description |
---|---|
class |
ContentStateException
Exception thrown when a requested content item does not have the proper
state to allow for the requested action.
|
class |
InvalidIdException
Exception thrown when a space or content ID is invalid.
|
class |
NotFoundException
Exception thrown when a requested space or content item does not exist.
|
class |
UnauthorizedException
Exception thrown when a request is not accepted because the caller is not
authorized to perform the function
|
class |
UnsupportedTaskException |
Copyright © 2009–2014 DuraSpace. All rights reserved.