Commit Graph

17370 Commits

Author SHA1 Message Date
Peter Breton
b1fb8e7b9a Use log4j Logger object instead of Category
git-svn-id: http://scm.dspace.org/svn/repo/trunk@220 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-24 22:04:12 +00:00
Robert Tansley
8587b40572 - Tweaked "browse by date, most recent first" behaviour in browse UI. When the
user chooses something like "February 2000" in this case, the browse starts
from the *last* date in Feb 2000 (i.e. 29 Feb 2000), instead of the first.
If the index looks like this:

March 2000
14 Feb 2000
15 Jan 2000

Entering "Feb 2000" would start the browse at 15 Jan 2000, counter-intuitively,
because "Feb 2000" would appear after "14 Feb 2000" in the index, and the
browse code uses the first available value after that.

Now, in this case, the browse UI will pretend the user wants to start the
browse on "29 Feb 2000", since this means 14 Feb 2000 is used as the starting
point for the browse.

Behaviour when ordering with the oldest item first is unchanged.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@219 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-24 21:54:51 +00:00
Peter Breton
02572dde50 Fix bogus log4j category
git-svn-id: http://scm.dspace.org/svn/repo/trunk@218 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-24 21:47:42 +00:00
Peter Breton
c8730a5578 All methods are now implemented (by delegating to HistoryManager)
Upgraded javadoc


git-svn-id: http://scm.dspace.org/svn/repo/trunk@217 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-24 19:36:56 +00:00
Peter Breton
fc621fb98d Upgrade javadoc for getItemsByDate and getItemsByAuthor
git-svn-id: http://scm.dspace.org/svn/repo/trunk@216 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-24 19:18:52 +00:00
Peter Breton
2430779855 Add Javadoc throughout
git-svn-id: http://scm.dspace.org/svn/repo/trunk@215 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-24 18:54:52 +00:00
Peter Breton
ad435f2651 Add documentation note that SimplePool is used internally by the
DatabaseManager


git-svn-id: http://scm.dspace.org/svn/repo/trunk@214 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-24 18:12:50 +00:00
Peter Breton
718c6fd83e Remove log.debug statements which say which browse type was called
Change getSomethingInternal method name to doBrowse
datesafter parameter renamed to oldestfirst
Change name of BrowseScope parameter from "params" to "scope" throughout
Position logic moved to new getPosition method
countMatches ignores ascending/descending parameter.
More javadoc
In javadoc, reference Dublin Core elements and qualifiers when explaining
  browses.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@213 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-24 18:04:48 +00:00
Peter Breton
5f65aa223e Shell script to clean the asset store
git-svn-id: http://scm.dspace.org/svn/repo/trunk@212 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-24 17:34:31 +00:00
Peter Breton
97700992df Document mapping between indexes and Dublin Core values
Reference the index-all command-line tool


git-svn-id: http://scm.dspace.org/svn/repo/trunk@211 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-24 17:30:34 +00:00
Peter Breton
3c27665306 Change DatabaseManager getId() method name to getID()
git-svn-id: http://scm.dspace.org/svn/repo/trunk@210 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-24 17:24:13 +00:00
Robert Tansley
d31b3d3cee - Fixed browse controls on "browsing by date" page.
- Links to recent submissions on comm/coll home pages are now relative, so
  the location bar is filled out.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@209 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-24 12:46:37 +00:00
Robert Tansley
c1a20d06e9 - Added command line tools
git-svn-id: http://scm.dspace.org/svn/repo/trunk@208 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-24 00:44:10 +00:00
Robert Tansley
21d4df4b57 Fixes to browse:
- browse by date ordering is kept when next/prev page clicked
- focus no longer set to 9999 when browsing by date with most recent first -
  browse code does the right thing by default


