01: /* Copyright 2005 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.layout.dlm;
07:
08: import java.util.List;
09:
10: /**
11: *
12: * Interface added solely to get around threads needing to be tagged when
13: * updating group membership information from within the uPortal code base.
14: * Fragment owners do not have proper roles. To fix this problem bug 19794
15: * was opened and this interface enables schools to declare which roles a
16: * fragment owner should have and propagate that configuration into LDAP using
17: * our groups manager. But we can't have any compile time dependancies so this
18: * interface allows us to place the implementing code over in the cp tree and
19: * instantiate the class via the class name and call it via its implementation
20: * of this interface.
21: *
22: * @author mboyd
23: * @version $Revision: 35705 $ $Date: 2005-05-01 20:14:20 -0700 (Sun, 01 May 2005) $
24: * @since uPortal 2.5
25: */
26: public interface IRoleUpdater {
27: /**
28: * Changes the roles for this owner to be only those indicated in the
29: * passed in List.
30: *
31: * @param owner
32: * @param roles
33: */
34: public void setFragmentOwnerRoles(String owner, List roles);
35: }
|