01: /* Copyright 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.services.stats;
07:
08: import org.jasig.portal.UserProfile;
09: import org.jasig.portal.layout.node.IUserLayoutFolderDescription;
10: import org.jasig.portal.security.IPerson;
11:
12: /**
13: * Records the updating of a folder in a user's layout
14: * in a separate thread.
15: * @author Ken Weiner, kweiner@unicon.net
16: * @version $Revision: 36546 $
17: *
18: * @deprecated IStatsRecorder implementation is replaced with a much more flexible system
19: * based on the Spring ApplicationEventPublisher and Event Listeners.
20: * For more information see:
21: * http://www.ja-sig.org/wiki/display/UPC/Proposal+to+Deprecate+IStatsRecorder
22: */
23: public class RecordFolderUpdatedInLayoutWorkerTask extends
24: StatsRecorderWorkerTask {
25:
26: IPerson person;
27: UserProfile profile;
28: IUserLayoutFolderDescription folderDesc;
29:
30: public RecordFolderUpdatedInLayoutWorkerTask(IPerson person,
31: UserProfile profile, IUserLayoutFolderDescription folderDesc) {
32: this .person = person;
33: this .profile = profile;
34: this .folderDesc = folderDesc;
35: }
36:
37: public void execute() throws Exception {
38: this.statsRecorder.recordFolderUpdatedInLayout(this.person,
39: this.profile, this.folderDesc);
40: }
41: }
|