Package org.dlese.dpc.ndr.reader
Class GroupingObjectReader
java.lang.Object
org.dlese.dpc.ndr.reader.NdrObjectReader
org.dlese.dpc.ndr.reader.GroupingObjectReader
- Direct Known Subclasses:
AggregatorReader,MetadataProviderReader
Base class for MetadataProvider and Aggregator Readers with support for
listing members, authorization, and service descriptions.
- Author:
- ostwald
-
Field Summary
Fields inherited from class org.dlese.dpc.ndr.reader.NdrObjectReader
createdDate, doc, dsFormats, handle, lastModifiedDate, nativeDataStreamFormat, nsContext, objectType -
Constructor Summary
ConstructorsConstructorDescriptionGroupingObjectReader(String handle) Constructor for the GroupingObjectReader object at the specified NDR handle.GroupingObjectReader(String handle, String format) Constructor for the GroupingObjectReader objectGroupingObjectReader(org.dom4j.Document ndrResponse) Constructor for the GroupingObjectReader object for the provided Document representing a NDR "get" call for a MetadataProvider object.GroupingObjectReader(org.dom4j.Document ndrResponse, String format) Constructor for the GroupingObjectReader object -
Method Summary
Modifier and TypeMethodDescriptionabstract StringGets the childToParentRelationship attribute of the GroupingObjectReader objectintGets the number of inactive Members of the GroupingObjectReader objectGets the handles of the inactive metadata objects of the GroupingObjectReader objectintGets the number of visible metadata records of the GroupingObjectReader objectGets the metadata object handles for the GroupingObjectReader objectGets the serviceDescription attribute of the GroupingObjectReader objectbooleanReturns true if the configured NCS_AGENT is authorized to change this objectbooleanisAuthorizedToChange(String agentHandle) Returns true if specified agent is authorized to change this object.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, pp, setDebug
-
Constructor Details
-
GroupingObjectReader
Constructor for the GroupingObjectReader object at the specified NDR handle.- Parameters:
handle- NOT YET DOCUMENTED- Throws:
Exception- NOT YET DOCUMENTED
-
GroupingObjectReader
Constructor for the GroupingObjectReader object- Parameters:
handle- NOT YET DOCUMENTEDformat- NOT YET DOCUMENTED- Throws:
Exception- NOT YET DOCUMENTED
-
GroupingObjectReader
Constructor for the GroupingObjectReader object for the provided Document representing a NDR "get" call for a MetadataProvider object.- Parameters:
ndrResponse- NOT YET DOCUMENTED- Throws:
Exception- NOT YET DOCUMENTED
-
GroupingObjectReader
Constructor for the GroupingObjectReader object- Parameters:
ndrResponse- NOT YET DOCUMENTEDformat- NOT YET DOCUMENTED- Throws:
Exception- NOT YET DOCUMENTED
-
-
Method Details
-
getChildToParentRelationship
Gets the childToParentRelationship attribute of the GroupingObjectReader object- Returns:
- The childToParentRelationship value
-
getServiceDescription
Gets the serviceDescription attribute of the GroupingObjectReader object- Returns:
- The serviceDescription value
-
getMemberHandles
Gets the metadata object handles for the GroupingObjectReader object- Returns:
- The memberHandles value
- Throws:
Exception- NOT YET DOCUMENTED
-
getMemberCount
Gets the number of visible metadata records of the GroupingObjectReader object- Returns:
- The number of members for this MDP
- Throws:
Exception- NOT YET DOCUMENTED
-
getInactiveMemberHandles
Gets the handles of the inactive metadata objects of the GroupingObjectReader object- Returns:
- The inactiveMemberHandles value
- Throws:
Exception- NOT YET DOCUMENTED
-
getInactiveMemberCount
Gets the number of inactive Members of the GroupingObjectReader object- Returns:
- The inactiveMemberCount value
- Throws:
Exception- NOT YET DOCUMENTED
-
isAuthorizedToChange
public boolean isAuthorizedToChange()Returns true if the configured NCS_AGENT is authorized to change this object- Returns:
- The authorizedToChange value
-
isAuthorizedToChange
Returns true if specified agent is authorized to change this object.- Parameters:
agentHandle- the agent handle- Returns:
- The authorizedToChange value
-