Class DocumentDefinitionEntityManagerImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager<EntityImpl,DM>
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager<ContentEngineConfiguration,DocumentDefinitionEntity,DocumentDefinitionDataManager>
-
- com.flowable.content.engine.impl.persistence.entity.DocumentDefinitionEntityManagerImpl
-
- All Implemented Interfaces:
DocumentDefinitionEntityManager
,EntityManager<DocumentDefinitionEntity>
public class DocumentDefinitionEntityManagerImpl extends AbstractEngineEntityManager<ContentEngineConfiguration,DocumentDefinitionEntity,DocumentDefinitionDataManager> implements DocumentDefinitionEntityManager
-
-
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 DocumentDefinitionEntityManagerImpl(ContentEngineConfiguration configuration, DocumentDefinitionDataManager documentDefinitionDataManager)
-
Method Summary
-
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 Detail
-
DocumentDefinitionEntityManagerImpl
public DocumentDefinitionEntityManagerImpl(ContentEngineConfiguration configuration, DocumentDefinitionDataManager documentDefinitionDataManager)
-
-
Method Detail
-
findLatestDocumentDefinitionByKey
public DocumentDefinitionEntity findLatestDocumentDefinitionByKey(String documentDefinitionKey)
- Specified by:
findLatestDocumentDefinitionByKey
in interfaceDocumentDefinitionEntityManager
-
findLatestDocumentDefinitionByKeyAndTenantId
public DocumentDefinitionEntity findLatestDocumentDefinitionByKeyAndTenantId(String documentDefinitionKey, String tenantId)
- Specified by:
findLatestDocumentDefinitionByKeyAndTenantId
in interfaceDocumentDefinitionEntityManager
-
findDocumentDefinitionByDeploymentAndKey
public DocumentDefinitionEntity findDocumentDefinitionByDeploymentAndKey(String deploymentId, String documentDefinitionKey)
- Specified by:
findDocumentDefinitionByDeploymentAndKey
in interfaceDocumentDefinitionEntityManager
-
findDocumentDefinitionByDeploymentAndKeyAndTenantId
public DocumentDefinitionEntity findDocumentDefinitionByDeploymentAndKeyAndTenantId(String deploymentId, String documentDefinitionKey, String tenantId)
- Specified by:
findDocumentDefinitionByDeploymentAndKeyAndTenantId
in interfaceDocumentDefinitionEntityManager
-
createDocumentDefinitionQuery
public DocumentDefinitionQuery createDocumentDefinitionQuery()
- Specified by:
createDocumentDefinitionQuery
in interfaceDocumentDefinitionEntityManager
-
findByCriteria
public List<DocumentDefinition> findByCriteria(DocumentDefinitionQuery query)
- Specified by:
findByCriteria
in interfaceDocumentDefinitionEntityManager
-
countByCriteria
public long countByCriteria(DocumentDefinitionQuery query)
- Specified by:
countByCriteria
in interfaceDocumentDefinitionEntityManager
-
findDocumentDefinitionByKeyAndVersion
public DocumentDefinitionEntity findDocumentDefinitionByKeyAndVersion(String documentDefinitionKey, Integer documentVersion)
- Specified by:
findDocumentDefinitionByKeyAndVersion
in interfaceDocumentDefinitionEntityManager
-
findDocumentDefinitionByKeyAndVersionAndTenantId
public DocumentDefinitionEntity findDocumentDefinitionByKeyAndVersionAndTenantId(String documentDefinitionKey, Integer documentVersion, String tenantId)
- Specified by:
findDocumentDefinitionByKeyAndVersionAndTenantId
in interfaceDocumentDefinitionEntityManager
-
deleteDocumentDefinitionsByDeploymentId
public void deleteDocumentDefinitionsByDeploymentId(String deploymentId)
- Specified by:
deleteDocumentDefinitionsByDeploymentId
in interfaceDocumentDefinitionEntityManager
-
-