public class DevelTools
extends java.lang.Object
$Id $
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
apiUrl
NOT YET DOCUMENTED
|
static java.lang.String |
ndrHost
NOT YET DOCUMENTED
|
Constructor and Description |
---|
DevelTools() |
Modifier and Type | Method and Description |
---|---|
static void |
addAgent(java.lang.String id) |
static void |
deleteEmptyMDPs()
NOT YET DOCUMENTED
|
static void |
deleteStaleMDPs(java.lang.String dateStr)
NOT YET DOCUMENTED
|
static void |
displayEmptyMDPs()
Display MDPs that have no items
|
static void |
displayRecentMDPs()
NOT YET DOCUMENTED
|
static void |
displayStaleMDPs(java.lang.String dateStr) |
static java.lang.String |
findCollectionMetadata(java.lang.String collectionAggregator) |
static java.util.List |
findNCSApplicationAgents() |
static java.lang.String |
getCollectionMetadataItemId() |
static java.util.List |
getEmtpyMDPHandles() |
static void |
main(java.lang.String[] args)
The main program for the DevelTools class
|
static void |
modififyAgent() |
static void |
modifyMetadataProvider()
NOT YET DOCUMENTED
|
static void |
purge(java.lang.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(java.lang.String handle,
NDRConstants.NDRObjectType objectType)
This call does not seem to be working??
|
public static final java.lang.String ndrHost
public static final java.lang.String apiUrl
public static void purge(java.lang.String thresholdDateStr) throws java.lang.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 DOCUMENTEDjava.lang.Exception
- NOT YET DOCUMENTEDpublic static void undeleteNDRObject(java.lang.String handle, NDRConstants.NDRObjectType objectType) throws java.lang.Exception
java.lang.Exception
public static void addAgent(java.lang.String id) throws java.lang.Exception
java.lang.Exception
public static void modififyAgent() throws java.lang.Exception
java.lang.Exception
public static void modifyMetadataProvider() throws java.lang.Exception
java.lang.Exception
- NOT YET DOCUMENTEDpublic static java.lang.String findCollectionMetadata(java.lang.String collectionAggregator) throws java.lang.Exception
java.lang.Exception
public static java.util.List findNCSApplicationAgents()
public static java.lang.String getCollectionMetadataItemId()
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- The command line argumentsjava.lang.Exception
- NOT YET DOCUMENTEDpublic static void displayStaleMDPs(java.lang.String dateStr)
public static void displayRecentMDPs()
public static void displayEmptyMDPs() throws java.lang.Exception
java.lang.Exception
- NOT YET DOCUMENTEDpublic static java.util.List getEmtpyMDPHandles() throws java.lang.Exception
java.lang.Exception
public static void deleteEmptyMDPs() throws java.lang.Exception
java.lang.Exception
- NOT YET DOCUMENTEDpublic static void deleteStaleMDPs(java.lang.String dateStr)
dateStr
- NOT YET DOCUMENTEDpublic static void setDebug(boolean bool)
bool
- The new debug value