@Repository public class JPAPolicyDAO extends AbstractDAO<Policy> implements PolicyDAO
LOG
Constructor and Description |
---|
JPAPolicyDAO() |
Modifier and Type | Method and Description |
---|---|
<T extends Policy> |
delete(T policy) |
<T extends Policy> |
find(Class<T> reference) |
<T extends Policy> |
find(String key) |
List<Policy> |
findAll() |
List<AccountPolicy> |
findByAccountRule(Implementation accountRule) |
List<PasswordPolicy> |
findByPasswordRule(Implementation passwordRule) |
List<PullPolicy> |
findByPullCorrelationRule(Implementation correlationRule) |
List<PushPolicy> |
findByPushCorrelationRule(Implementation correlationRule) |
List<AccountPolicy> |
findByResource(ExternalResource resource) |
<T extends Policy> |
save(T policy) |
clear, detach, entityManager, entityManagerFactory, refresh
public List<AccountPolicy> findByAccountRule(Implementation accountRule)
findByAccountRule
in interface PolicyDAO
public List<PasswordPolicy> findByPasswordRule(Implementation passwordRule)
findByPasswordRule
in interface PolicyDAO
public List<PullPolicy> findByPullCorrelationRule(Implementation correlationRule)
findByPullCorrelationRule
in interface PolicyDAO
public List<PushPolicy> findByPushCorrelationRule(Implementation correlationRule)
findByPushCorrelationRule
in interface PolicyDAO
public List<AccountPolicy> findByResource(ExternalResource resource)
findByResource
in interface PolicyDAO
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.