git-svn-id: http://scm.dspace.org/svn/repo/trunk@207 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-21 19:10:18 +00:00
Robert Tansley
f1d7aacef4 Need to catch TokenMgrError too
git-svn-id: http://scm.dspace.org/svn/repo/trunk@206 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-21 18:14:14 +00:00
Robert Tansley
b13d4ce73b Search UI added
git-svn-id: http://scm.dspace.org/svn/repo/trunk@205 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-21 15:29:25 +00:00
Peter Breton
f2264728e6 Normalize titles before comparing them
git-svn-id: http://scm.dspace.org/svn/repo/trunk@204 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-20 20:48:25 +00:00
Peter Breton
53496248b6 Remove hacks for Postgres 7.1
All tests simply abort the context, so no stray test data is left around


git-svn-id: http://scm.dspace.org/svn/repo/trunk@203 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-20 20:27:27 +00:00
Peter Breton
89278323fd In sortResults method, use date.issued instead of date.accessioned
git-svn-id: http://scm.dspace.org/svn/repo/trunk@202 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-20 19:51:14 +00:00
Robert Tansley
c4a75084eb Fix to "back to browse by authors" link
git-svn-id: http://scm.dspace.org/svn/repo/trunk@201 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-20 19:42:46 +00:00
Peter Breton
28accf49f1 For getItemsByAuthor, skip results before the focus
git-svn-id: http://scm.dspace.org/svn/repo/trunk@200 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-20 19:22:04 +00:00
Robert Tansley
60f401343e Removed a couple of debug prints.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@199 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-20 19:20:28 +00:00
Robert Tansley
6893dadfa7 - Items by author view added.
- Browse UI code updated to use array forms of BrowseInfo methods.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@198 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-20 19:18:17 +00:00
Peter Breton
ca36fbef5d Added entries for jena.jar and servlet-2.3.jar
Added version numbers for handle, jena, log4j, lucene, postgresql and servlet jars


git-svn-id: http://scm.dspace.org/svn/repo/trunk@197 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-20 19:00:16 +00:00
Peter Breton
11a9954f0b Jena RDF framework (version 1.4.0)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@196 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-20 18:58:46 +00:00
Robert Tansley
7827113332 Removed debug info, fixed highlight row in itemlist tag
git-svn-id: http://scm.dspace.org/svn/repo/trunk@195 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-20 18:08:00 +00:00
Peter Breton
5c3ec2ed80 getResultsAfterFocus method has an extra parameter, the number of results
retrieved so far.
Reverse the boolean values for createSql calls
In getScopeClause, ensure that the clause begins with a space


git-svn-id: http://scm.dspace.org/svn/repo/trunk@194 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-20 17:19:11 +00:00
Peter Breton
3c02400caa Cleaned up HistoryManager
git-svn-id: http://scm.dspace.org/svn/repo/trunk@193 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-20 17:07:11 +00:00
Peter Breton
e74bd67ee1 Add getStringResults and getItemResults methods
git-svn-id: http://scm.dspace.org/svn/repo/trunk@192 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-20 17:06:29 +00:00
Robert Tansley
e4ce1e2465 Browse cleaned up
- Item display and item list display now handled by tags
- Reorganised "component" JSPs slightly
- DCDate -> displayable code moved to UIUtil


git-svn-id: http://scm.dspace.org/svn/repo/trunk@191 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-20 15:28:06 +00:00
Peter Breton
265e4a8c90 Added descriptions for handle and lucene jars
git-svn-id: http://scm.dspace.org/svn/repo/trunk@190 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-19 19:58:01 +00:00
Peter Breton
5200179979 Use no-table forms for DatabaseManager query and querySingle methods
git-svn-id: http://scm.dspace.org/svn/repo/trunk@189 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-19 19:57:20 +00:00
Peter Breton
0f1f59795b query and querySingle methods with table parameter are deprecated
Add new methods without table parameter; column info is read
  from ResultSetMetaData


