Package | Description |
---|---|
com.edorasware.commons.core.content |
Classes related to content management.
|
com.edorasware.commons.core.content.support |
Support classes for content management.
|
com.edorasware.commons.core.content.support.database |
Modifier and Type | Field and Description |
---|---|
static ContentSourceId |
ContentSourceId.UNDEFINED
A type-safe and null-safe undefined any content source id.
|
Modifier and Type | Method and Description |
---|---|
static ContentSourceId |
ContentSourceId.from(Id id)
Returns a type-safe content source id for the specified id or null if the given id is null.
|
static ContentSourceId |
ContentSourceId.from(Identifiable<?> identifiable)
Returns a type-safe content source id derived from the id of the specified identifiable or null if the id of the identifiable is null.
|
static ContentSourceId |
ContentSourceId.get(String value)
Returns a type-safe content source id for the specified value.
|
ContentSourceId |
ContentInfo.getContentSourceId()
Returns the content source id to which the content is linked or a
UNDEFINED value. |
ContentSourceId |
ContentReference.getContentSourceId()
Returns the content source id from where the content reference is linked.
|
static ContentSourceId |
ContentSourceId.nullSafeGet(String value)
Returns a type-safe content source id for the specified value or null if the given value is null.
|
ContentSourceId |
ContentSourceId.withValue(String value)
Returns a new content source id with the given value.
|
Modifier and Type | Method and Description |
---|---|
List<ContentReference> |
ContentProvider.deleteContent(ContentScope contentScope,
ContentSourceId contentSourceId)
Deletes the content that is associated to the supplied
ContentSourceId for the ContentScope . |
void |
ContentManager.deleteContent(ContentSourceId contentSourceId)
Deletes the content that is associated to the supplied
ContentSourceId . |
List<ContentReference> |
ContentProvider.getContentReferences(ContentScope contentScope,
ContentSourceId contentSourceId)
Gets a list of all the content references associated to the supplied
ContentSourceId for the ContentScope . |
List<ContentReference> |
ContentManager.getContentReferences(ContentSourceId contentSourceId)
Gets a list of all the content references associated to the supplied
ContentSourceId . |
void |
ContentManager.setContentSourceId(ContentReference contentReference,
ContentSourceId contentSourceId)
Sets the
ContentSourceId for a selected ContentReference . |
void |
ContentProvider.setContentSourceId(ContentScope contentScope,
ContentReference contentReference,
ContentSourceId contentSourceId)
Sets the
ContentSourceId for a selected ContentReference . |
Modifier and Type | Method and Description |
---|---|
List<ContentReference> |
BaseConfigurableContentProvider.deleteContent(ContentScope contentScope,
ContentSourceId contentSourceId) |
List<ContentReference> |
BaseConfigurableContentProvider.getContentReferences(ContentScope contentScope,
ContentSourceId contentSourceId) |
protected abstract List<ContentReference> |
BaseConfigurableContentProvider.internalDeleteContent(ContentScope contentScope,
ContentSourceId contentSourceId) |
protected abstract List<ContentReference> |
BaseConfigurableContentProvider.internalGetContentReferences(ContentScope contentScope,
ContentSourceId contentSourceId) |
protected abstract void |
BaseConfigurableContentProvider.internalSetContentSourceId(ContentScope contentScope,
ContentReference contentReference,
ContentSourceId contentSourceId) |
void |
BaseConfigurableContentProvider.setContentSourceId(ContentScope contentScope,
ContentReference contentReference,
ContentSourceId contentSourceId) |
Modifier and Type | Method and Description |
---|---|
ContentSourceId |
DatabaseContentPersistence.getContentSourceId(ContentScope contentScope,
ContentReference contentReference,
int version)
Returns the content source id of a version of the content.
|
Modifier and Type | Method and Description |
---|---|
List<ContentReference> |
DatabaseContentPersistence.deleteContent(ContentScope contentScope,
ContentSourceId contentSourceId)
Deletes the content that is associated to the supplied
ContentSourceId for the ContentScope . |
List<ContentReference> |
DatabaseContentPersistence.getContentReferences(ContentScope contentScope,
ContentSourceId contentSourceId)
Gets a list of all the content references associated to the supplied
ContentSourceId for the ContentScope . |
void |
DatabaseContentPersistence.updateContentSourceId(ContentScope contentScope,
ContentReference contentReference,
ContentSourceId contentSourceId)
Updates the content metadata.
|
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.