Modifier and Type | Method and Description |
---|---|
boolean |
ValueIndexer.associate(Entity entity)
Associate an entity with the value under indexing, so that if the entity changes, the value will be updated wrt. its index entry.
|
DatasetContainer |
DatasetEditorValue.createDatasetContainer(Entity entity,
TableTemplate template,
Language language)
Factory method to create an value container for the specified template and entity.
|
Modifier and Type | Method and Description |
---|---|
IdProvidingFormData |
ContentFormsProducer.create(Entity entity)
Creates a new form data based on the given entity.
|
static DatasetContainer |
DatasetContainer.Factory.create(Entity entity,
TableTemplate template,
Language language)
Factory method to create a DatasetContainer for the specified entity, template and language.
|
Modifier and Type | Method and Description |
---|---|
Entity |
ContentWorkflowable.getEntity() |
Entity |
Dataset.getEntity()
Get the entity bound to this data set.
|
Entity |
Content2.getEntity(Object keyValue)
Returns the entity found for given
keyValue or null . |
Entity |
Content2ScriptContext.getSelectedRow() |
Modifier and Type | Method and Description |
---|---|
List<? extends Entity> |
Content2.getData()
Deprecated.
since 5.1.102, use
Content2.getDatasets() |
List<? extends Entity> |
Content2ScriptContext.getData()
Returns the list of entities respecting defined filter and ordering of the underlying
Content2 element. |
List<? extends Entity> |
Content2.getData(Language language)
Deprecated.
since 5.1.102, use
Content2.getDatasets(Language) . |
List<? extends Entity> |
Content2ScriptContext.getData(Language language)
Returns the list of entities respecting defined filter and ordering of the underlying
Content2 element. |
Modifier and Type | Method and Description |
---|---|
void |
Content2.delete(Entity entity)
Deprecated.
since 5.2.201 - use
StoreElement.delete() instead. |
Dataset |
Content2.getDataset(Entity entity)
Get a dataset for the given entity.
|
Dataset |
DatasetProvider.getDataset(Entity entity)
Get a dataset for the given entity.
|
Dataset |
DatasetProvider.getDataset(Entity entity,
Revision revision)
Get a dataset for the given entity in a defined revision.
|
Workflowable |
Content2.getWorkflowable(Entity entity)
Get a workflowable instance for the provided entity.
|
boolean |
Content2.isLocked(Entity entity)
Deprecated.
since 5.2.201 - use
StoreElement.isLocked() instead. |
boolean |
Content2.isLockedOnServer(Entity entity,
boolean allSessions)
Deprecated.
since 5.2.201 - use
StoreElement.isLockedOnServer(boolean) instead. |
void |
Content2.lock(Entity entity)
Deprecated.
since 5.2.201 - use
Dataset#setLock(true) instead. |
void |
Content2.release(Entity entity)
Deprecated.
since 5.2.201 - use
IDProvider.release() instead. |
void |
Content2.release(Entity entity,
String comment)
Deprecated.
since 5.2.201 - use
IDProvider.release() instead. |
void |
Content2.unlock(Entity entity)
Deprecated.
since 5.2.201 - use
Dataset#setLock(false) instead. |
Modifier and Type | Method and Description |
---|---|
Entity |
ContentMultiPageParams.get(int index)
Provides the record stored at the given indes.
|
Entity |
ContentMultiPageParams.ContentPageParams.get(int index)
Provides a single record stored at the given position.
|
Modifier and Type | Method and Description |
---|---|
List<Entity> |
ContentMultiPageParams.ContentPageParams.getData()
Provides the records defined by this range restricted parameters definition.
|
List<Entity> |
Content2Params.getData(Language language)
Provides all records for the given language.
|
List<Entity> |
Content2Params.getData(Language language,
int pageNumber)
Provides all records for the given language being rendered on the specified page number, where page counting
starts with
0 . |
List<Entity> |
Content2Params.getData(String languageAbbreviation)
Provides all records for the given language.
|
List<Entity> |
Content2Params.getData(String languageAbbreviation,
int pageNumber)
Provides all records for the given language being rendered on the specified page number, where page counting
starts with
0 . |
Iterator<Entity> |
ContentMultiPageParams.iterator()
Enables to iterate over the records retrieved via these parameters.
|
Iterator<Entity> |
ContentMultiPageParams.ContentPageParams.iterator()
Provides an iterator over records retrieved with use of this parameters.
|
Modifier and Type | Method and Description |
---|---|
ReferenceEntry[] |
Schema.getIncomingReferences(Entity entity)
Returns current incoming references of the given
entity . |
ReferenceEntry[] |
Schema.getIncomingReferences(Entity entity,
boolean release)
Returns current or release incoming references of the given
entity . |
ReferenceEntry[] |
Schema.getOutgoingReferences(Entity entity)
Returns current outgoing references of the given
entity . |
ReferenceEntry[] |
Schema.getOutgoingReferences(Entity entity,
boolean release)
Returns current or release outgoing references of the given
entity . |
Modifier and Type | Method and Description |
---|---|
Entity |
GidAgent.findEntity(String gid)
Finds a
Entity by its globalId (gid). |
Modifier and Type | Method and Description |
---|---|
Map<Entity,Pair<UUID,UUID>> |
GidAgent.GidAdaptationResult.changes()
The result key value pairs.
|
Modifier and Type | Method and Description |
---|---|
Pair<UUID,UUID> |
GidAgent.GidAdaptationResult.change(Entity entity)
The changes result pairs.A pair of newUUID<->oldUUI for a given entity.
|
Modifier and Type | Method and Description |
---|---|
GidAgent.GidAdaptationResult |
GidAgent.adaptGid(Schema schema,
List<Entity> elements,
boolean force)
Adapts the given elements GID's.
|
GidAgent.GidAdaptationResult |
GidAgent.adaptGid(Schema schema,
Map<Entity,UUID> elementsMapping,
boolean force)
Adapts the given elements GID's to the mapping defined one.
|
Modifier and Type | Method and Description |
---|---|
void |
ExportOperation.SchemaOptions.addEntity(Entity entity)
Adds an entity to be exported.
|
Modifier and Type | Method and Description |
---|---|
Entity |
Session.createEntity(String type)
Create a new entity of the given
type |
Entity |
Session.find(EntityType type,
String uuid)
Returns the entity specififed by given EntityType and uuid string Important: Only supported if the schema is
temporal . |
Entity |
Session.find(EntityType type,
UUID uuid)
Returns the entity specififed by given EntityType and uuid.
|
Entity |
Session.find(Identifier identifier)
Return the entity with the given
identifier . |
Entity |
Session.find(KeyValue keyValue)
Return the entity with the given
keyValue . |
Entity |
Session.find(String entityTypeName,
Object... key)
Return the entity of type
entityTypeName with the id key . |
Entity |
Session.findNotNull(KeyValue keyValue)
Returns an entity with the given
keyValue even if it doesn't exist. |
Entity |
Session.findNotNull(String entityTypeName,
Object... key)
Returns an entity of type
entityTypeName with the id key even if it doesn't exists.In that case the entity's state is NOT_EXISTS . |
Modifier and Type | Method and Description |
---|---|
IdentifierList<UUID,Entity> |
Session.fetchEntities(String entityTypeName,
Collection<UUID> entityGids)
Fetches all entities specified by given
gids . |
Set<Entity> |
Session.getChanged()
Return the set of modified and not yet committed entities in this session.
|
List<Entity> |
Session.getDeletedEntities(String entityTypeName)
Get all deleted entities from type
entityTypeName . |
List<Entity> |
Session.getHistory(KeyValue keyValue)
Return the history of the entity with the given
keyValue . |
List<Entity> |
Session.getInvalidEntities(KeyValue keyValue)
Return a list of invalid entities of the given
keyValue . |
Modifier and Type | Method and Description |
---|---|
void |
Session.delete(Entity entity)
Mark the
entity as deleted. |
void |
Session.release(Entity entity)
Release the given
entity . |
Modifier and Type | Method and Description |
---|---|
Entity |
Entity.copy()
Copies this entity.
|
Modifier and Type | Method and Description |
---|---|
List<Entity> |
Entity.getList(String name)
Return the value of the specified list attribute ("to N relation").
|
Modifier and Type | Method and Description |
---|---|
void |
Entity.copyFrom(Entity entity)
Copy the values of the given
entity to this entity. |
boolean |
EntityType.isValid(Entity object)
Checks up whether the given data entry is valid.
|
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210