01: /* Copyright 2001, 2002 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.groups;
07:
08: import org.jasig.portal.EntityIdentifier;
09:
10: /**
11: * Defines an api for searching for entities
12: *
13: * @author Alex Vigdor
14: * @version $Revision: 34758 $
15: */
16:
17: public interface IEntitySearcher {
18: /**
19: * Find EntityIdentifiers for entities whose name matches the query string
20: * according to the specified method and is of the specified type
21: */
22: public EntityIdentifier[] searchForEntities(String query,
23: int method, Class type) throws GroupsException;
24: }
|