public class NDRConstants
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
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 |
Modifier and Type | Field and Description |
---|---|
static org.dom4j.Namespace |
AUTH_NAMESPACE |
static org.dom4j.Namespace |
DLESE_NAMESPACE |
static java.lang.String |
DLESE_TEST_AGENT |
static org.dom4j.Namespace |
FEDORA_MODEL_NAMESPACE |
static org.dom4j.Namespace |
FEDORA_VIEW_NAMESPACE |
static java.lang.String |
FEED_EATER_AGENT |
static java.lang.String |
MASTER_AGENT |
static java.lang.String |
MASTER_COLLECTION
NOT YET DOCUMENTED
|
static java.lang.String |
NCS_FINAL_STATUS |
static org.dom4j.Namespace |
NCS_NAMESPACE |
static java.lang.String |
NCS_TEST_AGENT |
static int |
NDR_CONNECTION_TIMEOUT
Timeout for connections to ndr server in millis
|
static java.lang.String |
NSDL_DC_METADATA_NAMESPACE
Used in nsdl_dc_info data streams
|
static org.dom4j.Namespace |
NSDL_NAMESPACE |
static org.dom4j.Namespace |
OAI_NAMESPACE |
static org.dom4j.Namespace |
WIKI_NAMESPACE |
Constructor and Description |
---|
NDRConstants() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getMasterAgent() |
static java.lang.String |
getMasterCollection() |
static java.lang.String |
getNcsAgent() |
static java.lang.String |
getNdrApiBaseUrl() |
static NDRConstants.NDRObjectType |
getNdrResponseType(java.lang.String tag) |
static java.io.File |
getPrivateKeyFile() |
static void |
init(java.lang.String ndrApiBaseUrl,
java.lang.String ncsAgentHandle,
java.lang.String privateKeyPath)
Convenience method to assign values to the three values required for signed request to NDR.
|
static void |
setMasterAgent(java.lang.String handle) |
static void |
setMasterCollection(java.lang.String handle) |
static void |
setNcsAgent(java.lang.String agentHandle) |
static void |
setNdrApiBaseUrl(java.lang.String url) |
static void |
setPrivateKeyFile(java.io.File file) |
public static final java.lang.String DLESE_TEST_AGENT
public static final java.lang.String NCS_TEST_AGENT
public static final int NDR_CONNECTION_TIMEOUT
public static final java.lang.String NSDL_DC_METADATA_NAMESPACE
public static java.lang.String MASTER_COLLECTION
public static java.lang.String MASTER_AGENT
public static java.lang.String FEED_EATER_AGENT
public static final org.dom4j.Namespace NCS_NAMESPACE
public static final org.dom4j.Namespace DLESE_NAMESPACE
public static final org.dom4j.Namespace AUTH_NAMESPACE
public static final org.dom4j.Namespace FEDORA_MODEL_NAMESPACE
public static final org.dom4j.Namespace FEDORA_VIEW_NAMESPACE
public static final org.dom4j.Namespace NSDL_NAMESPACE
public static final org.dom4j.Namespace OAI_NAMESPACE
public static final org.dom4j.Namespace WIKI_NAMESPACE
public static final java.lang.String NCS_FINAL_STATUS
public static void init(java.lang.String ndrApiBaseUrl, java.lang.String ncsAgentHandle, java.lang.String privateKeyPath)
public static NDRConstants.NDRObjectType getNdrResponseType(java.lang.String tag)
public static java.lang.String getNdrApiBaseUrl()
public static void setNdrApiBaseUrl(java.lang.String url)
public static void setNcsAgent(java.lang.String agentHandle)
public static java.lang.String getNcsAgent()
public static void setPrivateKeyFile(java.io.File file)
public static java.io.File getPrivateKeyFile()
public static void setMasterCollection(java.lang.String handle)
public static java.lang.String getMasterCollection()
public static void setMasterAgent(java.lang.String handle)
public static java.lang.String getMasterAgent()