public interface CampusService
CampusService interface.
| Modifier and Type | Method and Description |
|---|---|
List<Campus> |
findAllCampuses()
This will return all
Campus. |
List<CampusType> |
findAllCampusTypes()
This will return all
CampusType. |
CampusQueryResults |
findCampuses(QueryByCriteria queryByCriteria)
This method find Campuses based on a query criteria.
|
CampusTypeQueryResults |
findCampusTypes(QueryByCriteria queryByCriteria)
This method find CampusTypes based on a query criteria.
|
Campus |
getCampus(String code)
This will return a
Campus. |
CampusType |
getCampusType(String code)
This will return a
CampusType. |
@Cacheable(value="http://rice.kuali.org/location/v2_0/CampusType",
key="\'code=\' + #p0")
Campus getCampus(String code)
throws RiceIllegalArgumentException
Campus.code - the code of the campus to returnRiceIllegalArgumentException - if the code is null or blank@Cacheable(value="http://rice.kuali.org/location/v2_0/CampusType",
key="\'all\'")
List<Campus> findAllCampuses()
Campus.@Cacheable(value="http://rice.kuali.org/location/v2_0/CampusTypeType",
key="\'code=\' + #p0")
CampusType getCampusType(String code)
throws RiceIllegalArgumentException
CampusType.code - the code of the campus type to returnRiceIllegalArgumentException - if the code is null@Cacheable(value="http://rice.kuali.org/location/v2_0/CampusTypeType",
key="\'all\'")
List<CampusType> findAllCampusTypes()
CampusType.CampusQueryResults findCampuses(QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException
queryByCriteria - the criteria. Cannot be null.IllegalArgumentException - if the queryByCriteria is nullRiceIllegalArgumentExceptionCampusTypeQueryResults findCampusTypes(QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException
queryByCriteria - the criteria. Cannot be null.IllegalArgumentException - if the queryByCriteria is nullRiceIllegalArgumentExceptionCopyright © 2005–2015 The Kuali Foundation. All rights reserved.