| org.griphyn.common.catalog.WorkCatalog
All known Subclasses: org.griphyn.common.catalog.work.Database,
WorkCatalog | public interface WorkCatalog extends Catalog(Code) | | The catalog interface to the Work Catalog, the erstwhile Work DB, that is
populated by tailstatd and associates.
author: Karan Vahi version: $Revision$ |
Method Summary | |
public int | delete(String basedir, String vogroup, String label, String run) Deletes a mapping from the work catalog.
Parameters: basedir - the base directory Parameters: vogroup - the vo to which the user belongs to. Parameters: label - the label in the DAX Parameters: run - the run number. | public int | insert(String basedir, String vogroup, String label, String run, String creator, java.util.Date cTime, java.util.Date mTime, int state) Inserts a new mapping into the work catalog.
Parameters: basedir - the base directory Parameters: vogroup - the vo to which the user belongs to. Parameters: label - the label in the DAX Parameters: run - the run number. Parameters: creator - the user who is running. Parameters: cTime - the creation time of the DAX Parameters: mTime - the modification time. Parameters: state - the state of the workflow number of insertions, should always be 1. |
DB_PREFIX | final public static String DB_PREFIX(Code) | | The DB Driver properties prefix.
|
VERSION | final public static String VERSION(Code) | | The version of the API
|
c_prefix | final public static String c_prefix(Code) | | Prefix for the property subset to use with this catalog.
|
delete | public int delete(String basedir, String vogroup, String label, String run) throws WorkCatalogException(Code) | | Deletes a mapping from the work catalog.
Parameters: basedir - the base directory Parameters: vogroup - the vo to which the user belongs to. Parameters: label - the label in the DAX Parameters: run - the run number. number of insertions, should always be 1. On failure,throw an exception, don't use zero. throws: WorkCatalogException - in case of unable to delete entry. |
insert | public int insert(String basedir, String vogroup, String label, String run, String creator, java.util.Date cTime, java.util.Date mTime, int state) throws WorkCatalogException(Code) | | Inserts a new mapping into the work catalog.
Parameters: basedir - the base directory Parameters: vogroup - the vo to which the user belongs to. Parameters: label - the label in the DAX Parameters: run - the run number. Parameters: creator - the user who is running. Parameters: cTime - the creation time of the DAX Parameters: mTime - the modification time. Parameters: state - the state of the workflow number of insertions, should always be 1. On failure,throw an exception, don't use zero. throws: WorkCatalogException - in case of unable to delete entry. |
|
|