|
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.reader.NdrObjectReader org.dlese.dpc.ndr.reader.AgentReader
public class AgentReader
Extension of NdrObjectReader for accessing properties, dataStreams, and relationships of NDR Agent Objects.
More Info:
Field Summary |
---|
Fields inherited from class org.dlese.dpc.ndr.reader.NdrObjectReader |
---|
createdDate, doc, dsFormats, handle, lastModifiedDate, nativeDataStreamFormat, nsContext, objectType |
Constructor Summary | |
---|---|
AgentReader(Document response)
Constructor for the AgentReader object with provided response (to ndr "get" call) |
|
AgentReader(String handle)
Constructor for the AgentReader with provided handle |
Method Summary | |
---|---|
protected void |
agentInit()
|
List |
getAggregators()
Gets the aggregators that are related to this Agent via the aggregatorFor relationship. |
String |
getIdentifier()
Gets the identifier attribute of the AgentReader object |
String |
getIdentifierType()
Returns one of "HOST", "URL", "OTHER", depending on what form of id is present in the object. |
List |
getMetadataProviders()
Gets the metadataProviders that are related to this Agent via the metadataProviderFor relationship. |
boolean |
isAuthorizedToChange()
Returns true if the configured NCS_AGENT is authorized to change this agent. |
protected static void |
pp(Node node)
|
Methods inherited from class org.dlese.dpc.ndr.reader.NdrObjectReader |
---|
getCanonicalNsdlDcDataStream, getCreated, getCreatedDate, getDataStream, getDataStream, getDocument, getFormats, getHandle, getLastModified, getLastModifiedDate, getNativeDataStream, getNativeDataStream, getNode, getNodes, getNodeText, getNsContext, getObjectType, getProperty, getPropertyValues, getRelationship, getRelationshipValues, getState, getXPath, initDataStreams, setDebug |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgentReader(String handle) throws Exception
handle
- handle to Agent object in the NDR
Exception
- NOT YET DOCUMENTEDpublic AgentReader(Document response) throws Exception
response
- a dom4j.Document reperesentation of ndr GET response.
Exception
- NOT YET DOCUMENTEDMethod Detail |
---|
public String getIdentifier()
public String getIdentifierType()
protected void agentInit() throws Exception
Exception
public boolean isAuthorizedToChange()
public List getMetadataProviders() throws Exception
Exception
- NOT YET DOCUMENTEDpublic List getAggregators() throws Exception
Exception
- NOT YET DOCUMENTEDprotected static void pp(Node node)
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |