class PermissionsManager {

  public AbstractPermissions get(String userId, String domainId, String instanceId)
      throws ServerException, NotFoundException, ConflictException {
    return getPermissionsDao(domainId).get(userId, instanceId);
  }

  @Inject public  PermissionsManager(
      EventService eventService, Set<PermissionsDao<? extends AbstractPermissions>> daos);

}