| Package | Description |
|---|---|
| com.edorasware.cloud.core.conversion | |
| com.edorasware.cloud.core.conversion.internal | |
| com.edorasware.cloud.core.model | |
| com.edorasware.cloud.core.transfer.json | |
| 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.support |
Support classes for content management.
|
| com.edorasware.commons.core.content.support.database | |
| com.edorasware.one.content |
| Modifier and Type | Method and Description |
|---|---|
ContentMetadata |
DocumentContentConverter.getContentMetadata(ContentMetadata sourceContentMetadata)
Returns converted
ContentMetadata. |
ContentMetadata |
DocumentContentConverterService.getConvertedContentMetadata(String documentId)
Returns converted
ContentMetadata 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.
|
Pair<ContentMetadata,org.springframework.core.io.Resource> |
DocumentContentConverterService.getConvertedContentMetadataAndInputStream(String documentId)
Returns converted content for the given document identifier
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DocumentContentConverter.accept(ContentMetadata contentMetadata)
Returns whether the given
ContentMetadata can be handled or not. |
Pair<ContentMetadata,Path> |
DocumentContentConverter.convertContent(ContentReference contentReference,
ContentMetadata contentMetadata,
InputStream sourceContent)
Returns converted document content.
|
ContentMetadata |
DocumentContentConverter.getContentMetadata(ContentMetadata sourceContentMetadata)
Returns converted
ContentMetadata. |
| Modifier and Type | Method and Description |
|---|---|
ContentMetadata |
CacheContentWrapper.getContentMetadata() |
ContentMetadata |
ContentNamePostfixConverter.getContentMetadata(ContentMetadata sourceContentMetadata)
to get transformed
ContentMetadata, we have to create new object with content metadata copied from source. |
ContentMetadata |
AbstractDocumentContentConverterService.getConvertedContentMetadata(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.
|
Pair<ContentMetadata,org.springframework.core.io.Resource> |
AbstractDocumentContentConverterService.getConvertedContentMetadataAndInputStream(String id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
OneAcceptContentConverter.accept(ContentMetadata contentMetadata) |
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.
|
ContentMetadata |
ContentNamePostfixConverter.getContentMetadata(ContentMetadata sourceContentMetadata)
to get transformed
ContentMetadata, we have to create new object with content metadata copied from source. |
| Constructor and Description |
|---|
CacheContentWrapper(ContentReference contentReference,
ContentMetadata contentMetadata,
Instant updateTime) |
| Modifier and Type | Method and Description |
|---|---|
ContentMetadata |
WorkObjectDetails.getSkeletonContentMetadata() |
| Modifier and Type | Method and Description |
|---|---|
WorkObjectDetails.Builder |
WorkObjectDetails.Builder.setSkeletonContentMetadata(ContentMetadata skeletonContentMetadata) |
| Modifier and Type | Method and Description |
|---|---|
ContentMetadata |
DocumentContentInfo.convertToContentMetadata(String currentUserId,
Instant currentDate)
Deprecated.
|
ContentMetadata |
ContentMetadataDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jsonParser,
com.fasterxml.jackson.databind.DeserializationContext deserializationContext) |
static ContentMetadata |
DocumentContentInfo.deserialize(com.fasterxml.jackson.core.JsonParser parser,
String currentUserId,
Instant currentDate)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<ContentMetadata> |
OptionalContentMetadataDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jsonParser,
com.fasterxml.jackson.databind.DeserializationContext deserializationContext) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Object> |
ContentMetadataSerializer.getContentMetadataMap(ContentMetadata contentMetadata) |
void |
ContentMetadataSerializer.serialize(ContentMetadata contentMetadata,
com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
com.fasterxml.jackson.databind.SerializerProvider serializerProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
OptionalContentMetadataSerializer.serialize(Optional<ContentMetadata> contentMetadata,
com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
com.fasterxml.jackson.databind.SerializerProvider serializerProvider) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ContentMetadata> |
ContentInfo.getContentMetadata()
Returns the optional content metadata associated with the content.
|
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.
|
| 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. |
com.google.common.net.MediaType |
ContentDetector.detect(ContentMetadata contentMetadata)
Detects the content media type based on the content metadata.
|
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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultContentMetadata
Default
ContentMetadata implementation. |
| Modifier and Type | Method and Description |
|---|---|
static ContentMetadata |
ContentUtils.deserializeContentMetadata(String jsonContentMetadata)
Deserialize the given JSON string to a
ContentMetadata. |
ContentMetadata |
DefaultContentMetadataTypeAdapter.read(com.google.gson.stream.JsonReader jsonReader) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ContentMetadata> |
ContentPreProcessingTaskletContext.getContentMetadata()
Returns the content metadata of the content which is added/updated.
|
Optional<ContentMetadata> |
DefaultContentInfo.getContentMetadata() |
Optional<ContentMetadata> |
DefaultPreContentEvent.getContentMetadata() |
Optional<ContentMetadata> |
DefaultConfigurableContentManager.getContentMetadata(ContentReference contentReference) |
Optional<ContentMetadata> |
DefaultConfigurableContentManager.getContentMetadata(ContentReference contentReference,
String version) |
Optional<ContentMetadata> |
DefaultContentEvent.getNewContentMetadata() |
Optional<ContentMetadata> |
DefaultContentEvent.getOldContentMetadata() |
| Modifier and Type | Method and Description |
|---|---|
static DefaultContentMetadata.Builder |
DefaultContentMetadata.builder(ContentMetadata contentMetadata)
Creates a builder for a new concrete default content metadata based on a template.
|
DefaultContentInfo.Builder |
DefaultContentInfo.Builder.contentMetadata(ContentMetadata contentMetadata)
Set the content metadata of the content info.
|
DefaultPreContentEvent.Builder |
DefaultPreContentEvent.Builder.contentMetadata(ContentMetadata contentMetadata) |
com.google.common.net.MediaType |
DefaultContentDetector.detect(ContentMetadata contentMetadata) |
DefaultContentEvent.Builder |
DefaultContentEvent.Builder.newContentMetadata(ContentMetadata contentMetadata)
Builder method to set the current content metadata.
|
DefaultContentEvent.Builder |
DefaultContentEvent.Builder.oldContentMetadata(ContentMetadata oldContentMetadata)
Builder method to set the previous content metadata.
|
static String |
ContentUtils.serializeContentMetadata(ContentMetadata contentMetadata)
Serialize the given
ContentMetadata to a JSON string. |
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 |
DefaultContentMetadataTypeAdapter.write(com.google.gson.stream.JsonWriter jsonWriter,
ContentMetadata contentMetadata) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ContentMetadata> |
DefaultDatabaseContentPersistence.getContentMetadata(ContentScope contentScope,
ContentReference contentReference,
int version) |
| 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) |
void |
DefaultDatabaseContentPersistence.updateContentMetadata(ContentScope contentScope,
ContentReference contentReference,
int version,
ContentMetadata contentMetadata) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ContentMetadata> |
PreContentEvent.getContentMetadata() |
Optional<ContentMetadata> |
BaseConfigurableContentProvider.getContentMetadata(ContentScope contentScope,
ContentReference contentReference) |
Optional<ContentMetadata> |
BaseConfigurableContentProvider.getContentMetadata(ContentScope contentScope,
ContentReference contentReference,
String version) |
Optional<ContentMetadata> |
ContentEvent.getNewContentMetadata()
Gets the current content metadata from the content involved in the event.
|
Optional<ContentMetadata> |
ContentEvent.getOldContentMetadata()
Gets the previous content metadata 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) |
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 |
|---|---|
Optional<ContentMetadata> |
DatabaseContentPersistence.getContentMetadata(ContentScope contentScope,
ContentReference contentReference,
int version)
Returns the metadata of the content.
|
| 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. |
void |
DatabaseContentPersistence.updateContentMetadata(ContentScope contentScope,
ContentReference contentReference,
int version,
ContentMetadata contentMetadata)
Updates the content metadata.
|
| Modifier and Type | Method and Description |
|---|---|
ContentMetadata |
ContentManagerHelper.getContentMetadata(String workObjectId)
Gets content metadata.
|
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.