Commit Graph

8847 Commits

Author SHA1 Message Date
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
Robert Tansley
910c7e6f6d - Added log4j.properties config file template which writes logs to
(dspace.dir)/log by default
- Fixed community list page


git-svn-id: http://scm.dspace.org/svn/repo/trunk@170 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-14 21:29:55 +00:00
Robert Tansley
bbdafab1d0 - UI Infrastructure added
- Home page and community list pages added


git-svn-id: http://scm.dspace.org/svn/repo/trunk@169 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-14 19:36:03 +00:00
Robert Tansley
d89034a88a Now robust to "context" being null.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@168 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-14 19:31:50 +00:00
Robert Tansley
4a89a0b95f Renamed Community.getAllCollections to Community.findAll for consistency with
other CM API classes


git-svn-id: http://scm.dspace.org/svn/repo/trunk@167 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-14 18:35:06 +00:00
Peter Breton
58ac30bb95 Utility class to clean up the asset store
git-svn-id: http://scm.dspace.org/svn/repo/trunk@166 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-14 13:57:55 +00:00
Peter Breton
574b876980 Added Bitstore API section, plus other documentation
git-svn-id: http://scm.dspace.org/svn/repo/trunk@165 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-14 13:57:24 +00:00
Peter Breton
7c35efcf0b Use "search.dir" Configuration property from dspace.cfg
git-svn-id: http://scm.dspace.org/svn/repo/trunk@164 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-14 13:55:41 +00:00
Peter Breton
61f959af07 Added Handle API section
git-svn-id: http://scm.dspace.org/svn/repo/trunk@163 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-14 13:53:41 +00:00
Peter Breton
8a329b0a24 Handle PK is also used as the local part of the handle (eg, PK 1 -> 1721/1)
This avoids SF bug #568576, where two ids were used (eg, PK 2 -> 1721/1)


git-svn-id: http://scm.dspace.org/svn/repo/trunk@162 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-14 13:53:17 +00:00
Peter Breton
634f7bc8ec Context objects are always created within try blocks
In createDeletedBitstream, make sure the context aborts if a SQLException
  is thrown. (Creating a deleted bitstream is its own transaction, and
  does not participate in another context).


git-svn-id: http://scm.dspace.org/svn/repo/trunk@161 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-14 13:49:40 +00:00
Peter Breton
fcbbee9484 JUnit test for EPerson API
git-svn-id: http://scm.dspace.org/svn/repo/trunk@160 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-11 20:50:57 +00:00
Peter Breton
cd2e6018a3 Correct mis-typed schema column
Passes JUnit tests


git-svn-id: http://scm.dspace.org/svn/repo/trunk@159 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-11 20:50:12 +00:00
Peter Breton
113260f272 Test getMembers method
Try adding same eperson to group twice


git-svn-id: http://scm.dspace.org/svn/repo/trunk@158 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-11 20:35:21 +00:00
Peter Breton
4f3085de3f addMember method now sets epeoplechanged flag only when a new eperson is
actually added, so adding an eperson who is already in a group to
  the same group is now a noop.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@157 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-11 20:34:51 +00:00
Peter Breton
c4fd0f8258 Schema typo fix
When a group is deleted, clear the in-memory list of epeople
removeMember and isMember methods use List methods, so are now 1-line
  implementations
Add equals method
Passes JUnit tests


git-svn-id: http://scm.dspace.org/svn/repo/trunk@156 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-11 20:19:03 +00:00
Peter Breton
187b4c9608 JUnit test for Group API
git-svn-id: http://scm.dspace.org/svn/repo/trunk@155 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-11 20:16:31 +00:00
Peter Breton
4e29d041d1 Added equals method
git-svn-id: http://scm.dspace.org/svn/repo/trunk@154 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-11 20:11:20 +00:00
Peter Breton
3a8d632487 Added more javadoc
git-svn-id: http://scm.dspace.org/svn/repo/trunk@153 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-10 20:22:57 +00:00
Peter Breton
8337c7caae Minor javadoc cleanups
git-svn-id: http://scm.dspace.org/svn/repo/trunk@152 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-10 20:22:29 +00:00
Peter Breton
f593807f1a Added Using the Browse API section, with sample code.
(Verified that the sample code compiles)
Added Browse Indexes section


git-svn-id: http://scm.dspace.org/svn/repo/trunk@151 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-10 20:21:08 +00:00
Peter Breton
f237c9ff0c More javadoc
git-svn-id: http://scm.dspace.org/svn/repo/trunk@150 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-10 16:59:40 +00:00
Robert Tansley
e4f41b587c - Laid out UI source code tree
- Checked in some basic UI stuff - warning, tag library doesn't work yet
- Added "isValid()" to Context
- Added code to ConfigurationManager for installing configuration files
  for external tools, and added initial Apache and Tomcat configurations


git-svn-id: http://scm.dspace.org/svn/repo/trunk@149 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-10 16:13:45 +00:00
Robert Tansley
d80cc722c1 Lucene jar added for search.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@148 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-10 13:22:42 +00:00