public abstract class AbstractEntityManager<EntityImpl extends org.flowable.common.engine.impl.persistence.entity.Entity> extends Object implements org.flowable.common.engine.impl.persistence.entity.EntityManager<EntityImpl>
Modifier and Type | Field and Description |
---|---|
protected AuditEngineConfiguration |
configuration |
Constructor and Description |
---|
AbstractEntityManager(AuditEngineConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
EntityImpl |
create() |
void |
delete(EntityImpl entity) |
void |
delete(EntityImpl entity,
boolean fireEvent) |
void |
delete(String id) |
EntityImpl |
findById(String entityId) |
protected org.flowable.common.engine.impl.interceptor.CommandContext |
getCommandContext() |
protected abstract org.flowable.common.engine.impl.persistence.entity.data.DataManager<EntityImpl> |
getDataManager() |
protected <T> T |
getSession(Class<T> sessionClass) |
void |
insert(EntityImpl entity) |
void |
insert(EntityImpl entity,
boolean fireEvent) |
EntityImpl |
update(EntityImpl entity) |
EntityImpl |
update(EntityImpl entity,
boolean fireEvent) |
protected AuditEngineConfiguration configuration
public AbstractEntityManager(AuditEngineConfiguration configuration)
protected org.flowable.common.engine.impl.interceptor.CommandContext getCommandContext()
protected <T> T getSession(Class<T> sessionClass)
public EntityImpl findById(String entityId)
findById
in interface org.flowable.common.engine.impl.persistence.entity.EntityManager<EntityImpl extends org.flowable.common.engine.impl.persistence.entity.Entity>
public EntityImpl create()
create
in interface org.flowable.common.engine.impl.persistence.entity.EntityManager<EntityImpl extends org.flowable.common.engine.impl.persistence.entity.Entity>
public void insert(EntityImpl entity)
insert
in interface org.flowable.common.engine.impl.persistence.entity.EntityManager<EntityImpl extends org.flowable.common.engine.impl.persistence.entity.Entity>
public void insert(EntityImpl entity, boolean fireEvent)
insert
in interface org.flowable.common.engine.impl.persistence.entity.EntityManager<EntityImpl extends org.flowable.common.engine.impl.persistence.entity.Entity>
public EntityImpl update(EntityImpl entity)
update
in interface org.flowable.common.engine.impl.persistence.entity.EntityManager<EntityImpl extends org.flowable.common.engine.impl.persistence.entity.Entity>
public EntityImpl update(EntityImpl entity, boolean fireEvent)
update
in interface org.flowable.common.engine.impl.persistence.entity.EntityManager<EntityImpl extends org.flowable.common.engine.impl.persistence.entity.Entity>
public void delete(String id)
delete
in interface org.flowable.common.engine.impl.persistence.entity.EntityManager<EntityImpl extends org.flowable.common.engine.impl.persistence.entity.Entity>
public void delete(EntityImpl entity)
delete
in interface org.flowable.common.engine.impl.persistence.entity.EntityManager<EntityImpl extends org.flowable.common.engine.impl.persistence.entity.Entity>
public void delete(EntityImpl entity, boolean fireEvent)
delete
in interface org.flowable.common.engine.impl.persistence.entity.EntityManager<EntityImpl extends org.flowable.common.engine.impl.persistence.entity.Entity>
protected abstract org.flowable.common.engine.impl.persistence.entity.data.DataManager<EntityImpl> getDataManager()
Copyright © 2019. All rights reserved.