Package | Description |
---|---|
com.edorasware.commons.core.content |
Classes related to content management.
|
com.edorasware.commons.core.content.internal | |
com.edorasware.commons.core.content.internal.database | |
com.edorasware.commons.core.content.internal.filesystem | |
com.edorasware.commons.core.content.maintenance | |
com.edorasware.commons.core.content.support |
Support classes for content management.
|
com.edorasware.commons.core.content.support.database |
Modifier and Type | Method and Description |
---|---|
void |
ContentProvider.addContent(ContentScope contentScope,
ContentReference contentReference,
ContentMetadata contentMetadata,
org.springframework.core.io.Resource resource,
long inputStreamLength)
Add content with the specified
ContentInfo and the content itself as InputStream . |
void |
ContentProvider.deleteContent(ContentScope contentScope)
Deletes all the content of the content provider for the supplied
ContentScope . |
int |
ContentProvider.deleteContent(ContentScope contentScope,
ContentReference contentReference)
Deletes all versions of the specified
ContentReference such that the passed in ContentReference cannot be used anymore to retrieve content. |
void |
ContentProvider.deleteContent(ContentScope contentScope,
ContentReference contentReference,
String version)
Deletes a specific version of the specified
ContentReference such that the passed in ContentReference cannot be used anymore to retrieve content with that
version. |
List<ContentReference> |
ContentProvider.deleteContent(ContentScope contentScope,
String contentSourceId)
Deletes the content that is associated to the supplied ContentSourceId for the
ContentScope . |
org.springframework.core.io.Resource |
ContentProvider.getContent(ContentScope contentScope,
ContentReference contentReference)
Returns the latest version of the content within the content scope.
|
org.springframework.core.io.Resource |
ContentProvider.getContent(ContentScope contentScope,
ContentReference contentReference,
String version)
Returns the specified version of the content.
|
Optional<ContentMetadata> |
ContentProvider.getContentMetadata(ContentScope contentScope,
ContentReference contentReference)
Returns the metadata of the latest version of the content.
|
Optional<ContentMetadata> |
ContentProvider.getContentMetadata(ContentScope contentScope,
ContentReference contentReference,
String version)
Returns the metadata of the supplied version of the content.
|
Optional<ContentReference> |
ContentProvider.getContentReference(ContentScope contentScope,
String contentReferenceId)
Gets the content reference associated to the supplied ContentReferenceId for the
ContentScope . |
List<ContentReference> |
ContentProvider.getContentReferences(ContentScope contentScope,
String contentSourceId)
Gets a list of all the content references associated to the supplied ContentSourceId for the
ContentScope . |
List<String> |
ContentProvider.getContentVersions(ContentScope contentScope,
ContentReference contentReference)
Returns a list with all versions of the content of the specified
ContentReference . |
void |
ContentProvider.processContent(ContentScope contentScope,
ContentProcessor contentProcessor)
Process all content in the given provider with the processor
|
void |
ContentProvider.setContentSourceId(ContentScope contentScope,
ContentReference contentReference,
String contentSourceId)
Sets the ContentSourceId for a selected
ContentReference . |
ContentReference |
ContentProvider.updateContent(ContentScope contentScope,
ContentReference contentReference,
org.springframework.core.io.Resource resource,
long inputStreamLength,
ContentMetadata contentMetadata)
Updates the specified
ContentReference with the specified InputStream . |
ContentReference |
ContentProvider.updateContent(ContentScope contentScope,
ContentReference contentReference,
org.springframework.core.io.Resource inputStream,
long inputStreamLength,
ContentMetadata contentMetadata,
boolean overwrite)
Updates the specified
ContentReference with the specified InputStream . |
void |
ContentProvider.updateContentMetadata(ContentScope contentScope,
ContentReference contentReference,
ContentMetadata contentMetadata)
Updates the content metadata.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultContentScope
The type Content scope.
|
Modifier and Type | Method and Description |
---|---|
static ContentScope |
DefaultContentScope.get(String scope)
Returns a type-safe content scope for the specified value.
|
ContentScope |
ContentPreProcessingTaskletContext.getContentScope()
Returns the content scope of the content which is added/updated.
|
ContentScope |
DefaultContentEvent.getContentScope() |
ContentScope |
DefaultPreContentEvent.getContentScope() |
Modifier and Type | Method and Description |
---|---|
DefaultContentEvent.Builder |
DefaultContentEvent.Builder.contentScope(ContentScope contentScope)
Builder method to set the content scope.
|
DefaultPreContentEvent.Builder |
DefaultPreContentEvent.Builder.contentScope(ContentScope contentScope) |
void |
DefaultConfigurableContentManager.processContent(ContentScope contentScope,
ContentProcessor contentProcessor) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultDatabaseContentPersistence.addContent(ContentScope contentScope,
ContentReference contentReference,
org.springframework.core.io.Resource resource,
long resourceLength,
ContentMetadata contentMetadata,
boolean overwrite) |
List<ContentReference> |
DefaultDatabaseContentPersistence.deleteContent(ContentScope contentScope) |
int |
DefaultDatabaseContentPersistence.deleteContent(ContentScope contentScope,
ContentReference contentReference) |
void |
DefaultDatabaseContentPersistence.deleteContent(ContentScope contentScope,
ContentReference contentReference,
int version) |
List<ContentReference> |
DefaultDatabaseContentPersistence.deleteContent(ContentScope contentScope,
String contentSourceId) |
org.springframework.core.io.Resource |
DefaultDatabaseContentPersistence.getContent(ContentScope contentScope,
ContentReference contentReference) |
org.springframework.core.io.Resource |
DefaultDatabaseContentPersistence.getContent(ContentScope contentScope,
ContentReference contentReference,
int version) |
Optional<ContentMetadata> |
DefaultDatabaseContentPersistence.getContentMetadata(ContentScope contentScope,
ContentReference contentReference,
int version) |
Optional<ContentReference> |
DefaultDatabaseContentPersistence.getContentReference(ContentScope contentScope,
String contentReferenceId) |
List<ContentReference> |
DefaultDatabaseContentPersistence.getContentReferences(ContentScope contentScope,
int offset,
int limit) |
List<ContentReference> |
DefaultDatabaseContentPersistence.getContentReferences(ContentScope contentScope,
String contentSourceId) |
String |
DefaultDatabaseContentPersistence.getContentSourceId(ContentScope contentScope,
ContentReference contentReference,
int version) |
List<String> |
DefaultDatabaseContentPersistence.getContentVersions(ContentScope contentScope,
ContentReference contentReference) |
int |
DefaultDatabaseContentPersistence.getLatestVersion(ContentScope contentScope,
ContentReference contentReference) |
int |
DefaultDatabaseContentPersistence.getLatestVersionForUpdate(ContentScope contentScope,
ContentReference contentReference) |
void |
DatabaseContentProvider.processContent(ContentScope contentScope,
ContentProcessor contentProcessor) |
void |
DefaultDatabaseContentPersistence.updateContentMetadata(ContentScope contentScope,
ContentReference contentReference,
int version,
ContentMetadata contentMetadata) |
void |
DefaultDatabaseContentPersistence.updateContentSourceId(ContentScope contentScope,
ContentReference contentReference,
String contentSourceId) |
Modifier and Type | Method and Description |
---|---|
void |
FilesystemContentProvider.processContent(ContentScope contentScope,
ContentProcessor contentProcessor) |
Modifier and Type | Method and Description |
---|---|
ContentScope |
ContentProcessorContext.getContentScope() |
Modifier and Type | Method and Description |
---|---|
ContentProcessorContext.Builder |
ContentProcessorContext.Builder.contentScope(ContentScope contentScope) |
Modifier and Type | Method and Description |
---|---|
ContentScope |
ContentEvent.getContentScope()
Gets the content scope from the content involved in the event.
|
ContentScope |
PreContentEvent.getContentScope()
Gets the content scope from the content involved in the event.
|
Modifier and Type | Method and Description |
---|---|
void |
BaseConfigurableContentProvider.addContent(ContentScope contentScope,
ContentReference contentReference,
ContentMetadata contentMetadata,
org.springframework.core.io.Resource resource,
long resourceLength) |
void |
BaseConfigurableContentProvider.deleteContent(ContentScope contentScope) |
int |
BaseConfigurableContentProvider.deleteContent(ContentScope contentScope,
ContentReference contentReference) |
void |
BaseConfigurableContentProvider.deleteContent(ContentScope contentScope,
ContentReference contentReference,
String version) |
List<ContentReference> |
BaseConfigurableContentProvider.deleteContent(ContentScope contentScope,
String contentSourceId) |
org.springframework.core.io.Resource |
BaseConfigurableContentProvider.getContent(ContentScope contentScope,
ContentReference contentReference) |
org.springframework.core.io.Resource |
BaseConfigurableContentProvider.getContent(ContentScope contentScope,
ContentReference contentReference,
String version) |
Optional<ContentMetadata> |
BaseConfigurableContentProvider.getContentMetadata(ContentScope contentScope,
ContentReference contentReference) |
Optional<ContentMetadata> |
BaseConfigurableContentProvider.getContentMetadata(ContentScope contentScope,
ContentReference contentReference,
String version) |
Optional<ContentReference> |
BaseConfigurableContentProvider.getContentReference(ContentScope contentScope,
String contentReferenceId) |
List<ContentReference> |
BaseConfigurableContentProvider.getContentReferences(ContentScope contentScope,
String contentSourceId) |
List<String> |
BaseConfigurableContentProvider.getContentVersions(ContentScope contentScope,
ContentReference contentReference) |
void |
ConfigurableContentManager.processContent(ContentScope contentScope,
ContentProcessor contentProcessor)
Process all content with the given content processor
|
void |
BaseConfigurableContentProvider.setContentSourceId(ContentScope contentScope,
ContentReference contentReference,
String contentSourceId) |
ContentReference |
BaseConfigurableContentProvider.updateContent(ContentScope contentScope,
ContentReference contentReference,
org.springframework.core.io.Resource resource,
long resourceLength,
ContentMetadata contentMetadata) |
ContentReference |
BaseConfigurableContentProvider.updateContent(ContentScope contentScope,
ContentReference contentReference,
org.springframework.core.io.Resource resource,
long resourceLength,
ContentMetadata contentMetadata,
boolean overwrite) |
void |
BaseConfigurableContentProvider.updateContentMetadata(ContentScope contentScope,
ContentReference contentReference,
ContentMetadata contentMetadata) |
Modifier and Type | Method and Description |
---|---|
void |
DatabaseContentPersistence.addContent(ContentScope contentScope,
ContentReference contentReference,
org.springframework.core.io.Resource resource,
long resourceLength,
ContentMetadata contentMetadata,
boolean overwrite)
Add content with the specified
ContentReference and the content itself as InputStream . |
List<ContentReference> |
DatabaseContentPersistence.deleteContent(ContentScope contentScope)
Deletes all the content of the content provider for the supplied
ContentScope . |
int |
DatabaseContentPersistence.deleteContent(ContentScope contentScope,
ContentReference contentReference)
Deletes all versions of the specified
ContentReference such that the passed in ContentReference cannot be used anymore to retrieve content. |
void |
DatabaseContentPersistence.deleteContent(ContentScope contentScope,
ContentReference contentReference,
int version)
Deletes a specific version of the specified
ContentReference such that the passed in ContentReference cannot be used anymore to retrieve content with that
version. |
List<ContentReference> |
DatabaseContentPersistence.deleteContent(ContentScope contentScope,
String contentSourceId)
Deletes the content that is associated to the supplied ContentSourceId for the
ContentScope . |
org.springframework.core.io.Resource |
DatabaseContentPersistence.getContent(ContentScope contentScope,
ContentReference contentReference)
Returns the latest version of the content.
|
org.springframework.core.io.Resource |
DatabaseContentPersistence.getContent(ContentScope contentScope,
ContentReference contentReference,
int version)
Returns the specified version of the content.
|
Optional<ContentMetadata> |
DatabaseContentPersistence.getContentMetadata(ContentScope contentScope,
ContentReference contentReference,
int version)
Returns the metadata of the content.
|
Optional<ContentReference> |
DatabaseContentPersistence.getContentReference(ContentScope contentScope,
String contentReferenceId)
Gets the content references associated to the supplied ContentReferenceId for the
ContentScope . |
List<ContentReference> |
DatabaseContentPersistence.getContentReferences(ContentScope contentScope,
int offset,
int limit)
Gets a list of all the content references extended with the content reference scope.
|
List<ContentReference> |
DatabaseContentPersistence.getContentReferences(ContentScope contentScope,
String contentSourceId)
Gets a list of all the content references associated to the supplied ContentSourceId for the
ContentScope . |
String |
DatabaseContentPersistence.getContentSourceId(ContentScope contentScope,
ContentReference contentReference,
int version)
Returns the content source id of a version of the content.
|
List<String> |
DatabaseContentPersistence.getContentVersions(ContentScope contentScope,
ContentReference contentReference)
Returns a list with all versions of the content of the specified
ContentReference . |
int |
DatabaseContentPersistence.getLatestVersion(ContentScope contentScope,
ContentReference contentReference)
Returns the latest content version for the specified
ContentReference without locking. |
int |
DatabaseContentPersistence.getLatestVersionForUpdate(ContentScope contentScope,
ContentReference contentReference)
Returns the latest content version for the specified
ContentReference and locks them on the database for pessimistic locking when using the DatabaseContentPersistence.addContent(ContentScope, ContentReference, Resource, long, ContentMetadata, boolean) method. |
void |
DatabaseContentPersistence.updateContentMetadata(ContentScope contentScope,
ContentReference contentReference,
int version,
ContentMetadata contentMetadata)
Updates the content metadata.
|
void |
DatabaseContentPersistence.updateContentSourceId(ContentScope contentScope,
ContentReference contentReference,
String contentSourceId)
Updates the content metadata.
|
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.