class LdapSyncEventResourceProvider extends AbstractControllerResourceProvider {

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

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

    for (LdapSyncEventEntity eventEntity : events.values()) {
      resources.add(toResource(eventEntity, requestedIds));
    }
    return resources;
  }

  public  LdapSyncEventResourceProvider(AmbariManagementController managementController);

}