Source Code Cross Referenced for StatsRecorderFlagsImpl.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 2005 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:        /**
009:         * Mutable JavaBean implementation of IStatsRecorderFlags.
010:         * Each IStatsRecorder method has an associated flag indicating whether we 
011:         * should attend to that method.
012:         * @version $Revision: 35948 $ $Date: 2005-07-15 14:47:07 -0700 (Fri, 15 Jul 2005) $
013:         * @since uPortal 2.5.1
014:         * @see IStatsRecorder
015:         * @see IStatsRecorderFlags
016:         */
017:        public class StatsRecorderFlagsImpl implements  IStatsRecorderFlags {
018:
019:            private boolean recordLogin = false;
020:            private boolean recordLogout = false;
021:            private boolean recordSessionCreated = false;
022:            private boolean recordSessionDestroyed = false;
023:            private boolean recordChannelDefinitionPublished = false;
024:            private boolean recordChannelDefinitionModified = false;
025:            private boolean recordChannelDefinitionRemoved = false;
026:            private boolean recordChannelAddedToLayout = false;
027:            private boolean recordChannelUpdatedInLayout = false;
028:            private boolean recordChannelMovedInLayout = false;
029:            private boolean recordChannelRemovedFromLayout = false;
030:            private boolean recordFolderAddedToLayout = false;
031:            private boolean recordFolderUpdatedInLayout = false;
032:            private boolean recordFolderMovedInLayout = false;
033:            private boolean recordFolderRemovedFromLayout = false;
034:            private boolean recordChannelInstantiated = false;
035:            private boolean recordChannelRendered = false;
036:            private boolean recordChannelTargeted = false;
037:
038:            /**
039:             * Returns true if we should record when a channel is added to a layout;
040:             * false otherwise.
041:             * @return Returns the recordChannelAddedToLayout.
042:             */
043:            public boolean isRecordChannelAddedToLayout() {
044:                return this .recordChannelAddedToLayout;
045:            }
046:
047:            /**
048:             * Set whether we should record when a channel is added to a layout.
049:             * @param recordChannelAddedToLayout true iff we should record when a channel is added to a layout
050:             */
051:            public void setRecordChannelAddedToLayout(
052:                    boolean recordChannelAddedToLayout) {
053:                this .recordChannelAddedToLayout = recordChannelAddedToLayout;
054:            }
055:
056:            /**
057:             * Returns true if we should record when a channel definition is modified.
058:             * @return Returns whether we should record when a channel definition is modified.
059:             */
060:            public boolean isRecordChannelDefinitionModified() {
061:                return this .recordChannelDefinitionModified;
062:            }
063:
064:            /**
065:             * Set whether we should record when a channel definition is modified.
066:             * @param recordChannelDefinitionModified true iff we should record when a channel definition is modified.
067:             */
068:            public void setRecordChannelDefinitionModified(
069:                    boolean recordChannelDefinitionModified) {
070:                this .recordChannelDefinitionModified = recordChannelDefinitionModified;
071:            }
072:
073:            /**
074:             * Returns true if we should record when a channel definition is published, false otherwise.
075:             * @return Returns true iff we should record when a channel definition is published.
076:             */
077:            public boolean isRecordChannelDefinitionPublished() {
078:                return this .recordChannelDefinitionPublished;
079:            }
080:
081:            /**
082:             * Set whether we should record when a channel definition is published.
083:             * @param recordChannelDefinitionPublished The recordChannelDefinitionPublished to set.
084:             */
085:            public void setRecordChannelDefinitionPublished(
086:                    boolean recordChannelDefinitionPublished) {
087:                this .recordChannelDefinitionPublished = recordChannelDefinitionPublished;
088:            }
089:
090:            /**
091:             * Returns true iff we should record when a channel definition is removed.
092:             * @return Returns true iff we should record when a channel definition is removed.
093:             */
094:            public boolean isRecordChannelDefinitionRemoved() {
095:                return this .recordChannelDefinitionRemoved;
096:            }
097:
098:            /**
099:             * Set whether we should record when a channel definition is removed.
100:             * @param recordChannelDefinitionRemoved true iff we should record when a channel definition is removed.
101:             */
102:            public void setRecordChannelDefinitionRemoved(
103:                    boolean recordChannelDefinitionRemoved) {
104:                this .recordChannelDefinitionRemoved = recordChannelDefinitionRemoved;
105:            }
106:
107:            /**
108:             * Returns whether we should record when a channel is instantiated.
109:             * @return Returns whether we should record when a channel is instantiated.
110:             */
111:            public boolean isRecordChannelInstantiated() {
112:                return this .recordChannelInstantiated;
113:            }
114:
115:            /**
116:             * Set whether we should record channel instantiation.
117:             * @param recordChannelInstantiated true iff we should record channel instantiation.
118:             */
119:            public void setRecordChannelInstantiated(
120:                    boolean recordChannelInstantiated) {
121:                this .recordChannelInstantiated = recordChannelInstantiated;
122:            }
123:
124:            /**
125:             * Returns whether we should record a channel being moved within a layout.
126:             * @return Returns true iff we should record a channel being moved within a layout.
127:             */
128:            public boolean isRecordChannelMovedInLayout() {
129:                return this .recordChannelMovedInLayout;
130:            }
131:
132:            /**
133:             * Set whether we should record a channel being moved within a layout.
134:             * @param recordChannelMovedInLayout true iff we should record a channel being moved within a layout.
135:             */
136:            public void setRecordChannelMovedInLayout(
137:                    boolean recordChannelMovedInLayout) {
138:                this .recordChannelMovedInLayout = recordChannelMovedInLayout;
139:            }
140:
141:            /**
142:             * Returns true if we should record a channel being removed from a layout, false otherwise.
143:             * @return true if we should record a channel being removed from a layout, false otherwise.
144:             */
145:            public boolean isRecordChannelRemovedFromLayout() {
146:                return this .recordChannelRemovedFromLayout;
147:            }
148:
149:            /**
150:             * Set whether we should record a channel being removed from a layout.
151:             * @param recordChannelRemovedFromLayout true iff we should record a channel being removed from a layout.
152:             */
153:            public void setRecordChannelRemovedFromLayout(
154:                    boolean recordChannelRemovedFromLayout) {
155:                this .recordChannelRemovedFromLayout = recordChannelRemovedFromLayout;
156:            }
157:
158:            /**
159:             * Returns true if we should record when a channel is rendered, false otherwise.
160:             * @return Returns true iff we should record when a channel is rendered.
161:             */
162:            public boolean isRecordChannelRendered() {
163:                return this .recordChannelRendered;
164:            }
165:
166:            /**
167:             * Set whether we should record when a channel is rendered.
168:             * @param recordChannelRendered The recordChannelRendered to set.
169:             */
170:            public void setRecordChannelRendered(boolean recordChannelRendered) {
171:                this .recordChannelRendered = recordChannelRendered;
172:            }
173:
174:            /**
175:             * Returns true if we should record when a channel is targetted, false otherwise.
176:             * @return Returns true iff we should record when a channel is targetted.
177:             */
178:            public boolean isRecordChannelTargeted() {
179:                return this .recordChannelTargeted;
180:            }
181:
182:            /**
183:             * Set whether we should record when a channel is targetted.
184:             * @param recordChannelTargeted true iff we should record when a channel is targetted
185:             */
186:            public void setRecordChannelTargeted(boolean recordChannelTargeted) {
187:                this .recordChannelTargeted = recordChannelTargeted;
188:            }
189:
190:            /**
191:             * Returns true if we should record when a channel is updated within a layout, false otherwise.
192:             * @return Returns true iff we should record when a channel is updated in a layout.
193:             */
194:            public boolean isRecordChannelUpdatedInLayout() {
195:                return this .recordChannelUpdatedInLayout;
196:            }
197:
198:            /**
199:             * Set whether we should record a channel being updated within a layout.
200:             * @param recordChannelUpdatedInLayout true iff we should record a channel being updated within a layout.
201:             */
202:            public void setRecordChannelUpdatedInLayout(
203:                    boolean recordChannelUpdatedInLayout) {
204:                this .recordChannelUpdatedInLayout = recordChannelUpdatedInLayout;
205:            }
206:
207:            /**
208:             * Returns true if we should record when a folder is added to a layout, false otherwise.
209:             * @return Returns true iff we should record when a folder is added to a layout.
210:             */
211:            public boolean isRecordFolderAddedToLayout() {
212:                return this .recordFolderAddedToLayout;
213:            }
214:
215:            /**
216:             * Set whether we should record when a folder is added to a layout.
217:             * @param recordFolderAddedToLayout true iff we should record when a folder is added to a layout.
218:             */
219:            public void setRecordFolderAddedToLayout(
220:                    boolean recordFolderAddedToLayout) {
221:                this .recordFolderAddedToLayout = recordFolderAddedToLayout;
222:            }
223:
224:            /**
225:             * Returns true if we should record that a folder is moved in a layout, false otherwise.
226:             * @return Returns true iff we should record that a folder is moved in a layout.
227:             */
228:            public boolean isRecordFolderMovedInLayout() {
229:                return this .recordFolderMovedInLayout;
230:            }
231:
232:            /**
233:             * Set whether we should record that a folder is moved within a layout.
234:             * @param recordFolderMovedInLayout true iff we should record a folder being moved in a layout.
235:             */
236:            public void setRecordFolderMovedInLayout(
237:                    boolean recordFolderMovedInLayout) {
238:                this .recordFolderMovedInLayout = recordFolderMovedInLayout;
239:            }
240:
241:            /**
242:             * Returns true iff we should record a folder being removed from a layout.
243:             * @return Returns true if a folder is removed from a layout.
244:             */
245:            public boolean isRecordFolderRemovedFromLayout() {
246:                return this .recordFolderRemovedFromLayout;
247:            }
248:
249:            /**
250:             * Set whether we should record a folder being removed from a layout.
251:             * @param recordFolderRemovedFromLayout true iff we should record a folder being removed from a layout
252:             */
253:            public void setRecordFolderRemovedFromLayout(
254:                    boolean recordFolderRemovedFromLayout) {
255:                this .recordFolderRemovedFromLayout = recordFolderRemovedFromLayout;
256:            }
257:
258:            /**
259:             * Returns true if we should record a folder being updated within a layout, false otherwise.
260:             * @return true iff we should record a folder being updated within a layout.
261:             */
262:            public boolean isRecordFolderUpdatedInLayout() {
263:                return this .recordFolderUpdatedInLayout;
264:            }
265:
266:            /**
267:             * Set whether we should record a folder being updated within a layout.
268:             * @param recordFolderUpdatedInLayout true iff we should record a folder being updated within a layout.
269:             */
270:            public void setRecordFolderUpdatedInLayout(
271:                    boolean recordFolderUpdatedInLayout) {
272:                this .recordFolderUpdatedInLayout = recordFolderUpdatedInLayout;
273:            }
274:
275:            /**
276:             * Returns true iff we should record a user logging in.
277:             * @return true iff we should record a user logging in.
278:             */
279:            public boolean isRecordLogin() {
280:                return this .recordLogin;
281:            }
282:
283:            /**
284:             * Set whether we should record a user logging in.
285:             * @param recordLogin true iff we should record a user logging in.
286:             */
287:            public void setRecordLogin(boolean recordLogin) {
288:                this .recordLogin = recordLogin;
289:            }
290:
291:            /**
292:             * Returns true iff we should record a user logging out.
293:             * @return true iff we should record a user logging out.
294:             */
295:            public boolean isRecordLogout() {
296:                return this .recordLogout;
297:            }
298:
299:            /**
300:             * Set whether we should record a user logging out.
301:             * @param recordLogout true iff we should record a user logging out.
302:             */
303:            public void setRecordLogout(boolean recordLogout) {
304:                this .recordLogout = recordLogout;
305:            }
306:
307:            /**
308:             * Returns true if we should record a session being created, false otherwise.
309:             * @return true iff we should record when a session is created.
310:             */
311:            public boolean isRecordSessionCreated() {
312:                return this .recordSessionCreated;
313:            }
314:
315:            /**
316:             * Set whether we should record a session being created.
317:             * @param recordSessionCreated true iff we should record when a session is created.
318:             */
319:            public void setRecordSessionCreated(boolean recordSessionCreated) {
320:                this .recordSessionCreated = recordSessionCreated;
321:            }
322:
323:            /**
324:             * Return true iff we should record a session being destroyed.
325:             * @return true iff we should record a session being destroyed.
326:             */
327:            public boolean isRecordSessionDestroyed() {
328:                return this .recordSessionDestroyed;
329:            }
330:
331:            /**
332:             * Set whether we should record a session being destroyed.
333:             * @param recordSessionDestroyed True iff we should record a session being destroyed.
334:             */
335:            public void setRecordSessionDestroyed(boolean recordSessionDestroyed) {
336:                this.recordSessionDestroyed = recordSessionDestroyed;
337:            }
338:
339:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.