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
Constructors Constructor Description MetadataInstanceEntityManagerImpl(ContentEngineConfiguration contentEngineConfiguration, MetadataInstanceDataManager metadataInstanceDataManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataInstanceEntity
create(String contentItemId, String name, VariableType type, Object value)
void
delete(MetadataInstanceEntity entity, boolean fireDeleteEvent)
void
deleteMetadataInstancesByContentItemId(String contentItemId)
MetadataInstanceEntity
findMetadataInstanceByContentItemIdAndName(String contentItemId, String variableName)
List<MetadataInstanceEntity>
findMetadataInstancesByContentItemId(String contentItemId)
List<MetadataInstanceEntity>
findMetadataInstancesByContentItemIdAndNames(String contentItemId, Collection<String> names)
List<MetadataInstanceEntity>
findMetadataInstancesByContentItemIds(Set<String> contentItemIds)
void
insert(MetadataInstanceEntity entity, boolean fireEvent)
void
insert(MetadataInstanceEntity entity, ContentItemEntity contentItem, boolean fireEvent)
MetadataInstanceEntity
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 Detail
-
MetadataInstanceEntityManagerImpl
public MetadataInstanceEntityManagerImpl(ContentEngineConfiguration contentEngineConfiguration, MetadataInstanceDataManager metadataInstanceDataManager)
-
-
Method Detail
-
create
public MetadataInstanceEntity create(String contentItemId, String name, VariableType type, Object value)
- Specified by:
create
in interfaceMetadataInstanceEntityManager
-
findMetadataInstancesByContentItemId
public List<MetadataInstanceEntity> findMetadataInstancesByContentItemId(String contentItemId)
- 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
public void insert(MetadataInstanceEntity entity, boolean fireEvent)
- Specified by:
insert
in interfaceEntityManager<MetadataInstanceEntity>
- Overrides:
insert
in classAbstractEntityManager<MetadataInstanceEntity,MetadataInstanceDataManager>
-
insert
public void insert(MetadataInstanceEntity entity, ContentItemEntity contentItem, boolean fireEvent)
- Specified by:
insert
in interfaceMetadataInstanceEntityManager
-
update
public MetadataInstanceEntity update(MetadataInstanceEntity entity, boolean fireEvent)
- Specified by:
update
in interfaceEntityManager<MetadataInstanceEntity>
- Overrides:
update
in classAbstractEntityManager<MetadataInstanceEntity,MetadataInstanceDataManager>
-
delete
public void delete(MetadataInstanceEntity entity, boolean fireDeleteEvent)
- Specified by:
delete
in interfaceEntityManager<MetadataInstanceEntity>
- Overrides:
delete
in classAbstractEntityManager<MetadataInstanceEntity,MetadataInstanceDataManager>
-
deleteMetadataInstancesByContentItemId
public void deleteMetadataInstancesByContentItemId(String contentItemId)
- Specified by:
deleteMetadataInstancesByContentItemId
in interfaceMetadataInstanceEntityManager
-
-