|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.ndr.util.DevelTools
public class DevelTools
Utilities for cleaning up NDR test repository.
$Id $
Field Summary | |
---|---|
static String |
apiUrl
NOT YET DOCUMENTED |
static String |
ndrHost
NOT YET DOCUMENTED |
Constructor Summary | |
---|---|
DevelTools()
|
Method Summary | |
---|---|
static void |
addAgent(String id)
|
static void |
deleteEmptyMDPs()
NOT YET DOCUMENTED |
static void |
deleteStaleMDPs(String dateStr)
NOT YET DOCUMENTED |
static void |
displayEmptyMDPs()
Display MDPs that have no items |
static void |
displayRecentMDPs()
NOT YET DOCUMENTED |
static void |
displayStaleMDPs(String dateStr)
|
static String |
findCollectionMetadata(String collectionAggregator)
|
static List |
findNCSApplicationAgents()
|
static String |
getCollectionMetadataItemId()
|
static List |
getEmtpyMDPHandles()
|
static void |
main(String[] args)
The main program for the DevelTools class |
static void |
modififyAgent()
|
static void |
modifyMetadataProvider()
NOT YET DOCUMENTED |
static void |
purge(String thresholdDateStr)
Utility for cleaning up - Delete all metadata records that d0 NOT belong to collections modified since the threshold date. |
static void |
setDebug(boolean bool)
Sets the debug attribute of the DevelTools class |
static void |
undeleteNDRObject(String handle,
NDRConstants.NDRObjectType objectType)
This call does not seem to be working?? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ndrHost
public static final String apiUrl
Constructor Detail |
---|
public DevelTools()
Method Detail |
---|
public static void purge(String thresholdDateStr) throws Exception
- for each MDP -- if fresh (last modified AFTER threshold) --- add MD handles to "keepers" - for each MDP --- if stale (last modified BEFORE threshold) ---- for each MD ----- if not in "keepers", delete MD
thresholdDateStr
- NOT YET DOCUMENTED
Exception
- NOT YET DOCUMENTEDpublic static void undeleteNDRObject(String handle, NDRConstants.NDRObjectType objectType) throws Exception
Exception
public static void addAgent(String id) throws Exception
Exception
public static void modififyAgent() throws Exception
Exception
public static void modifyMetadataProvider() throws Exception
Exception
- NOT YET DOCUMENTEDpublic static String findCollectionMetadata(String collectionAggregator) throws Exception
Exception
public static List findNCSApplicationAgents()
public static String getCollectionMetadataItemId()
public static void main(String[] args) throws Exception
args
- The command line arguments
Exception
- NOT YET DOCUMENTEDpublic static void displayStaleMDPs(String dateStr)
public static void displayRecentMDPs()
public static void displayEmptyMDPs() throws Exception
Exception
- NOT YET DOCUMENTEDpublic static List getEmtpyMDPHandles() throws Exception
Exception
public static void deleteEmptyMDPs() throws Exception
Exception
- NOT YET DOCUMENTEDpublic static void deleteStaleMDPs(String dateStr)
dateStr
- NOT YET DOCUMENTEDpublic static void setDebug(boolean bool)
bool
- The new debug value
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |