Modifier and Type | Method and Description |
---|---|
protected void |
AuditLogReaderImpl.writeToOutputStream(String auditSpaceId,
StorageProvider storageProvider,
PipedOutputStream os,
int count,
String contentId) |
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.
|
boolean |
ContentStoreImpl.contentExists(String spaceId,
String contentId)
Determines if a content item exists in a given space
|
boolean |
ContentStore.contentExists(String spaceId,
String contentId)
Determines if a content item exists in a given 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(Retriable retriable) |
InputStream |
ContentStoreImpl.getAuditLog(String spaceId) |
InputStream |
ContentStore.getAuditLog(String spaceId)
Gets an audit log for the specific space if one exists.
|
BitIntegrityReport |
ContentStoreImpl.getBitIntegrityReport(String spaceId) |
BitIntegrityReport |
ContentStore.getBitIntegrityReport(String spaceId)
Returns the most recent bit integrity report.
|
BitIntegrityReportProperties |
ContentStoreImpl.getBitIntegrityReportProperties(String spaceId) |
BitIntegrityReportProperties |
ContentStore.getBitIntegrityReportProperties(String spaceId)
Returns the properties associated with the most recent bit integrity report.
|
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.
|
InputStream |
ContentStoreImpl.getManifest(String spaceId,
ManifestFormat format) |
InputStream |
ContentStore.getManifest(String spaceId,
ManifestFormat format)
Gets a manifest for the specific space if one exists.
|
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,AclType> |
ContentStoreImpl.getSpaceACLs(String spaceId)
Retrieves the ACLs associated with a space.
|
Map<String,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
|
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,AclType> spaceACLs)
Sets the ACLs associated with a space.
|
void |
ContentStore.setSpaceACLs(String spaceId,
Map<String,AclType> spaceACLs)
Sets the ACLs associated with a space.
|
boolean |
ContentStoreImpl.spaceExists(String spaceId)
Determines if a space exists
|
boolean |
ContentStore.spaceExists(String spaceId)
Determines if a space exists
|
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 | Method and Description |
---|---|
CleanupSnapshotTaskResult |
SnapshotTaskClientImpl.cleanupSnapshot(String spaceId)
Cleans up content that is no longer needed now that the snapshot
has been transferred successfully.
|
CleanupSnapshotTaskResult |
SnapshotTaskClient.cleanupSnapshot(String spaceId)
Cleans up content that is no longer needed now that the snapshot
has been transferred successfully.
|
CompleteSnapshotTaskResult |
SnapshotTaskClientImpl.completeSnapshot(String spaceId)
Completes the snapshot.
|
CompleteSnapshotTaskResult |
SnapshotTaskClient.completeSnapshot(String spaceId)
Completes the snapshot.
|
CreateSnapshotTaskResult |
SnapshotTaskClientImpl.createSnapshot(String spaceId,
String description,
String userEmail)
Begins the process of creating a snapshot by collecting the necessary
information and passing it down to the snapshot bridge application.
|
CreateSnapshotTaskResult |
SnapshotTaskClient.createSnapshot(String spaceId,
String description,
String userEmail)
Begins the process of creating a snapshot by collecting the necessary
information and passing it down to the snapshot bridge application.
|
SnapshotTaskClient |
SnapshotTaskClientManager.get(String storeId) |
GetRestoreTaskResult |
SnapshotTaskClientImpl.getRestore(String restoreId)
Gets the status and details of a snapshot restore action based on the
ID of the restore.
|
GetRestoreTaskResult |
SnapshotTaskClient.getRestore(String restoreId)
Gets the status and details of a snapshot restore action based on the
ID of the restore.
|
GetRestoreTaskResult |
SnapshotTaskClientImpl.getRestoreBySnapshot(String snapshotId)
Gets the status and details of a snapshot restore action based on the
ID of the original snapshot.
|
GetRestoreTaskResult |
SnapshotTaskClient.getRestoreBySnapshot(String snapshotId)
Gets the status and details of a snapshot restore action based on the
ID of the original snapshot.
|
GetSnapshotTaskResult |
SnapshotTaskClientImpl.getSnapshot(String snapshotId)
Gets the status and details of a snapshot action.
|
GetSnapshotTaskResult |
SnapshotTaskClient.getSnapshot(String snapshotId)
Gets the status and details of a snapshot action.
|
GetSnapshotContentsTaskResult |
SnapshotTaskClientImpl.getSnapshotContents(String snapshotId,
int pageNumber,
int pageSize,
String prefix)
Gets the list of content items that are contained in the snapshot.
|
GetSnapshotContentsTaskResult |
SnapshotTaskClient.getSnapshotContents(String snapshotId,
int pageNumber,
int pageSize,
String prefix)
Gets the list of content items that are contained in the snapshot.
|
GetSnapshotListTaskResult |
SnapshotTaskClientImpl.getSnapshots()
Gets a listing of snapshots which are accessible to this account
|
GetSnapshotListTaskResult |
SnapshotTaskClient.getSnapshots()
Gets a listing of snapshots which are accessible to this account
|
RestoreSnapshotTaskResult |
SnapshotTaskClientImpl.restoreSnapshot(String snapshotId,
String userEmail)
Begins the process of restoring a snapshot by creating a landing space and
informing the snapshot bridge application that a restore action needs to be
performed.
|
RestoreSnapshotTaskResult |
SnapshotTaskClient.restoreSnapshot(String snapshotId,
String userEmail)
Begins the process of restoring a snapshot by creating a landing space and
informing the snapshot bridge application that a restore action needs to be
performed.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
StorageReportResource.getLatestStorageReport()
Provides the xml stream of the lastest storage report or null if no
reports exist.
|
InputStream |
StorageReportResource.getStorageReport(String reportId)
Provides the xml stream of the specified storage report or null if the
report does not exist.
|
String |
StorageReportResource.getStorageReportList()
Provides the xml stream of the list of storage reports, the list may
be empty
|
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.ModelAndView |
ServiceReportController.getInfo(String storeId,
String spaceId) |
org.springframework.web.servlet.ModelAndView |
ServiceReportController.getReportAsHtmlTable(javax.servlet.http.HttpServletResponse response,
String storeId,
String spaceId) |
Modifier and Type | Method and Description |
---|---|
protected ContentStore |
ContentItemController.getContentStore(ContentItem contentItem) |
protected ContentStore |
SpaceController.getContentStore(Space space) |
protected ContentStore |
SpaceAclController.getContentStore(Space space) |
protected SnapshotTaskClient |
SnapshotController.getTaskClient(String storeId) |
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
PropertiesUtils.getProperties(ContentStore contentStore,
String spaceId,
String contentId) |
static void |
SpaceUtil.populateContentItem(String duradminBaseURL,
ContentItem contentItem,
String spaceId,
String contentId,
ContentStore store,
org.springframework.security.core.Authentication authentication) |
static Space |
SpaceUtil.populateSpace(Space space,
Space cloudSpace,
ContentStore contentStore,
org.springframework.security.core.Authentication authentication) |
static AclType |
SpaceUtil.resolveCallerAcl(String spaceId,
ContentStore store,
Map<String,AclType> acls,
org.springframework.security.core.Authentication authentication) |
static AclType |
SpaceUtil.resolveCallerAcl(String spaceId,
ContentStore store,
Map<String,AclType> acls,
org.springframework.security.core.Authentication authentication,
Boolean snapshotInProgress) |
static void |
PropertiesUtils.setProperties(ContentStore contentStore,
String spaceId,
String contentId,
Map<String,String> properties) |
static void |
SpaceUtil.streamContent(ContentStore store,
javax.servlet.http.HttpServletResponse response,
String spaceId,
String contentId) |
static void |
SpaceUtil.streamToResponse(InputStream is,
javax.servlet.http.HttpServletResponse response,
String mimetype,
String contentLength) |
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 |
Modifier and Type | Method and Description |
---|---|
StorageReport |
StorageReportHandler.getLatestStorageReport()
Returns the latest storage report or null if no reports exist
|
InputStream |
StorageReportHandler.getLatestStorageReportStream()
Returns the latest storage report stream or null if no reports exist
|
StorageReport |
StorageReportHandler.getStorageReport(String reportId)
Returns a specific storage report or null if the report does not exist.
|
StorageReportList |
StorageReportHandler.getStorageReportList()
Retrieve a sorted list of all storage reports in XML format.
|
InputStream |
StorageReportHandler.getStorageReportStream(String reportId)
Returns a specific storage report stream or null if the report does
not exist.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DuraStoreSyncEndpoint.addUpdateContent(String contentId,
MonitoredFile syncFile) |
void |
SyncEndpoint.deleteContent(String spaceId,
String contentId)
Removes content from the endpoint.
|
void |
DuraStoreSyncEndpoint.deleteContent(String spaceId,
String contentId) |
void |
DuraStoreChunkSyncEndpoint.deleteContent(String spaceId,
String contentId) |
protected void |
DuraStoreSyncEndpoint.doAddContent(MonitoredFile syncFile,
String contentId,
String absPath) |
Modifier and Type | Method and Description |
---|---|
ContentStoreManager |
ContentStoreManagerFactoryImpl.create() |
ContentStoreManager |
ContentStoreManagerFactory.create() |
ContentStore |
ContentStoreFactory.create(DuracloudCredentialsForm dcf) |
ContentStore |
ContentStoreFactory.create(DuracloudCredentialsForm dcf,
boolean retry) |
Copyright © 2009–2014 DuraSpace. All rights reserved.