Source Code Cross Referenced for RefererManager.java in  » Blogger-System » apache-roller-3.1 » org » apache » roller » business » referrers » 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 » Blogger System » apache roller 3.1 » org.apache.roller.business.referrers 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Licensed to the Apache Software Foundation (ASF) under one or more
003:         *  contributor license agreements.  The ASF licenses this file to You
004:         * under the Apache License, Version 2.0 (the "License"); you may not
005:         * use this file except in compliance with the License.
006:         * You may obtain a copy of the License at
007:         *
008:         *     http://www.apache.org/licenses/LICENSE-2.0
009:         *
010:         * Unless required by applicable law or agreed to in writing, software
011:         * distributed under the License is distributed on an "AS IS" BASIS,
012:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013:         * See the License for the specific language governing permissions and
014:         * limitations under the License.  For additional information regarding
015:         * copyright in this work, please see the NOTICE file in the top level
016:         * directory of this distribution.
017:         */
018:
019:        package org.apache.roller.business.referrers;
020:
021:        import java.util.List;
022:        import org.apache.roller.RollerException;
023:        import org.apache.roller.pojos.RefererData;
024:        import org.apache.roller.pojos.WebsiteData;
025:
026:        /**
027:         * Interface to Referer management.
028:         */
029:        public interface RefererManager {
030:
031:            /**
032:             * Store the referer.
033:             */
034:            public void saveReferer(RefererData referer) throws RollerException;
035:
036:            /**
037:             * Remove a single referer.
038:             */
039:            public void removeReferer(RefererData referer)
040:                    throws RollerException;
041:
042:            /**
043:             * Clear referrer dayhits and remove referrers without excerpts.
044:             */
045:            public void clearReferrers() throws RollerException;
046:
047:            /**
048:             * Clear referrer dayhits and remove referrers without excerpts.
049:             */
050:            public void clearReferrers(WebsiteData website)
051:                    throws RollerException;
052:
053:            /**
054:             * Retrieve referer by id.
055:             */
056:            public RefererData getReferer(String id) throws RollerException;
057:
058:            /**
059:             * Get all referers for specified weblog.
060:             * @param weblog
061:             * @return List of type RefererData
062:             */
063:            public List getReferers(WebsiteData weblog) throws RollerException;
064:
065:            /**
066:             * Get all referers for specified user that were made today.
067:             * @param userName Name of user.
068:             * @return List of type RefererData
069:             */
070:            public List getTodaysReferers(WebsiteData website)
071:                    throws RollerException;
072:
073:            /**
074:             * Get referers for a specified date.
075:             * @param userName Name of user.
076:             * @param date YYYYMMDD format of day's date.
077:             * @return List of type RefererData.
078:             * @throws RollerException
079:             */
080:            public List getReferersToDate(WebsiteData website, String date)
081:                    throws RollerException;
082:
083:            /**
084:             * Get most popular websites based on referer day hits.
085:             * @param offset    Offset into results (for paging)
086:             * @param len       Maximum number of results to return (for paging)
087:             * @return List of WebsiteDisplayData objects.
088:             */
089:            public List getDaysPopularWebsites(int offset, int length)
090:                    throws RollerException;
091:
092:            /**
093:             * Returns hot weblogs as StatCount objects, in descending order by today's hits.
094:             * @param sinceDays Restrict to last X days (or -1 for all)
095:             * @param offset    Offset into results (for paging)
096:             * @param len       Maximum number of results to return (for paging)
097:             * @return List of StatCount objects.
098:             */
099:            public List getHotWeblogs(int sinceDays, int offset, int length)
100:                    throws RollerException;
101:
102:            /**
103:             * Get referers that refer to a specific weblog entry.
104:             * @param entryid Weblog entry ID
105:             * @return List of RefererData objects.
106:             * @throws RollerException
107:             */
108:            public List getReferersToEntry(String entryid)
109:                    throws RollerException;
110:
111:            /** 
112:             * Get user's day hits 
113:             */
114:            public int getDayHits(WebsiteData website) throws RollerException;
115:
116:            /** 
117:             * Get user's all-time total hits 
118:             */
119:            public int getTotalHits(WebsiteData website) throws RollerException;
120:
121:            /**
122:             * Apply ignoreWord/spam filters to all referers in system.
123:             */
124:            public void applyRefererFilters() throws RollerException;
125:
126:            /**
127:             * Apply ignoreWord/spam filters to all referers in website.
128:             */
129:            public void applyRefererFilters(WebsiteData website)
130:                    throws RollerException;
131:
132:            /**
133:             * Process an incoming referer.
134:             */
135:            public void processReferrer(String requestUrl, String referrerUrl,
136:                    String weblogHandle, String weblogAnchor,
137:                    String weblogDateString);
138:
139:            /**
140:             * Release all resources held by manager.
141:             */
142:            public void release();
143:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.