01: /* Copyright 2001 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: /**
09: * An interface for retrieving <code>IEntities</code>.
10: * @author Dan Ellentuck
11: * @version 1.0, 11/29/01
12: */
13: public interface IEntityStore {
14: /**
15: * @return org.jasig.portal.groups.IEntity
16: * @param key java.lang.String
17: */
18: IEntity newInstance(String key) throws GroupsException;
19:
20: /**
21: * @return org.jasig.portal.groups.IEntity
22: * @param key java.lang.String - the entity's key
23: * @param type java.lang.Class - the entity's Type
24: */
25: IEntity newInstance(String key, Class type) throws GroupsException;
26: }
|