01: package org.jasig.portal.events.support;
02:
03: import org.jasig.portal.UserProfile;
04: import org.jasig.portal.layout.node.IUserLayoutChannelDescription;
05: import org.jasig.portal.security.IPerson;
06:
07: public final class ChannelUpdatedInLayoutPortalEvent extends
08: ChannelLayoutPortalEvent {
09:
10: public ChannelUpdatedInLayoutPortalEvent(final Object source,
11: final IPerson person, final UserProfile profile,
12: final IUserLayoutChannelDescription description) {
13: super (source, person, profile, description);
14: }
15:
16: public String toString() {
17: return "Channel [" + getChannelDescription().getName() + ", "
18: + getChannelDescription().getChannelPublishId() + ", "
19: + getChannelDescription().getChannelSubscribeId()
20: + "] was updated in layout "
21: + getProfile().getLayoutId() + " by "
22: + getDisplayName() + " at " + getTimestampAsDate();
23: }
24: }
|