1 /** 2 * Copyright 2011-2012 The Kuali Foundation Licensed under the 3 * Educational Community License, Version 2.0 (the "License"); you may 4 * not use this file except in compliance with the License. You may 5 * obtain a copy of the License at 6 * 7 * http://www.osedu.org/licenses/ECL-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, 10 * software distributed under the License is distributed on an "AS IS" 11 * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 12 * or implied. See the License for the specific language governing 13 * permissions and limitations under the License. 14 */ 15 package org.kuali.mobility.people.entity; 16 17 import java.util.List; 18 19 public interface SearchResult { 20 21 void setSearchCriteria( SearchCriteria criteria ); 22 23 SearchCriteria getSearchCriteria(); 24 25 /** 26 * @return the error 27 */ 28 String getError(); 29 30 /** 31 * @return the groups 32 */ 33 List<? extends Group> getGroups(); 34 35 /** 36 * @return the people 37 */ 38 List<? extends Person> getPeople(); 39 40 /** 41 * @param error the error to set 42 */ 43 void setError(String error); 44 45 /** 46 * @param groups the groups to set 47 */ 48 void setGroups(List<? extends Group> groups); 49 50 /** 51 * @param people the people to set 52 */ 53 void setPeople(List<? extends Person> people); 54 55 }