DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.test
Class RequestTesters

java.lang.Object
  extended by org.dlese.dpc.schemedit.test.RequestTesters

public class RequestTesters
extends Object


Constructor Summary
RequestTesters()
           
 
Method Summary
static void addAgent()
           
static void addAgentAggregator()
           
static void addAggregator()
           
static void addMetadata()
           
static void addResource()
           
static void authorizeToChangeMdp()
           
static int countMembers()
           
static void delete()
           
static void deletedRecordsTester()
           
static void deleteMdp()
           
static void dsTester()
           
static void enumTester()
           
static void find()
           
static void findAgent()
           
static void findAgentById()
           
static void findCollectionMdpForMD()
           
static void findDeletedRecords()
           
static void findDupResources()
           
static void findMdById()
           
static void findMdByNCSRecordId()
           
static void findMdForResource()
           
static void findMdpBySetSpec()
           
static void findMdpForAgg()
          to find non-DLESE MDP, we have to start with an aggregator and then find the MDP that is aggregated by it.
static void findPCResource()
           
static void findResource()
           
static void findResourceOLD()
           
static void getAgent()
           
static void getAggregator()
           
static void getInfoLink()
          NOTE: this does not work for dlese.org metadata: no metadatadata is found that is metadataFor 2200/NSDL_Recommended_Resources_Collection
static void getMDP()
           
static void getMetadata()
           
static void grantAggAuthority()
           
static void grantMdpAuthority()
           
static void isAuthorizedToChangeAgg()
           
static void isAuthorizedToChangeMdp()
           
static void isNDRCollectionMetadataProvider()
           
static void isNDRCollectionMetadataProvider1()
           
static void listAgents()
           
static void listCollections()
           
static void lister()
           
static void listMembers()
           
static void main(String[] args)
           
static void mdpReader()
           
static void modifyAgent()
           
static void modifyAggregator()
           
static void modifyMetadata()
           
static void modifyMetadataProvider()
           
static void modifyResource()
           
static void myProp()
           
static void myProp1()
           
static void ndrTestSetup()
           
static void previewDCSSetup()
           
static void rmSetInfo()
           
static void setState()
           
static void taosSetup()
           
static void undelete()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestTesters

public RequestTesters()
Method Detail

enumTester

public static void enumTester()

previewDCSSetup

public static void previewDCSSetup()

taosSetup

public static void taosSetup()

ndrTestSetup

public static void ndrTestSetup()

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

delete

public static void delete()
                   throws Exception
Throws:
Exception

undelete

public static void undelete()
                     throws Exception
Throws:
Exception

deleteMdp

public static void deleteMdp()
                      throws Exception
Throws:
Exception

rmSetInfo

public static void rmSetInfo()
                      throws Exception
Throws:
Exception

mdpReader

public static void mdpReader()
                      throws Exception
Throws:
Exception

findPCResource

public static void findPCResource()
                           throws Exception
Throws:
Exception

findResourceOLD

public static void findResourceOLD()
                            throws Exception
Throws:
Exception

findResource

public static void findResource()
                         throws Exception
Throws:
Exception

findDupResources

public static void findDupResources()
                             throws Exception
Throws:
Exception

getMDP

public static void getMDP()
                   throws Exception
Throws:
Exception

getAggregator

public static void getAggregator()
                          throws Exception
Throws:
Exception

getAgent

public static void getAgent()
                     throws Exception
Throws:
Exception

findAgentById

public static void findAgentById()
                          throws Exception
Throws:
Exception

findAgent

public static void findAgent()
                      throws Exception
Throws:
Exception

addAgent

public static void addAgent()
                     throws Exception
Throws:
Exception

dsTester

public static void dsTester()
                     throws Exception
Throws:
Exception

addMetadata

public static void addMetadata()
                        throws Exception
Throws:
Exception

modifyMetadata

public static void modifyMetadata()
                           throws Exception
Throws:
Exception

setState

public static void setState()
                     throws Exception
Throws:
Exception

getMetadata

public static void getMetadata()
                        throws Exception
Throws:
Exception

getInfoLink

public static void getInfoLink()
                        throws Exception
NOTE: this does not work for dlese.org metadata: no metadatadata is found that is metadataFor 2200/NSDL_Recommended_Resources_Collection

Throws:
Exception

modifyMetadataProvider

public static void modifyMetadataProvider()
                                   throws Exception
Throws:
Exception

countMembers

public static int countMembers()
                        throws Exception
Throws:
Exception

listMembers

public static void listMembers()
                        throws Exception
Throws:
Exception

listAgents

public static void listAgents()
                       throws Exception
Throws:
Exception

listCollections

public static void listCollections()
                            throws Exception
Throws:
Exception

lister

public static void lister()
                   throws Exception
Throws:
Exception

grantAggAuthority

public static void grantAggAuthority()
                              throws Exception
Throws:
Exception

grantMdpAuthority

public static void grantMdpAuthority()
                              throws Exception
Throws:
Exception

find

public static void find()
                 throws Exception
Throws:
Exception

findMdpForAgg

public static void findMdpForAgg()
                          throws Exception
to find non-DLESE MDP, we have to start with an aggregator and then find the MDP that is aggregated by it.

Throws:
Exception

findMdpBySetSpec

public static void findMdpBySetSpec()
                             throws Exception
Throws:
Exception

findMdById

public static void findMdById()
                       throws Exception
Throws:
Exception

findMdByNCSRecordId

public static void findMdByNCSRecordId()
                                throws Exception
Throws:
Exception

findCollectionMdpForMD

public static void findCollectionMdpForMD()
                                   throws Exception
Throws:
Exception

findMdForResource

public static void findMdForResource()
                              throws Exception
Throws:
Exception

deletedRecordsTester

public static void deletedRecordsTester()

findDeletedRecords

public static void findDeletedRecords()
                               throws Exception
Throws:
Exception

myProp

public static void myProp()
                   throws Exception
Throws:
Exception

myProp1

public static void myProp1()
                    throws Exception
Throws:
Exception

addResource

public static void addResource()
                        throws Exception
Throws:
Exception

addAggregator

public static void addAggregator()
                          throws Exception
Throws:
Exception

addAgentAggregator

public static void addAgentAggregator()
                               throws Exception
Throws:
Exception

modifyAggregator

public static void modifyAggregator()
                             throws Exception
Throws:
Exception

modifyResource

public static void modifyResource()
                           throws Exception
Throws:
Exception

modifyAgent

public static void modifyAgent()
                        throws Exception
Throws:
Exception

isAuthorizedToChangeAgg

public static void isAuthorizedToChangeAgg()
                                    throws Exception
Throws:
Exception

isAuthorizedToChangeMdp

public static void isAuthorizedToChangeMdp()
                                    throws Exception
Throws:
Exception

isNDRCollectionMetadataProvider1

public static void isNDRCollectionMetadataProvider1()
                                             throws Exception
Throws:
Exception

isNDRCollectionMetadataProvider

public static void isNDRCollectionMetadataProvider()
                                            throws Exception
Throws:
Exception

authorizeToChangeMdp

public static void authorizeToChangeMdp()
                                 throws Exception
Throws:
Exception

DLESE Tools
v1.6.0