Class TokenEntityManagerImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager<EntityImpl,DM>
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager<CoreIdmEngineConfiguration,EntityImpl,DM>
-
- com.flowable.idm.engine.impl.persistence.entity.AbstractIdmEngineEntityManager<TokenEntity,TokenDataManager>
-
- com.flowable.idm.engine.impl.persistence.entity.TokenEntityManagerImpl
-
- All Implemented Interfaces:
TokenEntityManager
,EntityManager<TokenEntity>
public class TokenEntityManagerImpl extends AbstractIdmEngineEntityManager<TokenEntity,TokenDataManager> implements TokenEntityManager
- 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
Constructors Constructor Description TokenEntityManagerImpl(CoreIdmEngineConfiguration idmEngineConfiguration, TokenDataManager tokenDataManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Token
createNewToken(String tokenId)
TokenQuery
createNewTokenQuery()
void
delete(String id)
List<Token>
findTokenByQueryCriteria(TokenQueryImpl query)
long
findTokenCountByNativeQuery(Map<String,Object> parameterMap)
long
findTokenCountByQueryCriteria(TokenQueryImpl query)
List<Token>
findTokensByNativeQuery(Map<String,Object> parameterMap)
boolean
isNewToken(Token token)
void
updateToken(Token updatedToken)
-
Methods inherited from class com.flowable.idm.engine.impl.persistence.entity.AbstractIdmEngineEntityManager
createEntityEvent
-
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, delete, delete, findById, fireEntityDeletedEvent, fireEntityInsertedEvent, fireEntityUpdatedEvent, getDataManager, insert, insert, setDataManager, update, update
-
-
-
-
Constructor Detail
-
TokenEntityManagerImpl
public TokenEntityManagerImpl(CoreIdmEngineConfiguration idmEngineConfiguration, TokenDataManager tokenDataManager)
-
-
Method Detail
-
createNewToken
public Token createNewToken(String tokenId)
- Specified by:
createNewToken
in interfaceTokenEntityManager
-
delete
public void delete(String id)
- Specified by:
delete
in interfaceEntityManager<TokenEntity>
- Overrides:
delete
in classAbstractEntityManager<TokenEntity,TokenDataManager>
-
updateToken
public void updateToken(Token updatedToken)
- Specified by:
updateToken
in interfaceTokenEntityManager
-
isNewToken
public boolean isNewToken(Token token)
- Specified by:
isNewToken
in interfaceTokenEntityManager
-
findTokenByQueryCriteria
public List<Token> findTokenByQueryCriteria(TokenQueryImpl query)
- Specified by:
findTokenByQueryCriteria
in interfaceTokenEntityManager
-
findTokenCountByQueryCriteria
public long findTokenCountByQueryCriteria(TokenQueryImpl query)
- Specified by:
findTokenCountByQueryCriteria
in interfaceTokenEntityManager
-
createNewTokenQuery
public TokenQuery createNewTokenQuery()
- Specified by:
createNewTokenQuery
in interfaceTokenEntityManager
-
findTokensByNativeQuery
public List<Token> findTokensByNativeQuery(Map<String,Object> parameterMap)
- Specified by:
findTokensByNativeQuery
in interfaceTokenEntityManager
-
findTokenCountByNativeQuery
public long findTokenCountByNativeQuery(Map<String,Object> parameterMap)
- Specified by:
findTokenCountByNativeQuery
in interfaceTokenEntityManager
-
-