public class MybatisPolicyResourceDataManager extends AbstractPolicyDataManager<PolicyResourceEntity> implements PolicyResourceDataManager
policyEngineConfiguration
MAX_ENTRIES_IN_CLAUSE
Constructor and Description |
---|
MybatisPolicyResourceDataManager(PolicyEngineConfiguration policyEngineConfiguration) |
Modifier and Type | Method and Description |
---|---|
PolicyResourceEntity |
create() |
void |
deleteResourcesByDeploymentId(String deploymentId) |
PolicyResourceEntity |
findResourceByDeploymentIdAndResourceName(String deploymentId,
String resourceName) |
List<PolicyResourceEntity> |
findResourcesByDeploymentId(String deploymentId) |
Class<? extends PolicyResourceEntity> |
getManagedEntityClass() |
getIdGenerator
bulkDelete, bulkDeleteEntities, bulkUpdateEntities, createSafeInValuesList, delete, delete, deleteCachedEntities, deleteCachedEntities, executeChangeWithInClause, findById, findByQuery, getCommandContext, getDbSqlSession, getEntity, getEntityCache, getList, getList, getList, getList, getList, getListFromCache, getListFromCache, getManagedEntitySubClasses, getSession, insert, isEntityInserted, update
public MybatisPolicyResourceDataManager(PolicyEngineConfiguration policyEngineConfiguration)
public Class<? extends PolicyResourceEntity> getManagedEntityClass()
getManagedEntityClass
in class AbstractDataManager<PolicyResourceEntity>
public PolicyResourceEntity create()
create
in interface DataManager<PolicyResourceEntity>
public void deleteResourcesByDeploymentId(String deploymentId)
deleteResourcesByDeploymentId
in interface PolicyResourceDataManager
public PolicyResourceEntity findResourceByDeploymentIdAndResourceName(String deploymentId, String resourceName)
findResourceByDeploymentIdAndResourceName
in interface PolicyResourceDataManager
public List<PolicyResourceEntity> findResourcesByDeploymentId(String deploymentId)
findResourcesByDeploymentId
in interface PolicyResourceDataManager