ApplicationPermissionRepositoryAbstract

API

ApplicationPermissionRepositoryAbstract.java
class ApplicationPermissionRepositoryAbstract<P> {
  ApplicationPermission newApplicationPermission()
  List<ApplicationPermission> findByRoleCached(ApplicationRole role)
  List<ApplicationPermission> findByRole(ApplicationRole role)
  List<ApplicationPermission> findByUserCached(ApplicationUser user)
  List<ApplicationPermission> findByUser(ApplicationUser user)
  List<ApplicationPermission> findByUserMemento(UserMemento userMemento)
  List<ApplicationPermission> findByRoleNames(List<String> roleNames)
  Optional<ApplicationPermission> findByUserAndPermissionValue(String username, ApplicationPermissionValue permissionValue)     (1)
  Collection<ApplicationPermission> findByRoleAndRuleAndFeatureTypeCached(org.apache.causeway.extensions.secman.applib.role.dom.ApplicationRole role, ApplicationPermissionRule rule, ApplicationFeatureSort type)
  Collection<ApplicationPermission> findByRoleAndRuleAndFeatureType(org.apache.causeway.extensions.secman.applib.role.dom.ApplicationRole role, ApplicationPermissionRule rule, ApplicationFeatureSort featureSort)
  Optional<ApplicationPermission> findByRoleAndRuleAndFeatureCached(org.apache.causeway.extensions.secman.applib.role.dom.ApplicationRole role, ApplicationPermissionRule rule, ApplicationFeatureSort featureSort, String featureFqn)
  Optional<ApplicationPermission> findByRoleAndRuleAndFeature(org.apache.causeway.extensions.secman.applib.role.dom.ApplicationRole role, ApplicationPermissionRule rule, ApplicationFeatureSort featureSort, String featureFqn)
  Collection<ApplicationPermission> findByFeatureCached(ApplicationFeatureId featureId)
  Collection<ApplicationPermission> findByFeature(ApplicationFeatureId featureId)
  ApplicationPermission newPermission(org.apache.causeway.extensions.secman.applib.role.dom.ApplicationRole genericRole, ApplicationPermissionRule rule, ApplicationPermissionMode mode, ApplicationFeatureSort featureSort, String featureFqn)
  ApplicationPermission newPermissionNoCheck(ApplicationRole role, ApplicationPermissionRule rule, ApplicationPermissionMode mode, ApplicationFeatureSort featureSort, String featureFqn)
  ApplicationPermission newPermission(org.apache.causeway.extensions.secman.applib.role.dom.ApplicationRole genericRole, ApplicationPermissionRule rule, ApplicationPermissionMode mode, String featurePackage, String featureClassName, String featureMemberName)
  ApplicationPermission newPermission(org.apache.causeway.extensions.secman.applib.role.dom.ApplicationRole genericRole, ApplicationPermissionRule rule, ApplicationPermissionMode mode, ApplicationFeatureId featureId)
  Collection<ApplicationPermission> allPermissions()
  Collection<ApplicationPermission> findOrphaned()
}
1 findByUserAndPermissionValue(String, ApplicationPermissionValue)

Uses the QueryResultsCache in order to support multiple lookups from org.apache.causeway.extensions.secman.jdo.app.user.UserPermissionViewModel .

Members

findByUserAndPermissionValue(String, ApplicationPermissionValue)

Uses the QueryResultsCache in order to support multiple lookups from org.apache.causeway.extensions.secman.jdo.app.user.UserPermissionViewModel .