Source Code Cross Referenced for SimpleReporter.java in  » Content-Management-System » dspace » org » dspace » checker » 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 » Content Management System » dspace » org.dspace.checker 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright (c) 2004-2005, Hewlett-Packard Company and Massachusetts
003:         * Institute of Technology.  All rights reserved.
004:         *
005:         * Redistribution and use in source and binary forms, with or without
006:         * modification, are permitted provided that the following conditions are
007:         * met:
008:         *
009:         * - Redistributions of source code must retain the above copyright
010:         * notice, this list of conditions and the following disclaimer.
011:         *
012:         * - Redistributions in binary form must reproduce the above copyright
013:         * notice, this list of conditions and the following disclaimer in the
014:         * documentation and/or other materials provided with the distribution.
015:         *
016:         * - Neither the name of the Hewlett-Packard Company nor the name of the
017:         * Massachusetts Institute of Technology nor the names of their
018:         * contributors may be used to endorse or promote products derived from
019:         * this software without specific prior written permission.
020:         *
021:         * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
022:         * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
023:         * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
024:         * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
025:         * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
026:         * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
027:         * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
028:         * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
029:         * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
030:         * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
031:         * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
032:         * DAMAGE.
033:         */
034:        package org.dspace.checker;
035:
036:        import java.io.IOException;
037:        import java.io.OutputStreamWriter;
038:        import java.util.Date;
039:
040:        /**
041:         * 
042:         * Simple Reporting Class which can return several different reports.
043:         * 
044:         * @author Jim Downing
045:         * @author Grace Carpenter
046:         * @author Nathan Sarr
047:         * 
048:         */
049:        public interface SimpleReporter {
050:            /**
051:             * Returns the bitstreams set found to be deleted for the specified date
052:             * range.
053:             * 
054:             * @param startDate
055:             *            the start date range
056:             * @param endDate
057:             *            the end date range
058:             * @param osw
059:             *            the output stream writer to write to
060:             * 
061:             * @return number of bitstreams found
062:             * 
063:             * @throws IOException
064:             *             if io error occurs
065:             */
066:            public int getDeletedBitstreamReport(Date startDate, Date endDate,
067:                    OutputStreamWriter osw) throws IOException;
068:
069:            /**
070:             * The a report of bitstreams found where the checksum has been changed
071:             * since the last check for the specified date range.
072:             * 
073:             * @param startDate
074:             *            the start date range.
075:             * @param endDate
076:             *            then end date range.
077:             * @param osw
078:             *            the output stream writer to write to
079:             * 
080:             * @return number of bitstreams found
081:             * 
082:             * @throws IOException
083:             *             if io error occurs
084:             */
085:            public int getChangedChecksumReport(Date startDate, Date endDate,
086:                    OutputStreamWriter osw) throws IOException;
087:
088:            /**
089:             * The report of bitstreams for the specified date range where it was
090:             * determined the bitstreams can no longer be found.
091:             * 
092:             * @param startDate
093:             *            the start date range.
094:             * @param endDate
095:             *            the end date range.
096:             * @param osw
097:             *            the output stream writer to write to
098:             * 
099:             * @return number of bitstreams found
100:             * 
101:             * @throws IOException
102:             *             if io error occurs
103:             */
104:            public int getBitstreamNotFoundReport(Date startDate, Date endDate,
105:                    OutputStreamWriter osw) throws IOException;
106:
107:            /**
108:             * The bitstreams that were set to not be processed report for the specified
109:             * date range.
110:             * 
111:             * @param startDate
112:             *            the start date range.
113:             * @param endDate
114:             *            the end date range.
115:             * @param osw
116:             *            the output stream writer to write to
117:             * 
118:             * @throws IOException
119:             *             if io error occurs
120:             * 
121:             */
122:            public int getNotToBeProcessedReport(Date startDate, Date endDate,
123:                    OutputStreamWriter osw) throws IOException;
124:
125:            /**
126:             * The bitstreams that are not known to the checksum checker. This means
127:             * they are in the bitstream table but not in the most recent checksum table
128:             * 
129:             * @param osw
130:             *            the output stream writer to write to
131:             * 
132:             * @return number of bitstreams found
133:             * 
134:             * @throws IOException
135:             *             if io error occurs
136:             * 
137:             */
138:            public int getUncheckedBitstreamsReport(OutputStreamWriter osw)
139:                    throws IOException;
140:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.