01: package org.jasig.portal.events.support;
02:
03: import org.jasig.portal.UserProfile;
04: import org.jasig.portal.events.PortalEvent;
05: import org.jasig.portal.layout.node.IUserLayoutFolderDescription;
06: import org.jasig.portal.security.IPerson;
07:
08: /**
09: *
10: * @author Scott Battaglia
11: * @version $Revision: 36817 $ $Date: 2007-02-28 11:58:01 -0700 (Wed, 28 Feb 2007) $
12: * @since 2.6
13: *
14: */
15: public abstract class LayoutPortalEvent extends PortalEvent {
16:
17: private final UserProfile profile;
18:
19: private final IUserLayoutFolderDescription folder;
20:
21: public LayoutPortalEvent(final Object source, final IPerson person,
22: final UserProfile profile,
23: final IUserLayoutFolderDescription folder) {
24: super (source, person);
25:
26: this .profile = profile;
27: this .folder = folder;
28: }
29:
30: public final UserProfile getProfile() {
31: return this .profile;
32: }
33:
34: public final IUserLayoutFolderDescription getFolder() {
35: return this.folder;
36: }
37: }
|