Peter Breton
f4c0a17ee6
Constructors which are over-ridden by tests are now protected instead of
...
private
git-svn-id: http://scm.dspace.org/svn/repo/trunk@124 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 20:25:34 +00:00
Peter Breton
1f2f0190eb
Javadoc cleanups
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@123 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 20:18:24 +00:00
Peter Breton
3a8bf80b4a
Added a private constructor
...
Javadoc cleanups
git-svn-id: http://scm.dspace.org/svn/repo/trunk@122 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 20:09:16 +00:00
Peter Breton
584f5c66f2
Added a private constructor
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@121 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 19:58:02 +00:00
Peter Breton
d04b86a886
Javadoc package description for Handle API
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@120 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 19:45:26 +00:00
Peter Breton
e5a4da2712
Javadoc cleanups
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@119 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 19:45:02 +00:00
Peter Breton
df9828d89c
Javadoc cleanups
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@118 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 19:30:37 +00:00
Peter Breton
432fea95a3
Javadoc cleanups
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@117 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 18:53:15 +00:00
Peter Breton
1a629f44dc
Javadoc package description for Browse API
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@116 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 18:26:00 +00:00
Peter Breton
af54205743
Clean up the class javadoc
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@115 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 18:06:26 +00:00
Peter Breton
9d72b9a517
Use log4j 1.2 style logging
...
SimplePoolInfo static class is now public, so that it can be used
for resource monitoring
Each Connection now has a Set of statements, instead of a single one;
a Connection is free when all of its statements are closed
Closing a statement removes it from the Set
git-svn-id: http://scm.dspace.org/svn/repo/trunk@114 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 16:00:57 +00:00
Peter Breton
0485546d9e
Use log4j 1.2 style logging
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@113 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 15:52:29 +00:00
Peter Breton
e5338dedbd
Add cached flag
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@112 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 15:29:04 +00:00
Peter Breton
cfd5f0b515
indexAll method uses ItemIterator and returns number of Items indexed
...
Add getNormalizedTitle method
Implementation cleanups:
+ getTotalInIndex method returns the number of Items in a Browse index.
previously this functionality was clumped together in the
getSomethingInternal() method
+ getTargetColumns() returns the correct columns for a browse type
+ getSubqueryClause() does what its name says
+ getItemId() ditto
+ addScopeClause() puts all the scoping logic in one place
Added examples of generated SQL to javadoc
Remove unused main method from NormalizedTitle class
Resource cleanups in BrowseCache class
git-svn-id: http://scm.dspace.org/svn/repo/trunk@111 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 15:27:03 +00:00
Peter Breton
fdfed51292
Tweak printing of results for readability
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@110 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 15:04:26 +00:00
Peter Breton
c339f8d1ea
Resource cleanups
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@109 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 15:03:39 +00:00
Peter Breton
9308ba6ff7
In deleteWithContents, ensure that WorkspaceItems related to the
...
collection are also deleted.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@108 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 15:02:26 +00:00
Peter Breton
5c4c689d8d
SQL fix: use "is null" instead of "=null". The latter form is accepted,
...
but silently fails.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@107 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 15:00:36 +00:00
Peter Breton
f0bf1e8f57
Minor doc cleanups
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@106 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 14:58:40 +00:00
Peter Breton
8d6bec20ae
Test always simply does a rollback; this ensures that no stray test data
...
is left around, and works around a Postgres 7.1 bug
git-svn-id: http://scm.dspace.org/svn/repo/trunk@105 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-06 14:55:00 +00:00
Robert Tansley
8277de56d4
- Documentation improvements
...
- Changed behaviour with mappings - adding/removing bitstreams, bundles, etc
now has instant effect, since before, the methods were halfway-instant -
the bitstream/bundle would get created but not the mapping. Hopefully
it now makes more sense.
- Added relevant Browse index update calls to Item.update() and
deleteWithContents().
git-svn-id: http://scm.dspace.org/svn/repo/trunk@104 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-04 18:22:52 +00:00
Peter Breton
fbb0bdfea3
CNRI Handle Jar, Version 5.2.0
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@103 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-04 14:12:23 +00:00
Peter Breton
aebbbaaeb6
Removing non-binary jar
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@102 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-04 14:11:30 +00:00
Peter Breton
543408e4da
Last version was somehow corrupted.
...
This is the handle jar that comes with Handle Server 5.2
git-svn-id: http://scm.dspace.org/svn/repo/trunk@101 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 21:56:42 +00:00
Peter Breton
beffcdb567
Change one remaining org.dspace.handles package name to org.dspace.handle
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@100 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 21:50:26 +00:00
Peter Breton
d8a03d994e
Fix handle package name
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@99 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 21:36:56 +00:00
Peter Breton
f8a1791958
Fix package name
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@98 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 21:35:58 +00:00
Peter Breton
3d0b7ca5c7
CNRI Handle jar
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@97 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 21:16:09 +00:00
Robert Tansley
b8b6766426
When authorising updating or deleting a workspace item, the permissions on the
...
contained item are checked, since the authorisation system doesn't (and
needn't) know about workspace items.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@96 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 21:15:01 +00:00
Peter Breton
df971c1044
Package org.dspace.handles renamed to org.dspace.handle
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@95 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 21:07:00 +00:00
Peter Breton
9c7e286498
JUnit test for HandleManager
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@94 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 21:05:01 +00:00
Peter Breton
e2ff59c51d
Manager for Handles
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@93 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 21:04:39 +00:00
Peter Breton
115ba5cc1b
DSpace-specific storage plugin for CNRI Handle Server
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@92 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 21:04:13 +00:00
Peter Breton
721c74209f
Fold in BrowseInfo changes
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@91 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 20:51:20 +00:00
Peter Breton
33da915484
Doc cleanups
...
getResultSize method renamed to getResultCount
Eliminate constructor with element/qualifier parameters
git-svn-id: http://scm.dspace.org/svn/repo/trunk@90 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 20:49:13 +00:00
Peter Breton
2b2445b8fe
All context objects are created via the new createContext() method,
...
which ensures that setIgnoreAuthorization is set to true.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@89 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 20:34:38 +00:00
Robert Tansley
645d64c307
Added "org.dspace.handle" to public API packages.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@88 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 20:19:30 +00:00
Peter Breton
f57dcbbb87
Added support for Community objects
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@87 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 20:13:23 +00:00
Peter Breton
5f51d41ac4
Added handle.item.prefix property
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@86 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 19:53:41 +00:00
Peter Breton
3369c6e03f
Accessor methods are now public, no real gain from hiding them
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@85 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 19:43:42 +00:00
David Stuve
2337285184
isAdmin() now honors context.ignoreAuthorization()
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@84 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 18:21:23 +00:00
David Stuve
25826969e0
honored context.ignoreAuthorization() method
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@83 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 18:06:52 +00:00
Peter Breton
96868f4243
getId() method factored out from assignId method
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@82 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 17:09:23 +00:00
Peter Breton
f48e7ee1bf
Added equals method
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@81 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 16:18:59 +00:00
Peter Breton
f256de6738
Fix typo: epersongroup_id -> eperson_group_id throughout
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@80 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 16:15:38 +00:00
Robert Tansley
0be51a69d3
Further authorisation integration.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@79 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 15:31:36 +00:00
Robert Tansley
ce8dfebad9
- Created ItemIterator
...
- Added Item.findAll, Item.getCommunities, Collection.getItems
- Renamed Collection.getAllCollections to Collection.findAll for consistency
git-svn-id: http://scm.dspace.org/svn/repo/trunk@78 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-06-03 14:23:51 +00:00
David Stuve
d8848cfbbd
cleaned up interface a bit - removed eperson from most methods' args
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@77 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-31 21:41:09 +00:00
Peter Breton
26b19810db
Updated to use BrowseScope object
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@76 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-31 20:57:08 +00:00
Peter Breton
13d88fe794
Use BrowseScope object throughout
...
Add getScope method, which returns a constant indicating the scope
Delete main method, as it duplicates the InitializeBrowse class
git-svn-id: http://scm.dspace.org/svn/repo/trunk@75 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-31 20:55:36 +00:00