All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openfact.models.OrganizationProvider Maven / Gradle / Ivy

package org.openfact.models;

import java.util.List;

public interface OrganizationProvider {

    OrganizationModel createOrganization(String name) throws ModelException;

    OrganizationModel createOrganization(String id, String name) throws ModelException;

    OrganizationModel getOrganization(String id);

    OrganizationModel getOrganizationByName(String name);

    List getOrganizations();

    List getOrganizations(int firstResult, int maxResults);

    boolean removeOrganization(String organizationId);

    boolean removeOrganization(OrganizationModel organization);

    int getOrganizationsCount();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy