Ignore:
Timestamp:
2012-10-17T21:05:20+13:00 (12 years ago)
Author:
ak19
Message:
  1. Introduced new perl script for deleting a fedora collection (g2f-deletecol.pl) because, when deleting a collection that's been ingested into fedora, both the fedora collection file and the documents in the collection (METS files) that have been ingested into fedora need to purged. Also these docs need to be removed from the fedoragsearch index if it gsearch is installed. The command line script does not delete the Greenstone collection directory, that has to be done manually at this stage, since GLI already does that part. 2. FLI calls the new perl script g2f-deletecol.pl when the user chooses to have a collection deleted.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/shell/GShell.java

    r22454 r26333  
    9494    static final public int SRCREPLACE = 7; // for replacing source docs with their html
    9595    static final public int SCHEDULE = 8;
     96    static final public int DELETE = 9;
    9697
    9798    /** Elements in status type enumeration. */
     
    110111    static public String GSHELL_SRCREPLACE = "gshell_srcreplace"; // for replacing source docs with their html versions
    111112    static public String GSHELL_SCHEDULE = "gshell_schedule";
     113    static public String GSHELL_FEDORA_COLDELETE = "gshell_fedora_col_delete";
    112114
    113115    /** Determine if the given process is still executing. It does this by attempting to throw an exception - not the most efficient way, but the only one as far as I know
Note: See TracChangeset for help on using the changeset viewer.