Пример #1
0
 @Override
 public List<Permission> getAllPermissions() {
   log.debug("getAllPermissions()");
   return repository.findAll();
 }
Пример #2
0
 @Override
 public Permission get(Long id) {
   log.debug("get(id:{})", id);
   return repository.findOne(id);
 }
Пример #3
0
 @Override
 public Permission getPermissionByName(String scopeName) {
   log.debug("getPermissionByName(name:{})", scopeName);
   return repository.findByName(scopeName);
 }