Ignore:
Timestamp:
2016-12-13T20:36:01+13:00 (7 years ago)
Author:
ak19
Message:

Commit for GS3 server side part of OAI deletion police implementation. Still to implement the GS2 server side part. The earlier commits implemented the PERL side, the oai-inf db implementation. I think I've now got the GS3 server side working, but have yet to try validating against the OAI validator. (I need to test that on a machine that is publicly accessible).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/OAIXML.java

    r29266 r31230  
    147147   public static final String OAI_SERVICE_UNAVAILABLE = "OAI service unavailable";
    148148   public static final String OID = "OID";
    149    
     149
     150    // The node id in the oai-inf database of the collection, which should contain all the OIDs in the db
     151    public static final String OAI_INF_STATUS = "status"; // D = Deleted; E = Existing (PD = Provisionally Deleted but PD should not be present at this stage in the oai-inf database)
     152    public static final String OAI_INF_TIMESTAMP = "timestamp"; // the time of deletion/last (re)indexing of doc
     153    public static final String OAI_INF_DATESTAMP = "datestamp"; // date version of timestamp   
     154    // oai-inf db values for OAI_INF_STATUS
     155    public static final String OAI_INF_DELETED = "D";
     156    public static final String OAI_INF_EXISTS = "E";
     157    public static final String OAI_INF_PROVISIONALLY_DELETED = "PD";
     158    // header values for ListRecords/GetRecord and listIdentifiers
     159    public static final String HEADER_STATUS_ATTR_DELETED = "deleted";
     160
    150161  public static final String OAI_SERVICE_RACK = "OAIPMH";
    151162  //system-dependent file separator, maybe '/' or '\'
Note: See TracChangeset for help on using the changeset viewer.