Robert Tansley
40e9b07073
Updated the names and added some Javadoc comments.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@61 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-30 20:56:32 +00:00
Peter Breton
dd6843904f
Manager for registration and forgotten passwords
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@60 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-30 20:54:36 +00:00
David Stuve
a7264d107c
resourcepolicy edits
...
renamed resource_filter => container_type_id
renamed resource_filter_arg => container_id
del notes
del eperson_owner
del priority
git-svn-id: http://scm.dspace.org/svn/repo/trunk@59 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-30 17:56:45 +00:00
Peter Breton
c092c85287
Use Utils.getMD5 method for MD5 encoding
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@58 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-30 16:04:00 +00:00
Peter Breton
2cbf4386e3
Add getNonPrimaryKeyColumnNames method which gets column names
...
from ResultSetMetaData
In canonicalize method, the canonical name of a null table is null
In process method, if the table name is null, obtain the column
names from the ResultSetMetaData
In process method, support BIGINT/long data type
Add query method which uses PreparedStatements
git-svn-id: http://scm.dspace.org/svn/repo/trunk@57 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-30 16:00:18 +00:00
Peter Breton
21a56e8b3c
Support long datatype (getLongColumn, setColumn)
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@56 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-30 15:53:38 +00:00
Peter Breton
54ddd5583e
Authorship credited to DSpace team
...
Remove some old comments
Remove test tables
Remove sorttitle function
git-svn-id: http://scm.dspace.org/svn/repo/trunk@55 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-30 15:45:28 +00:00
Peter Breton
e19f8871d0
Top-level browse views (ItemsByTitle, ItemsByDate, ItemsByAuthor, ItemsByDateAccessioned) converted to tables
...
Community and Collection browse views remain views, but are no longer
dynamically ordered.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@54 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-30 15:17:27 +00:00
David Stuve
b314297b4e
added some documentation
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@53 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-30 15:16:50 +00:00
Robert Tansley
67fd4e93a9
Made some changes to the DB. ContentTest fails - will check when I have time
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@52 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-30 14:50:46 +00:00
David Stuve
7adfb999c7
now uses core.Constants instead of core.DSpaceTypes
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@51 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-30 14:17:25 +00:00
Robert Tansley
d7acd10e75
Documentation fix
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@50 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-30 13:21:02 +00:00
Robert Tansley
2c1b4f5d45
findByName() no longer throws AuthorizeException
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@49 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-30 13:20:43 +00:00
David Stuve
7942ddb7ea
first version
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@48 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-29 20:20:18 +00:00
Robert Tansley
652740210f
- getDC() now returns DCValue objects instead of String objects.
...
- Fixed tests - the way the tests work still needs redoing though
git-svn-id: http://scm.dspace.org/svn/repo/trunk@47 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-28 21:27:20 +00:00
David Stuve
e867a465d9
got 'fullname' method working
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@46 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-28 21:20:19 +00:00
David Stuve
7b200e5790
fixed typo in create (missing column name) and missing fast lookup method
...
(isMember w/out instantiating the entire group)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@45 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-28 21:15:16 +00:00
David Stuve
d29ea593da
newly ported EPerson Group object, ready for testing
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@44 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-28 20:49:19 +00:00
David Stuve
04b996dc90
newly ported EPerson object, ready for testing
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@43 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-28 20:48:56 +00:00
David Stuve
c2196fa33f
first version
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@42 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-28 18:49:10 +00:00
Robert Tansley
ed391e2355
Minor fixes to javadoc.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@41 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-28 14:19:49 +00:00
Robert Tansley
a971b548e6
Oops, getAll was already there. Left in findAll for consistency.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@40 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-27 19:42:18 +00:00
Robert Tansley
b17a311595
Added findAll() method
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@39 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-27 19:38:05 +00:00
Robert Tansley
00239c8f6c
Tests now pass; they leave some content around. Need a re-work - several
...
things aren't really right. Will do when I have time.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@38 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-24 20:52:09 +00:00
Robert Tansley
abac47d9eb
- Fixed getID()
...
- After creating DB rows, they're updated when submitter + item_id are set
git-svn-id: http://scm.dspace.org/svn/repo/trunk@37 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-24 20:51:23 +00:00
Robert Tansley
19313090e3
Fixed bugs in getDC() and clearDC()
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@36 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-24 20:50:30 +00:00
Robert Tansley
5962e378d0
Removed debug println
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@35 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-24 20:49:49 +00:00
Robert Tansley
72b0c1567a
deleteWithContents() fixed
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@34 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-24 20:49:05 +00:00
Robert Tansley
cce44b43d9
Fixed typo in SQL in "findByElement"
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@33 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-24 20:48:16 +00:00
Robert Tansley
4c318847e5
Fixes to community and tests.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@32 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-24 15:06:09 +00:00
Robert Tansley
09c29f4e28
WorkspaceItem used to create items now instead of having an item "shim"
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@31 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-22 20:06:44 +00:00
Robert Tansley
98d06954d4
Added some extra documentation about configuration.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@30 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-22 17:33:05 +00:00
Dan Chudnov
de0dd282ba
Fixed typo
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@29 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-22 15:06:31 +00:00
Robert Tansley
327a582475
- Added a lot of overview and package information to the javadoc.
...
- Modified the javadoc target in build.xml to include the overview.
- Removed links to core Java classes in the javadoc in Utils.java (was
causing warnings)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@28 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-21 20:32:38 +00:00
Robert Tansley
d13eaf1c4b
Added simplified e-mail handling
...
- Updated configuration + ConfigurationManager
- Added relevant libraries and Email class
git-svn-id: http://scm.dspace.org/svn/repo/trunk@27 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-21 18:03:31 +00:00
Robert Tansley
c451fc54d3
Updated CM API:
...
- Added logging
- Changed the way creating objects works for Bitstream, Bundle and Collection
in preparation for authorisation integration. It makes no sense to create
a Bitstream, Bundle or Collection without it being associated with something,
so to create one you need to call the relevant method on the container,
for example "Bundle.createBitstream". create() methods remain but have
package-level access. Logo-related methods take InputStreams again.
- Removed references to Handles - these are to be in a separate, pluggable
module
git-svn-id: http://scm.dspace.org/svn/repo/trunk@26 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-20 19:36:20 +00:00
Robert Tansley
a3277ecd0d
Upgraded log4j to 1.2.1.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@25 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-20 19:31:56 +00:00
Peter Breton
f06a889cd6
JUnit tests for CM API
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@24 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-17 14:56:01 +00:00
Peter Breton
46029dc069
Add equals method, needed for testing
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@23 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-17 14:54:46 +00:00
Robert Tansley
b95e70ad70
Added getAll()
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@22 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-16 21:03:54 +00:00
Robert Tansley
ee3ea2891e
- Added useful description text (appears on ant -projecthelp)
...
- public_api target doesn't include internal classes in javadoc
git-svn-id: http://scm.dspace.org/svn/repo/trunk@21 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-16 20:49:48 +00:00
Robert Tansley
88d70803c0
SimplePoolInfo internal class now has package level access, simplifying
...
public API
git-svn-id: http://scm.dspace.org/svn/repo/trunk@20 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-16 20:47:27 +00:00
Robert Tansley
2f847e8a46
getCommunities() now works.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@19 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-16 20:47:00 +00:00
Robert Tansley
08cd7def28
- Added DCType registry manipulation class
...
- Added RegistryLoader + associated build targets
- Fixed a few javadoc comments in org.dspace.content
git-svn-id: http://scm.dspace.org/svn/repo/trunk@18 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-16 20:12:22 +00:00
Robert Tansley
70112164b4
Registries ported from DSpace early-adopters-2.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@17 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-16 20:11:57 +00:00
Peter Breton
49d5613436
Use new Bitstream schema; remove references to Storage and
...
Bitstream2Storage tables
git-svn-id: http://scm.dspace.org/svn/repo/trunk@16 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-16 18:57:26 +00:00
Robert Tansley
7160ceb7db
Schema tweaks:
...
Changes from original SQL:
MODIFIED DCValue
from:
CREATE TABLE DCValue
(
dc_value_id INTEGER PRIMARY KEY,
text_value TEXT,
text_lang VARCHAR(24),
source_id INTEGER
);
to:
CREATE TABLE DCValue
(
dc_value_id INTEGER PRIMARY KEY,
item_id INTEGER REFERENCES Item(item_id),
dc_type_id INTEGER REFERENCES DCTypeRegistry(dc_type_id),
text_value TEXT,
text_lang VARCHAR(24),
place INTEGER
source_id INTEGER
);
CREATE INDEX dcvalue_dc_type_id_idx on DCValue(dc_type_id);
REMOVED Item2DCValue
REMOVED Storage
REMOVED Bitstream2Storage
CHANGED Bitstream
from:
-------------------------------------------------------
-- Bitstream table
-------------------------------------------------------
DROP TABLE Bitstream;
CREATE TABLE Bitstream
(
bitstream_id INTEGER PRIMARY KEY,
bitstream_type_id INTEGER REFERENCES BitstreamTypeRegistry(bitstream_type_id),
name VARCHAR(256),
size INTEGER,
checksum VARCHAR(64),
checksum_algorithm VARCHAR(32),
description TEXT,
user_type_description TEXT,
source VARCHAR(256),
deleted BOOL
);
to:
-------------------------------------------------------
-- Bitstream table
-------------------------------------------------------
DROP TABLE Bitstream;
CREATE TABLE Bitstream
(
bitstream_id INTEGER PRIMARY KEY,
bitstream_type_id INTEGER REFERENCES BitstreamTypeRegistry(bitstream_type_id),
name VARCHAR(256),
size INTEGER,
checksum VARCHAR(64),
checksum_algorithm VARCHAR(32),
description TEXT,
user_type_description TEXT,
source VARCHAR(256),
internal_id VARCHAR(256),
deleted BOOL
);
Views:
REMOVED Item2Bitstream
REMOVED Collection2Bitstream
REMOVED Community2Bitstream
REMOVED WorkflowItemsBySubmitter
REMOVED PersonalWorkspaceBySubmitter
REMOVED AllStorage
REMOVED ItemVersion
CHANGED DCResult
from:
-------------------------------------------------------
-- DCResult view
-------------------------------------------------------
DROP VIEW DCResult;
CREATE VIEW DCResult as
SELECT Item.item_id, Item.in_archive, Item.submitter_id, dc_type_id, DCValue.*
FROM Item2DCValue, DCValue, Item
WHERE Item2DCValue.dc_value_id = DCValue.dc_value_id
AND Item.item_id = Item2DCValue.item_id
;
to:
-------------------------------------------------------
-- DCResult view
-------------------------------------------------------
DROP VIEW DCResult;
CREATE VIEW DCResult as
SELECT DCValue.*, Item.in_archive, Item.submitter_id
FROM DCValue, Item
WHERE Item.item_id = DCValue.item_id
;
git-svn-id: http://scm.dspace.org/svn/repo/trunk@15 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-16 18:10:04 +00:00
Robert Tansley
85c7430ba7
- Added checkstyle target to build.xml. checkstyle-all-2.2 (or higher)
...
must be on the CLASSPATH.
- Fixed some style issues.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@14 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-15 15:26:36 +00:00
Robert Tansley
2d81704286
- First revision at Content Management API, but not complete:
...
+ Largely untested.
+ No authorisation.
+ No logging.
+ Some e-person/groups functionality not implemented.
- ConfigurationManager updated to load default submission license.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@13 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-14 21:42:30 +00:00
Robert Tansley
ba68d6062d
Jacobe 5.3 configuration file for DSpace code conventions
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@12 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-14 18:27:12 +00:00