Commit Graph

17370 Commits

Author SHA1 Message Date
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
Robert Tansley
64382e44b1 Integrated new Bitstore.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@11 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-14 18:25:03 +00:00
Peter Breton
7fdffbad97 delete method (delete by primary key) changed from private to public
git-svn-id: http://scm.dspace.org/svn/repo/trunk@10 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-13 22:58:06 +00:00
Peter Breton
426be6e8ba Remove unused lines
git-svn-id: http://scm.dspace.org/svn/repo/trunk@9 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-10 14:53:01 +00:00
Robert Tansley
1f14de8491 Added test targets.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@8 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-09 15:06:17 +00:00
Robert Tansley
79dfe61844 Added DBMS build tasks:
- Added schema file
- Add InitializeDatabase command line class
- Can now pass in "dspace.configuration" system property which will get
  ConfigurationManager to load a specific configuration
- Added a simple log4j properties file for use during builds (e.g. when
  executing InitializeDatabase)
- Changed a couple of INFO level logs to DEBUG in DatabaseManager


git-svn-id: http://scm.dspace.org/svn/repo/trunk@7 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-08 20:56:00 +00:00
Peter Breton
8ad4f8baed Fixed off-by-one bug in assignId method
git-svn-id: http://scm.dspace.org/svn/repo/trunk@6 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-07 19:51:34 +00:00
Peter Breton
290956c1c6 Update property names to match dspace.cfg
git-svn-id: http://scm.dspace.org/svn/repo/trunk@5 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-07 16:26:20 +00:00
Robert Tansley
72fa283120 Simplified RDBMS storage code in place.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@4 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-07 13:58:08 +00:00
Robert Tansley
193739429b - Added content management API stub classes.
- Updated build.xml with a javadoc target for building the public API docs.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@3 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-06 19:36:15 +00:00
Robert Tansley
c67dc34fed Basic file structure, and configuration, and some core classes
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-03 20:19:46 +00:00
DSpace Developer
b2f7a288b7 New repository initialized by cvs2svn.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-03 20:19:46 +00:00