Uses of Interface
de.espirit.or.schema.Entity
Package
Description
-
Uses of Entity in de.espirit.firstspirit.access.editor
Modifier and TypeMethodDescriptionboolean
Associate an entity with the value under indexing, so that if the entity changes, the value will be updated wrt. its index entry.DatasetEditorValue.createDatasetContainer
(Entity entity, TableTemplate template, Language language) Deprecated.Factory method to create a value container for the specified template and entity. -
Uses of Entity in de.espirit.firstspirit.access.editor.value
Modifier and TypeMethodDescriptionstatic DatasetContainer
DatasetContainer.Factory.create
(Entity entity, TableTemplate template, Language language) Factory method to create a DatasetContainer for the specified entity, template and language. -
Uses of Entity in de.espirit.firstspirit.access.store.contentstore
Modifier and TypeMethodDescription@Nullable Entity
Returns the entity found for givenkeyValue
ornull
.ContentWorkflowable.getEntity()
@NotNull Entity
Dataset.getEntity()
Get the entity bound to this dataset.@Nullable Entity
Content2ScriptContext.getSelectedRow()
Modifier and TypeMethodDescriptionContent2.getData()
Deprecated.Deprecated.since 5.1.102, useContent2.getDatasets(Language)
.Content2ScriptContext.getData()
Returns the list of entities respecting defined filter and ordering of the underlyingContent2
element.
Shortcut forgetData(getProject().getMasterLanguage()))
.Returns the list of entities respecting defined filter and ordering of the underlyingContent2
element.Modifier and TypeMethodDescriptionvoid
Deprecated.since 5.2.201 - useStoreElement.delete()
instead.@NotNull Dataset
Content2.getDataset
(@NotNull Entity entity) Get a dataset for the given entity.@NotNull Dataset
DatasetProvider.getDataset
(@NotNull Entity entity) Get a dataset for the given entity.@Nullable Dataset
DatasetProvider.getDataset
(@NotNull Entity entity, @NotNull Revision revision) Get a dataset for the given entity in a defined revision.@Nullable Workflowable
Content2.getWorkflowable
(Entity entity) Get a workflowable instance for the provided entity.boolean
Deprecated.since 5.2.201 - useStoreElement.isLocked()
instead.boolean
Content2.isLockedOnServer
(Entity entity, boolean allSessions) Deprecated.since 5.2.201 - useStoreElement.isLockedOnServer(boolean)
instead.void
Deprecated.since 5.2.201 - useDataset#setLock(true)
instead.void
Deprecated.since 5.2.201 - useIDProvider.release()
instead.void
Deprecated.since 5.2.201 - useIDProvider.release()
instead.void
Deprecated.since 5.2.201 - useDataset#setLock(false)
instead. -
Uses of Entity in de.espirit.firstspirit.access.store.sitestore
Modifier and TypeMethodDescriptionContentMultiPageParams.ContentPageParams.get
(int index) Provides a single record stored at the given position.ContentMultiPageParams.get
(int index) Provides the record stored at the given index.Modifier and TypeMethodDescriptionProvides all records for the given language.Provides all records for the given language being rendered on the specified page number, where page counting starts with0
.Provides all records for the given language.Provides all records for the given language being rendered on the specified page number, where page counting starts with0
.ContentMultiPageParams.ContentPageParams.getData()
Provides the records defined by this range restricted parameters definition.ContentMultiPageParams.ContentPageParams.iterator()
Provides an iterator over records retrieved with use of this parameters.ContentMultiPageParams.iterator()
Enables to iterate over the records retrieved via these parameters. -
Uses of Entity in de.espirit.firstspirit.access.store.templatestore
Modifier and TypeMethodDescription@NotNull ReferenceEntry[]
Schema.getIncomingReferences
(Entity entity) Returns current incoming references of the givenentity
.@NotNull ReferenceEntry[]
Schema.getIncomingReferences
(Entity entity, boolean release) Returns current or release incoming references of the givenentity
.@NotNull ReferenceEntry[]
Schema.getOutgoingReferences
(Entity entity) Returns current outgoing references of the givenentity
.@NotNull ReferenceEntry[]
Schema.getOutgoingReferences
(Entity entity, boolean release) Returns current or release outgoing references of the givenentity
. -
Uses of Entity in de.espirit.firstspirit.common
Modifier and TypeMethodDescription@Nullable Entity
GidAgent.findEntity
(@NotNull String gid) Finds aEntity
by its globalId (gid).Modifier and TypeMethodDescriptionGidAgent.GidAdaptationResult.changes()
The result key value pairs.Modifier and TypeMethodDescriptionThe changes result pairs.A pair of newUUID ↔ oldUUI for a given entity.Modifier and TypeMethodDescription@NotNull GidAgent.GidAdaptationResult
Adapts the given elements GIDs.
Attention:
CallGidAgent.migrateSchema(Schema)
before calling this method if given schema doesn't not support fs_gid's yet This method will execute acommit
on the OR session to persist the changes made during the execution of this method and all changes made on the session before calling this method. If an error occurs asession rollback
will be called@NotNull GidAgent.GidAdaptationResult
Adapts the given elements GIDs to the mapping defined one.
Attention:
CallGidAgent.migrateSchema(Schema)
before calling this method if given schema doesn't not support fs_gid's yet This method will execute acommit
on the OR session to persist the changes made during the execution of this method and all changes made on the session before calling this method. If an error occurs asession rollback
will be called -
Uses of Entity in de.espirit.firstspirit.store.access.nexport.operations
-
Uses of Entity in de.espirit.or
Modifier and TypeMethodDescription@NotNull Entity
Session.createEntity
(@NotNull String type) Create a new entity of the giventype
@Nullable Entity
Session.find
(@NotNull EntityType type, String uuid) Returns the entity specififed by given EntityType and uuid string
Important: Only supported if the schema istemporal
.@Nullable Entity
Session.find
(@NotNull EntityType type, UUID uuid) Returns the entity specififed by given EntityType and uuid.@NotNull Entity
Session.find
(@NotNull Identifier identifier) Return the entity with the givenidentifier
.@Nullable Entity
Return the entity with the givenkeyValue
.@Nullable Entity
Return the entity of typeentityTypeName
with the idkey
.@NotNull Entity
Session.findNotNull
(@NotNull KeyValue keyValue) Returns an entity with the givenkeyValue
even if it doesn't exist.@NotNull Entity
Session.findNotNull
(@NotNull String entityTypeName, @NotNull Object... key) Returns an entity of typeentityTypeName
with the idkey
even if it doesn't exists.Modifier and TypeMethodDescriptionSession.fetchEntities
(@NotNull String entityTypeName, @NotNull Collection<UUID> entityGids) Fetches all entities specified by givengids
.
Attention: List could containnull
entries for gids no entity could be found for.Session.getChanged()
Return the set of modified and not yet committed entities in this session.Session.getDeletedEntities
(@NotNull String entityTypeName) Get all deleted entities from typeentityTypeName
.Session.getHistory
(@NotNull KeyValue keyValue) Return the history of the entity with the givenkeyValue
.Session.getInvalidEntities
(@NotNull KeyValue keyValue) Return a list of invalid entities of the givenkeyValue
. -
Uses of Entity in de.espirit.or.schema
Modifier and TypeMethodDescriptionReturn the value of the specified list attribute ("to N relation").Modifier and TypeMethodDescriptionValidator.checkValidity
(Entity owner, Attribute<T> attribute, T value) Check the validity of the given value against this constraint.void
Copy the values of the givenentity
to this entity.boolean
Checks up whether the given data entry is valid.
Content2.getDatasets()