git-svn-id: http://scm.dspace.org/svn/repo/trunk@188 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-19 19:56:35 +00:00
Peter Breton
4e4ec0a6da Add printItemsByAuthorResults method
git-svn-id: http://scm.dspace.org/svn/repo/trunk@187 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-19 19:53:37 +00:00
Peter Breton
bc682d32f1 Major refactoring, extensive changes
BrowseKey class removed


git-svn-id: http://scm.dspace.org/svn/repo/trunk@186 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-19 19:52:37 +00:00
Peter Breton
d4aaef057e Add internal variables used by Browse (and set/get methods for them)
Removed extra multi-argument constructor
Add convenience methods:
  hasNoLimit(), hasFocus()
  focusIsItem(), focusIsString() getFocusItemId() getFocusValue()
  isCollectionScope() isCommunityScope() isAllDSpaceScope()
Add hashCode method
Simplify equals method by using _equals() method
Implements Cloneable, add clone method
(Many of the changes here make the Browse code much simpler)


git-svn-id: http://scm.dspace.org/svn/repo/trunk@185 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-19 19:50:20 +00:00
Robert Tansley
bc0634f8fe Added browse UI pages for title, date and author browse.
- Renamed tag classes to end in Tag to avoid clashes (e.g. "Date")


git-svn-id: http://scm.dspace.org/svn/repo/trunk@184 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-19 18:31:18 +00:00
Robert Tansley
935fbed55b Changed the defaults (0 results with 0 shown before) to more useful ones (21 results, 3 shown before)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@183 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-19 18:05:28 +00:00
Peter Breton
854717ca4a Add constructor with only a ResultSet parameter
git-svn-id: http://scm.dspace.org/svn/repo/trunk@182 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-18 19:42:17 +00:00
Peter Breton
45792207f4 Added new sections: "Using the Database API" and "Database Ids"
git-svn-id: http://scm.dspace.org/svn/repo/trunk@181 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-18 19:40:30 +00:00
Robert Tansley
094824e66e Item display page added:
- Minor fixes to stylesheet
- SFX query, bitstream list, and metadata displaying parts "componentised"


git-svn-id: http://scm.dspace.org/svn/repo/trunk@180 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-17 22:08:02 +00:00
Peter Breton
9731acc460 Add test of item comparator
git-svn-id: http://scm.dspace.org/svn/repo/trunk@179 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-17 20:31:04 +00:00
Peter Breton
e36d483772 Comparator to compare Items by their DCValues
git-svn-id: http://scm.dspace.org/svn/repo/trunk@178 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-17 20:15:28 +00:00
Peter Breton
98cdf3ac83 Added equals method
git-svn-id: http://scm.dspace.org/svn/repo/trunk@177 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-17 19:35:05 +00:00
Peter Breton
591f9c8d00 Update documentation
git-svn-id: http://scm.dspace.org/svn/repo/trunk@176 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-17 19:04:54 +00:00
Peter Breton
de48ec1720 Added constructor with all parameters
git-svn-id: http://scm.dspace.org/svn/repo/trunk@175 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-17 18:18:40 +00:00
Peter Breton
001879177c Added test for long table names
git-svn-id: http://scm.dspace.org/svn/repo/trunk@174 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-17 18:07:04 +00:00
Peter Breton
9722323074 In retrieveColumnInfo method, if the table name exceeds the maximum length
imposed by the database, then truncate it to the allowed length.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@173 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-17 18:02:31 +00:00
Robert Tansley
198a002764 Community and collection home pages show recent submissions
git-svn-id: http://scm.dspace.org/svn/repo/trunk@172 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-17 15:36:02 +00:00
Robert Tansley
c27b293e11 - Added community and collection home pages
- LocationServlet added to handle user navigating within communities and
  collections
- Invalid ID error added
- Home page is now called "index.jsp" (was called home.jsp)


git-svn-id: http://scm.dspace.org/svn/repo/trunk@171 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-16 21:06:43 +00:00