Class TemplateDefinitionEntityManagerImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager<EntityImpl,DM>
org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager<TemplateEngineConfiguration,TemplateDefinitionEntity,TemplateDefinitionDataManager>
com.flowable.template.engine.impl.persistence.entity.TemplateDefinitionEntityManagerImpl
- All Implemented Interfaces:
TemplateDefinitionEntityManager
,EntityManager<TemplateDefinitionEntity>
public class TemplateDefinitionEntityManagerImpl
extends AbstractEngineEntityManager<TemplateEngineConfiguration,TemplateDefinitionEntity,TemplateDefinitionDataManager>
implements TemplateDefinitionEntityManager
- Author:
- Tijs Rademakers
-
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
ConstructorDescriptionTemplateDefinitionEntityManagerImpl
(TemplateEngineConfiguration configuration, TemplateDefinitionDataManager templateDefinitionDataManager) -
Method Summary
Modifier and TypeMethodDescriptionlong
void
deleteTemplateDefinitionsByDeploymentId
(String deploymentId) findLatestTemplateDefinitionByKey
(String templateDefinitionKey) findLatestTemplateDefinitionByKeyAndTenantId
(String templateDefinitionKey, String tenantId) findTemplateDefinitionByDeploymentAndKey
(String deploymentId, String templateDefinitionKey) findTemplateDefinitionByDeploymentAndKeyAndTenantId
(String deploymentId, String templateDefinitionKey, String tenantId) 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, delete, findById, fireEntityDeletedEvent, fireEntityInsertedEvent, fireEntityUpdatedEvent, getDataManager, insert, insert, setDataManager, update, update
-
Constructor Details
-
TemplateDefinitionEntityManagerImpl
public TemplateDefinitionEntityManagerImpl(TemplateEngineConfiguration configuration, TemplateDefinitionDataManager templateDefinitionDataManager)
-
-
Method Details
-
findTemplateDefinitionByDeploymentAndKey
public TemplateDefinitionEntity findTemplateDefinitionByDeploymentAndKey(String deploymentId, String templateDefinitionKey) - Specified by:
findTemplateDefinitionByDeploymentAndKey
in interfaceTemplateDefinitionEntityManager
-
findTemplateDefinitionByDeploymentAndKeyAndTenantId
public TemplateDefinitionEntity findTemplateDefinitionByDeploymentAndKeyAndTenantId(String deploymentId, String templateDefinitionKey, String tenantId) - Specified by:
findTemplateDefinitionByDeploymentAndKeyAndTenantId
in interfaceTemplateDefinitionEntityManager
-
createTemplateDefinitionQuery
- Specified by:
createTemplateDefinitionQuery
in interfaceTemplateDefinitionEntityManager
-
findByCriteria
- Specified by:
findByCriteria
in interfaceTemplateDefinitionEntityManager
-
countByCriteria
- Specified by:
countByCriteria
in interfaceTemplateDefinitionEntityManager
-
findLatestTemplateDefinitionByKey
- Specified by:
findLatestTemplateDefinitionByKey
in interfaceTemplateDefinitionEntityManager
-
findLatestTemplateDefinitionByKeyAndTenantId
public TemplateDefinitionEntity findLatestTemplateDefinitionByKeyAndTenantId(String templateDefinitionKey, String tenantId) - Specified by:
findLatestTemplateDefinitionByKeyAndTenantId
in interfaceTemplateDefinitionEntityManager
-
deleteTemplateDefinitionsByDeploymentId
- Specified by:
deleteTemplateDefinitionsByDeploymentId
in interfaceTemplateDefinitionEntityManager
-