Package | Description |
---|---|
com.edorasware.cloud.core.conversion | |
com.edorasware.cloud.core.conversion.internal | |
com.edorasware.cloud.core.util | |
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.variable | |
com.edorasware.commons.core.content.maintenance | |
com.edorasware.commons.core.content.support |
Support classes for content management.
|
com.edorasware.commons.core.content.support.database | |
com.edorasware.one.content | |
com.edorasware.one.util |
Modifier and Type | Method and Description |
---|---|
ContentReference |
DocumentContentConverterService.getConvertedContentReference(String documentId)
Returns converted
ContentReference for the given document work object reference |
Modifier and Type | Method and Description |
---|---|
Pair<ContentMetadata,Path> |
DocumentContentConverter.convertContent(ContentReference contentReference,
ContentMetadata contentMetadata,
InputStream sourceContent)
Returns converted document content.
|
Modifier and Type | Method and Description |
---|---|
ContentReference |
CacheContentWrapper.getContentReference() |
ContentReference |
AbstractDocumentContentConverterService.getConvertedContentReference(String id) |
Modifier and Type | Method and Description |
---|---|
Pair<ContentMetadata,Path> |
ContentNamePostfixConverter.convertContent(ContentReference contentReference,
ContentMetadata contentMetadata,
InputStream sourceContent)
to convert content source content is converted into PDF and converted contentInfo is set.
|
Constructor and Description |
---|
CacheContentWrapper(ContentReference contentReference,
ContentMetadata contentMetadata,
Instant updateTime) |
Modifier and Type | Field and Description |
---|---|
static StringValue<ContentReference> |
CloudVariables.CONTENT_REFERENCE |
Modifier and Type | Method and Description |
---|---|
ContentReference |
ContentManager.addContent(ContentInfo contentInfo,
org.springframework.core.io.Resource resource,
long inputStreamLength)
Add content with the specified
ContentInfo and the content itself as InputStream . |
ContentReference |
ContentReference.Builder.build()
Builds and returns the
ContentReference object. |
ContentReference |
ContentProvider.createContentReference(ContentInfo contentInfo)
Creates a new
ContentReference for the specified ContentInfo . |
ContentReference |
ContentNotFoundException.getContentReference()
Returns the
ContentReference of the missing content. |
ContentReference |
ContentPreProcessingException.getContentReference()
Returns the
ContentReference of the |
ContentReference |
ContentManager.updateContent(ContentReference contentReference,
org.springframework.core.io.Resource resource,
long inputStreamLength,
ContentMetadata contentMetadata)
This method behaves exactly like calling
ContentManager.updateContent(ContentReference, Resource, long, ContentMetadata, boolean) with the last parameter set to false. |
ContentReference |
ContentManager.updateContent(ContentReference contentReference,
org.springframework.core.io.Resource resource,
long inputStreamLength,
ContentMetadata contentMetadata,
boolean overwrite)
Updates the the content and the metadata of the specified
ContentReference with the specified InputStream and ContentMetadata , with the option to
overwrite te existing version. |
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 . |
Modifier and Type | Method and Description |
---|---|
List<ContentReference> |
ContentProvider.deleteContent(ContentScope contentScope,
String contentSourceId)
Deletes the content that is associated to the supplied ContentSourceId for the
ContentScope . |
Optional<ContentReference> |
ContentProvider.getContentReference(ContentScope contentScope,
String contentReferenceId)
Gets the content reference associated to the supplied ContentReferenceId for the
ContentScope . |
Optional<ContentReference> |
ContentManager.getContentReference(String contentReferenceId)
Gets the content reference associated to the supplied ContentReferenceId.
|
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<ContentReference> |
ContentManager.getContentReferences(String contentSourceId)
Gets a list of all the content references associated to the supplied ContentSourceId.
|
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 . |
static ContentReference.Builder |
ContentReference.builder(ContentReference contentReferenceTemplate)
Creates a builder with a
ContentReference as a template. |
int |
ContentManager.deleteContent(ContentReference contentReference)
Deletes all versions of the specified
ContentReference such that the passed in ContentReference cannot be used anymore to retrieve content. |
void |
ContentManager.deleteContent(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. |
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. |
org.springframework.core.io.Resource |
ContentManager.getContent(ContentReference contentReference)
Returns the latest version of the content.
|
org.springframework.core.io.Resource |
ContentManager.getContent(ContentReference contentReference,
String version)
Returns the specified version of the content.
|
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.
|
byte[] |
ContentManager.getContentAsBytes(ContentReference contentReference)
Returns the latest version of the content as a byte array.
|
byte[] |
ContentManager.getContentAsBytes(ContentReference contentReference,
String version)
Returns the specified version of the content as a byte array.
|
Optional<ContentMetadata> |
ContentManager.getContentMetadata(ContentReference contentReference)
Returns the metadata of the latest version of the content.
|
Optional<ContentMetadata> |
ContentManager.getContentMetadata(ContentReference contentReference,
String version)
Returns the metadata of the supplied 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.
|
List<String> |
ContentManager.getContentVersions(ContentReference contentReference)
Returns a list with all the versions of the content of the specified
ContentReference . |
List<String> |
ContentProvider.getContentVersions(ContentScope contentScope,
ContentReference contentReference)
Returns a list with all versions of the content of the specified
ContentReference . |
void |
ContentManager.setContentSourceId(ContentReference contentReference,
String contentSourceId)
Sets the ContentSourceId for a selected
ContentReference . |
void |
ContentProvider.setContentSourceId(ContentScope contentScope,
ContentReference contentReference,
String contentSourceId)
Sets the ContentSourceId for a selected
ContentReference . |
boolean |
ContentProvider.supports(ContentReference contentReference)
Returns true if the specified
ContentReference is resolvable by the content provider, false otherwise. |
ContentReference |
ContentManager.updateContent(ContentReference contentReference,
org.springframework.core.io.Resource resource,
long inputStreamLength,
ContentMetadata contentMetadata)
This method behaves exactly like calling
ContentManager.updateContent(ContentReference, Resource, long, ContentMetadata, boolean) with the last parameter set to false. |
ContentReference |
ContentManager.updateContent(ContentReference contentReference,
org.springframework.core.io.Resource resource,
long inputStreamLength,
ContentMetadata contentMetadata,
boolean overwrite)
Updates the the content and the metadata of the specified
ContentReference with the specified InputStream and ContentMetadata , with the option to
overwrite te existing version. |
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 |
ContentManager.updateContentMetadata(ContentReference contentReference,
ContentMetadata contentMetadata)
Updates the content metadata.
|
void |
ContentProvider.updateContentMetadata(ContentScope contentScope,
ContentReference contentReference,
ContentMetadata contentMetadata)
Updates the content metadata.
|
Constructor and Description |
---|
ContentNotFoundException(String message,
ContentReference contentReference)
Creates a new exception with the message and the specified
ContentReference from the missing content. |
ContentNotFoundException(String message,
ContentReference contentReference,
Throwable cause)
Creates a new exception with the message and the specified
ContentReference from the missing content. |
ContentPreProcessingException(String message,
ContentReference contentReference)
Creates a new exception with the message and the specified
ContentReference for the content processing failure. |
Modifier and Type | Method and Description |
---|---|
ContentReference |
DefaultConfigurableContentManager.addContent(ContentInfo contentInfo,
org.springframework.core.io.Resource resource,
long inputStreamLength) |
static ContentReference |
ContentUtils.deserializeContentReference(String jsonContentReference)
Deserialize the given JSON string to a
ContentReference . |
ContentReference |
ContentPreProcessingTaskletContext.getContentReference()
Returns the content reference of the content which is added/updated.
|
ContentReference |
DefaultContentEvent.getNewContentReference() |
ContentReference |
ContentReferenceTypeAdapter.read(com.google.gson.stream.JsonReader jsonReader) |
ContentReference |
DefaultConfigurableContentManager.updateContent(ContentReference contentReference,
org.springframework.core.io.Resource resource,
long inputStreamLength,
ContentMetadata contentMetadata) |
ContentReference |
DefaultConfigurableContentManager.updateContent(ContentReference contentReference,
org.springframework.core.io.Resource resource,
long inputStreamLength,
ContentMetadata contentMetadata,
boolean overwriteVersion) |
Modifier and Type | Method and Description |
---|---|
Optional<ContentReference> |
DefaultPreContentEvent.getContentReference() |
Optional<ContentReference> |
DefaultConfigurableContentManager.getContentReference(String contentReferenceId) |
List<ContentReference> |
DefaultConfigurableContentManager.getContentReferences(String contentSourceId) |
Optional<ContentReference> |
DefaultContentEvent.getOldContentReference() |
Modifier and Type | Method and Description |
---|---|
DefaultPreContentEvent.Builder |
DefaultPreContentEvent.Builder.contentReference(ContentReference contentReference) |
int |
DefaultConfigurableContentManager.deleteContent(ContentReference contentReference) |
void |
DefaultConfigurableContentManager.deleteContent(ContentReference contentReference,
String version) |
org.springframework.core.io.Resource |
DefaultConfigurableContentManager.getContent(ContentReference contentReference) |
org.springframework.core.io.Resource |
DefaultConfigurableContentManager.getContent(ContentReference contentReference,
String version) |
byte[] |
DefaultConfigurableContentManager.getContentAsBytes(ContentReference contentReference) |
byte[] |
DefaultConfigurableContentManager.getContentAsBytes(ContentReference contentReference,
String version) |
Optional<ContentMetadata> |
DefaultConfigurableContentManager.getContentMetadata(ContentReference contentReference) |
Optional<ContentMetadata> |
DefaultConfigurableContentManager.getContentMetadata(ContentReference contentReference,
String version) |
List<String> |
DefaultConfigurableContentManager.getContentVersions(ContentReference contentReference) |
DefaultContentEvent.Builder |
DefaultContentEvent.Builder.newContentReference(ContentReference contentReference)
Builder method to set the current content reference.
|
DefaultContentEvent.Builder |
DefaultContentEvent.Builder.oldContentReference(ContentReference oldContentReference)
Builder method to set the previous content reference.
|
static String |
ContentUtils.serializeContentReference(ContentReference contentReference)
Serialize the given
ContentReference to a JSON string. |
void |
DefaultConfigurableContentManager.setContentSourceId(ContentReference contentReference,
String contentSourceId) |
ContentReference |
DefaultConfigurableContentManager.updateContent(ContentReference contentReference,
org.springframework.core.io.Resource resource,
long inputStreamLength,
ContentMetadata contentMetadata) |
ContentReference |
DefaultConfigurableContentManager.updateContent(ContentReference contentReference,
org.springframework.core.io.Resource resource,
long inputStreamLength,
ContentMetadata contentMetadata,
boolean overwriteVersion) |
void |
DefaultConfigurableContentManager.updateContentMetadata(ContentReference contentReference,
ContentMetadata contentMetadata) |
void |
ContentReferenceTypeAdapter.write(com.google.gson.stream.JsonWriter jsonWriter,
ContentReference contentReference) |
Modifier and Type | Method and Description |
---|---|
List<ContentReference> |
DefaultDatabaseContentPersistence.deleteContent(ContentScope contentScope) |
List<ContentReference> |
DefaultDatabaseContentPersistence.deleteContent(ContentScope contentScope,
String contentSourceId) |
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) |
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) |
int |
DefaultDatabaseContentPersistence.deleteContent(ContentScope contentScope,
ContentReference contentReference) |
void |
DefaultDatabaseContentPersistence.deleteContent(ContentScope contentScope,
ContentReference contentReference,
int version) |
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) |
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 |
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 |
---|---|
ContentReference |
ContentReferenceValueConverter.deserialize(String serializedContentReference) |
Modifier and Type | Method and Description |
---|---|
String |
ContentReferenceValueConverter.serialize(ContentReference contentReference) |
Modifier and Type | Method and Description |
---|---|
ContentReference |
ContentProcessorContext.getContentReference() |
Modifier and Type | Method and Description |
---|---|
ContentProcessorContext.Builder |
ContentProcessorContext.Builder.contentReference(ContentReference contentReference) |
Modifier and Type | Method and Description |
---|---|
ContentReference |
BaseConfigurableContentProvider.createContentReference(ContentInfo contentInfo) |
ContentReference |
ContentEvent.getNewContentReference()
Gets the current content reference from the content involved in the event.
|
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) |
Modifier and Type | Method and Description |
---|---|
List<ContentReference> |
BaseConfigurableContentProvider.deleteContent(ContentScope contentScope,
String contentSourceId) |
Optional<ContentReference> |
PreContentEvent.getContentReference()
The content reference for the event.
|
Optional<ContentReference> |
BaseConfigurableContentProvider.getContentReference(ContentScope contentScope,
String contentReferenceId) |
List<ContentReference> |
BaseConfigurableContentProvider.getContentReferences(ContentScope contentScope,
String contentSourceId) |
Optional<ContentReference> |
ContentEvent.getOldContentReference()
Gets the previous content reference 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) |
int |
BaseConfigurableContentProvider.deleteContent(ContentScope contentScope,
ContentReference contentReference) |
void |
BaseConfigurableContentProvider.deleteContent(ContentScope contentScope,
ContentReference contentReference,
String version) |
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) |
List<String> |
BaseConfigurableContentProvider.getContentVersions(ContentScope contentScope,
ContentReference contentReference) |
void |
BaseConfigurableContentProvider.setContentSourceId(ContentScope contentScope,
ContentReference contentReference,
String contentSourceId) |
boolean |
BaseConfigurableContentProvider.supports(ContentReference contentReference) |
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 |
---|---|
List<ContentReference> |
DatabaseContentPersistence.deleteContent(ContentScope contentScope)
Deletes all the content of the content provider for the supplied
ContentScope . |
List<ContentReference> |
DatabaseContentPersistence.deleteContent(ContentScope contentScope,
String contentSourceId)
Deletes the content that is associated to the supplied ContentSourceId for the
ContentScope . |
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 . |
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 . |
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. |
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
ContentReference |
ContentManagerHelper.saveWorkObjectContentReference(String workObjectId,
MediaResource resource,
Optional<Instant> lastModifiedDate,
Optional<Instant> uploadDate)
Save work object content content reference.
|
Modifier and Type | Method and Description |
---|---|
Optional<ContentReference> |
ContentManagerHelper.getContentReference(String workObjectId)
Gets content reference.
|
Optional<ContentReference> |
ContentManagerHelper.getContentReference(WorkObject workObject)
Gets content reference.
|
Modifier and Type | Field and Description |
---|---|
static PropertyName<ContentReference> |
OneConstants.SKELETON_CONTENT_REFERENCE |
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.