Source Code Cross Referenced for IStatsRecorder.java in  » Portal » uPortal_rel-2-6-1-GA » org » jasig » portal » services » stats » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » uPortal_rel 2 6 1 GA » org.jasig.portal.services.stats 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /* Copyright 2002 The JA-SIG Collaborative.  All rights reserved.
002:         *  See license distributed with this file and
003:         *  available online at http://www.uportal.org/license.html
004:         */
005:
006:        package org.jasig.portal.services.stats;
007:
008:        import org.jasig.portal.ChannelDefinition;
009:        import org.jasig.portal.UserProfile;
010:        import org.jasig.portal.layout.node.IUserLayoutChannelDescription;
011:        import org.jasig.portal.layout.node.IUserLayoutFolderDescription;
012:        import org.jasig.portal.security.IPerson;
013:
014:        /**
015:         * <p>Gathers portal usage statistics such as user logins.
016:         * All the implementors of this interface should handle
017:         * their own exceptions.</p>
018:         * <p>In a multiple-server environment,
019:         * the <code>IStatsRecorder</code> implementation will be
020:         * called by the portal on each JVM.  For such a set-up,
021:         * the <code>IStatsRecorder</code> implementation should
022:         * probably aggregate statistics on a single server.</p>
023:         * 
024:         * @author Ken Weiner, kweiner@unicon.net
025:         * @version $Revision: 35167 $
026:         */
027:        public interface IStatsRecorder {
028:            /**
029:             * Called when user authenticates successfully.
030:             * @param person the IPerson object
031:             */
032:            public void recordLogin(IPerson person);
033:
034:            /**
035:             * Called when user logs out.
036:             * @param person the IPerson object
037:             */
038:            public void recordLogout(IPerson person);
039:
040:            /**
041:             * Called when a new session is created for a user.
042:             * @param person the IPerson object
043:             */
044:            public void recordSessionCreated(IPerson person);
045:
046:            /**
047:             * Called when the user's session is destroyed.  This
048:             * occurs when the user logs out or his/her session
049:             * simply times out.
050:             * @param person the IPerson object
051:             */
052:            public void recordSessionDestroyed(IPerson person);
053:
054:            /**
055:             * Called when a user publishes a channel
056:             * @param person the person pubishing the channel
057:             * @param channelDef the channel being published
058:             */
059:            public void recordChannelDefinitionPublished(IPerson person,
060:                    ChannelDefinition channelDef);
061:
062:            /**
063:             * Called when a user modifies an existing channel
064:             * @param person the person modifying the channel
065:             * @param channelDef the channel being modified
066:             */
067:            public void recordChannelDefinitionModified(IPerson person,
068:                    ChannelDefinition channelDef);
069:
070:            /**
071:             * Called when a user removes an existing channel
072:             * @param person the person removing the channel
073:             * @param channelDef the channel being removed
074:             */
075:            public void recordChannelDefinitionRemoved(IPerson person,
076:                    ChannelDefinition channelDef);
077:
078:            /**
079:             * Called when a channel is being added to a user layout
080:             * @param person the person adding the channel
081:             * @param profile the profile of the layout to which the channel is added
082:             * @param channelDesc the channel being subscribed to
083:             */
084:            public void recordChannelAddedToLayout(IPerson person,
085:                    UserProfile profile,
086:                    IUserLayoutChannelDescription channelDesc);
087:
088:            /**
089:             * Called when a channel is being updated in a user layout
090:             * @param person the person updating the channel
091:             * @param profile the profile of the layout in which the channel is updated
092:             * @param channelDesc the channel being updated
093:             */
094:            public void recordChannelUpdatedInLayout(IPerson person,
095:                    UserProfile profile,
096:                    IUserLayoutChannelDescription channelDesc);
097:
098:            /**
099:             * Called when a channel is being moved in a user layout
100:             * @param person the person moving the channel
101:             * @param profile the profile of the layout in which the channel is moved
102:             * @param channelDesc the channel being moved
103:             */
104:            public void recordChannelMovedInLayout(IPerson person,
105:                    UserProfile profile,
106:                    IUserLayoutChannelDescription channelDesc);
107:
108:            /**
109:             * Called when a channel is being removed from a user layout
110:             * @param person the person removing the channel
111:             * @param profile the profile of the layout to which the channel is removed   
112:             * @param channelDesc the channel being removed from a user layout
113:             */
114:            public void recordChannelRemovedFromLayout(IPerson person,
115:                    UserProfile profile,
116:                    IUserLayoutChannelDescription channelDesc);
117:
118:            /**
119:             * Called when a folder is being added to a user layout
120:             * @param person the person adding the folder
121:             * @param profile the profile of the layout to which the folder is added
122:             * @param folderDesc the folder being subscribed to
123:             */
124:            public void recordFolderAddedToLayout(IPerson person,
125:                    UserProfile profile, IUserLayoutFolderDescription folderDesc);
126:
127:            /**
128:             * Called when a folder is being updated in a user layout
129:             * @param person the person updating the folder
130:             * @param profile the profile of the layout in which the folder is updated
131:             * @param folderDesc the folder being updated
132:             */
133:            public void recordFolderUpdatedInLayout(IPerson person,
134:                    UserProfile profile, IUserLayoutFolderDescription folderDesc);
135:
136:            /**
137:             * Called when a folder is being moved in a user layout
138:             * @param person the person moving the folder
139:             * @param profile the profile of the layout in which the folder is moved
140:             * @param folderDesc the folder being moved
141:             */
142:            public void recordFolderMovedInLayout(IPerson person,
143:                    UserProfile profile, IUserLayoutFolderDescription folderDesc);
144:
145:            /**
146:             * Called when a folder is being removed from a user layout
147:             * @param person the person removing the folder
148:             * @param profile the profile of the layout to which the folder is removed   
149:             * @param folderDesc the folder being removed from a user layout
150:             */
151:            public void recordFolderRemovedFromLayout(IPerson person,
152:                    UserProfile profile, IUserLayoutFolderDescription folderDesc);
153:
154:            /**
155:             * Called when a channel is being instantiated
156:             * @param person the person instantiating the channel
157:             * @param profile the profile of the layout in which this channel is instantiated
158:             * @param channelDesc the channel being instantiated
159:             */
160:            public void recordChannelInstantiated(IPerson person,
161:                    UserProfile profile,
162:                    IUserLayoutChannelDescription channelDesc);
163:
164:            /**
165:             * Called when a channel is being rendered
166:             * @param person the person rendering the channel
167:             * @param profile the profile of the layout in which this channel is rendered
168:             * @param channelDesc the channel being rendered
169:             */
170:            public void recordChannelRendered(IPerson person,
171:                    UserProfile profile,
172:                    IUserLayoutChannelDescription channelDesc);
173:
174:            /**
175:             * Called when a channel is being targeted
176:             * @param person the person interacting with the channel
177:             * @param profile the profile of the layout in which this channel resides
178:             * @param channelDesc the channel being targeted
179:             */
180:            public void recordChannelTargeted(IPerson person,
181:                    UserProfile profile,
182:                    IUserLayoutChannelDescription channelDesc);
183:
184:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.