1 package org.kuali.coeus.common.api.org; 2 3 public interface OrganizationRepositoryService { 4 5 /** 6 * Gets Cognizant Federal Agency for an organization. The pass in organization cannot be null. 7 * Will return an empty string the Cognizant Federal Agency cannot be determined. 8 * 9 * @param organization the organization. 10 * @return the Cognizant Federal Agency or a blank string 11 * @throws java.lang.IllegalArgumentException if the organization is null 12 */ 13 String getCognizantFedAgency(OrganizationContract organization); 14 15 /** 16 * This method will retrieves a {@link org.kuali.coeus.common.api.org.OrganizationContract} by organizationId. The organizationId cannot be blank. 17 * @param organizationId the organizationId. Cannot be blank. 18 * @return the {@link org.kuali.coeus.common.api.org.OrganizationContract} or null if not found. 19 * @throws java.lang.IllegalArgumentException if the organizationId is null 20 */ 21 OrganizationContract getOrganization(String organizationId); 22 }