class OrganizationRemoteSubscriptionPermissionsChecks {

  @Inject
  public void register(RemoteSubscriptionPermissionManager permissionFilter) {
    MembershipsChangedSubscriptionCheck membershipsEventsCheck =
        new MembershipsChangedSubscriptionCheck();

    permissionFilter.registerCheck(membershipsEventsCheck, ORGANIZATION_MEMBERSHIP_METHOD_NAME);

    OrganizationChangedSubscriptionCheck organizationChangedCheck =
        new OrganizationChangedSubscriptionCheck(permissionsManager);
    permissionFilter.registerCheck(organizationChangedCheck, ORGANIZATION_CHANGED_METHOD_NAME);
  }

  @Inject public  OrganizationRemoteSubscriptionPermissionsChecks(PermissionsManager permissionsManager);

}