@Override
  public Set<Resource> getResources(Request request, Predicate predicate)
      throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException {

    Set<Resource> resources    = new HashSet<>();
    Set<String>   requestedIds = getRequestPropertyIds(request, predicate);

    for(PermissionEntity permissionEntity : permissionDAO.findAll()){

      resources.add(toResource(permissionEntity, requestedIds));
    }

    return resources;
  }
Static initialization.

@param dao  permission data access object
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/PermissionResourceProvider.java