|
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.ndr.apiproxy.NDRConstants
public class NDRConstants
This class contains constants that are used in communicating with the NDR
Nested Class Summary | |
---|---|
static class |
NDRConstants.NDRObjectType
Supported object types of the NDR, used in InputXML instances and responses. |
static class |
NDRConstants.OAIVisibilty
Permitted values for Metadata and MetadataProvider Objects in the NDR to control their visibility to the OAI. |
static class |
NDRConstants.ObjectState
Permissible states for an NDRObject. |
static class |
NDRConstants.Service
|
static class |
NDRConstants.SupportedCommand
|
Field Summary | |
---|---|
static Namespace |
AUTH_NAMESPACE
|
static Namespace |
DLESE_NAMESPACE
|
static String |
DLESE_TEST_AGENT
|
static Namespace |
FEDORA_MODEL_NAMESPACE
|
static Namespace |
FEDORA_VIEW_NAMESPACE
|
static String |
FEED_EATER_AGENT
|
static String |
MASTER_AGENT
|
static String |
MASTER_COLLECTION
NOT YET DOCUMENTED |
static String |
NCS_FINAL_STATUS
|
static Namespace |
NCS_NAMESPACE
|
static String |
NCS_TEST_AGENT
|
static int |
NDR_CONNECTION_TIMEOUT
Timeout for connections to ndr server in millis |
static String |
NSDL_DC_METADATA_NAMESPACE
Used in nsdl_dc_info data streams |
static Namespace |
NSDL_NAMESPACE
|
static Namespace |
OAI_NAMESPACE
|
static Namespace |
WIKI_NAMESPACE
|
Constructor Summary | |
---|---|
NDRConstants()
|
Method Summary | |
---|---|
static String |
getMasterAgent()
|
static String |
getMasterCollection()
|
static String |
getNcsAgent()
|
static String |
getNdrApiBaseUrl()
|
static NDRConstants.NDRObjectType |
getNdrResponseType(String tag)
|
static File |
getPrivateKeyFile()
|
static void |
init(String ndrApiBaseUrl,
String ncsAgentHandle,
String privateKeyPath)
Convenience method to assign values to the three values required for signed request to NDR. |
static void |
setMasterAgent(String handle)
|
static void |
setMasterCollection(String handle)
|
static void |
setNcsAgent(String agentHandle)
|
static void |
setNdrApiBaseUrl(String url)
|
static void |
setPrivateKeyFile(File file)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DLESE_TEST_AGENT
public static final String NCS_TEST_AGENT
public static final int NDR_CONNECTION_TIMEOUT
public static final String NSDL_DC_METADATA_NAMESPACE
public static String MASTER_COLLECTION
public static String MASTER_AGENT
public static String FEED_EATER_AGENT
public static final Namespace NCS_NAMESPACE
public static final Namespace DLESE_NAMESPACE
public static final Namespace AUTH_NAMESPACE
public static final Namespace FEDORA_MODEL_NAMESPACE
public static final Namespace FEDORA_VIEW_NAMESPACE
public static final Namespace NSDL_NAMESPACE
public static final Namespace OAI_NAMESPACE
public static final Namespace WIKI_NAMESPACE
public static final String NCS_FINAL_STATUS
Constructor Detail |
---|
public NDRConstants()
Method Detail |
---|
public static void init(String ndrApiBaseUrl, String ncsAgentHandle, String privateKeyPath)
public static NDRConstants.NDRObjectType getNdrResponseType(String tag)
public static String getNdrApiBaseUrl()
public static void setNdrApiBaseUrl(String url)
public static void setNcsAgent(String agentHandle)
public static String getNcsAgent()
public static void setPrivateKeyFile(File file)
public static File getPrivateKeyFile()
public static void setMasterCollection(String handle)
public static String getMasterCollection()
public static void setMasterAgent(String handle)
public static String getMasterAgent()
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |