src/main/java/org/opensrp/service/OrganizationService.java
/**
	 * Gets the locations and Plans assigned to an organization
	 * 
	 * @param identifier the organization identifier
	 * 
	 * @return the assigned locations and plans
	 */
Gets the locations and Plans assigned to an organization

@param identifier the organization identifier

@return the assigned locations and plans
Gets the locations and Plans assigned to an organization @param identifier the organization identifier @return the assigned locations and plans
public List<AssignedLocations> findAssignedLocationsAndPlans(String identifier) {
		validateIdentifier(identifier);
		Organization organization = getOrganization(identifier);
		if (organization == null)
			throw new IllegalArgumentException("Organization not found");
		return organizationRepository.findAssignedLocations(organization.getId());
	}
public List < AssignedLocations > findAssignedLocationsAndPlans ( String identifier ) { validateIdentifier ( identifier ) ; Organization organization = getOrganization ( identifier ) ; if ( organization == null ) throw new IllegalArgumentException ( "Organization not found" ) ; return organizationRepository . findAssignedLocations ( organization . getId ( ) ) ; }
Gets the locations and Plans assigned to an organization
Gets the locations and Plans assigned to an organization