Package org.dlese.dpc.schemedit.test
Class RequestTesters
java.lang.Object
org.dlese.dpc.schemedit.test.RequestTesters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddAgent()static voidstatic voidstatic voidstatic voidstatic voidstatic intstatic voiddelete()static voidstatic voidstatic voiddsTester()static voidstatic voidfind()static voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidto find non-DLESE MDP, we have to start with an aggregator and then find the MDP that is aggregated by it.static voidstatic voidstatic voidstatic voidgetAgent()static voidstatic voidNOTE: this does not work for dlese.org metadata: no metadatadata is found that is metadataFor 2200/NSDL_Recommended_Resources_Collectionstatic voidgetMDP()static voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidlister()static voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidmyProp()static voidmyProp1()static voidstatic voidstatic voidstatic voidsetState()static voidstatic voidundelete()
-
Constructor Details
-
RequestTesters
public RequestTesters()
-
-
Method Details
-
enumTester
public static void enumTester() -
previewDCSSetup
public static void previewDCSSetup() -
taosSetup
public static void taosSetup() -
ndrTestSetup
public static void ndrTestSetup() -
main
- Throws:
Exception
-
delete
- Throws:
Exception
-
undelete
- Throws:
Exception
-
deleteMdp
- Throws:
Exception
-
rmSetInfo
- Throws:
Exception
-
mdpReader
- Throws:
Exception
-
findPCResource
- Throws:
Exception
-
findResourceOLD
- Throws:
Exception
-
findResource
- Throws:
Exception
-
findDupResources
- Throws:
Exception
-
getMDP
- Throws:
Exception
-
getAggregator
- Throws:
Exception
-
getAgent
- Throws:
Exception
-
findAgentById
- Throws:
Exception
-
findAgent
- Throws:
Exception
-
addAgent
- Throws:
Exception
-
dsTester
- Throws:
Exception
-
addMetadata
- Throws:
Exception
-
modifyMetadata
- Throws:
Exception
-
setState
- Throws:
Exception
-
getMetadata
- Throws:
Exception
-
getInfoLink
NOTE: this does not work for dlese.org metadata: no metadatadata is found that is metadataFor 2200/NSDL_Recommended_Resources_Collection- Throws:
Exception
-
modifyMetadataProvider
- Throws:
Exception
-
countMembers
- Throws:
Exception
-
listMembers
- Throws:
Exception
-
listAgents
- Throws:
Exception
-
listCollections
- Throws:
Exception
-
lister
- Throws:
Exception
-
grantAggAuthority
- Throws:
Exception
-
grantMdpAuthority
- Throws:
Exception
-
find
- Throws:
Exception
-
findMdpForAgg
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
- Throws:
Exception
-
findMdById
- Throws:
Exception
-
findMdByNCSRecordId
- Throws:
Exception
-
findCollectionMdpForMD
- Throws:
Exception
-
findMdForResource
- Throws:
Exception
-
deletedRecordsTester
public static void deletedRecordsTester() -
findDeletedRecords
- Throws:
Exception
-
myProp
- Throws:
Exception
-
myProp1
- Throws:
Exception
-
addResource
- Throws:
Exception
-
addAggregator
- Throws:
Exception
-
addAgentAggregator
- Throws:
Exception
-
modifyAggregator
- Throws:
Exception
-
modifyResource
- Throws:
Exception
-
modifyAgent
- Throws:
Exception
-
isAuthorizedToChangeAgg
- Throws:
Exception
-
isAuthorizedToChangeMdp
- Throws:
Exception
-
isNDRCollectionMetadataProvider1
- Throws:
Exception
-
isNDRCollectionMetadataProvider
- Throws:
Exception
-
authorizeToChangeMdp
- Throws:
Exception
-