Class MetadataInstanceEntityManagerImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager<EntityImpl,DM>
org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager<ContentEngineConfiguration,MetadataInstanceEntity,MetadataInstanceDataManager>
com.flowable.content.engine.impl.persistence.entity.MetadataInstanceEntityManagerImpl
- All Implemented Interfaces:
MetadataInstanceEntityManager
,EntityManager<MetadataInstanceEntity>
public class MetadataInstanceEntityManagerImpl
extends AbstractEngineEntityManager<ContentEngineConfiguration,MetadataInstanceEntity,MetadataInstanceDataManager>
implements MetadataInstanceEntityManager
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager
engineConfiguration
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
dataManager, engineType
-
Constructor Summary
ConstructorDescriptionMetadataInstanceEntityManagerImpl
(ContentEngineConfiguration contentEngineConfiguration, MetadataInstanceDataManager metadataInstanceDataManager) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(String contentItemId, String name, VariableType type, Object value) void
delete
(MetadataInstanceEntity entity, boolean fireDeleteEvent) void
deleteMetadataInstancesByContentItemId
(String contentItemId) findMetadataInstanceByContentItemIdAndName
(String contentItemId, String variableName) findMetadataInstancesByContentItemId
(String contentItemId) findMetadataInstancesByContentItemIdAndNames
(String contentItemId, Collection<String> names) findMetadataInstancesByContentItemIds
(Set<String> contentItemIds) void
insert
(MetadataInstanceEntity entity, boolean fireEvent) void
insert
(MetadataInstanceEntity entity, ContentItemEntity contentItem, boolean fireEvent) update
(MetadataInstanceEntity entity, boolean fireEvent) Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager
getClock, getCommandExecutor, getEngineConfiguration, getEventDispatcher
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
create, createEntityEvent, delete, delete, findById, fireEntityDeletedEvent, fireEntityInsertedEvent, fireEntityUpdatedEvent, getDataManager, insert, setDataManager, update
-
Constructor Details
-
MetadataInstanceEntityManagerImpl
public MetadataInstanceEntityManagerImpl(ContentEngineConfiguration contentEngineConfiguration, MetadataInstanceDataManager metadataInstanceDataManager)
-
-
Method Details
-
create
public MetadataInstanceEntity create(String contentItemId, String name, VariableType type, Object value) - Specified by:
create
in interfaceMetadataInstanceEntityManager
-
findMetadataInstancesByContentItemId
- Specified by:
findMetadataInstancesByContentItemId
in interfaceMetadataInstanceEntityManager
-
findMetadataInstancesByContentItemIds
public List<MetadataInstanceEntity> findMetadataInstancesByContentItemIds(Set<String> contentItemIds) - Specified by:
findMetadataInstancesByContentItemIds
in interfaceMetadataInstanceEntityManager
-
findMetadataInstanceByContentItemIdAndName
public MetadataInstanceEntity findMetadataInstanceByContentItemIdAndName(String contentItemId, String variableName) - Specified by:
findMetadataInstanceByContentItemIdAndName
in interfaceMetadataInstanceEntityManager
-
findMetadataInstancesByContentItemIdAndNames
public List<MetadataInstanceEntity> findMetadataInstancesByContentItemIdAndNames(String contentItemId, Collection<String> names) - Specified by:
findMetadataInstancesByContentItemIdAndNames
in interfaceMetadataInstanceEntityManager
-
insert
- Specified by:
insert
in interfaceEntityManager<MetadataInstanceEntity>
- Overrides:
insert
in classAbstractEntityManager<MetadataInstanceEntity,
MetadataInstanceDataManager>
-
insert
- Specified by:
insert
in interfaceMetadataInstanceEntityManager
-
update
- Specified by:
update
in interfaceEntityManager<MetadataInstanceEntity>
- Overrides:
update
in classAbstractEntityManager<MetadataInstanceEntity,
MetadataInstanceDataManager>
-
delete
- Specified by:
delete
in interfaceEntityManager<MetadataInstanceEntity>
- Overrides:
delete
in classAbstractEntityManager<MetadataInstanceEntity,
MetadataInstanceDataManager>
-
deleteMetadataInstancesByContentItemId
- Specified by:
deleteMetadataInstancesByContentItemId
in interfaceMetadataInstanceEntityManager
-