public class AssociatedConceptIterator extends AbstractRefereshingPageableIterator<java.util.Iterator<java.lang.String>,AssociatedConcept>
AbstractRefereshingPageableIterator.RefershingPager<R,T>, AbstractRefereshingPageableIterator.RefreshResult<R,T>
AbstractPageableIterator.NextDecorator<T>, AbstractPageableIterator.Pager<T>
Constructor and Description |
---|
AssociatedConceptIterator() |
AssociatedConceptIterator(java.lang.String codingSchemeUri,
java.lang.String codingSchemeVersion,
java.lang.String relationsContainerName,
java.lang.String associationPredicateName,
java.lang.String entityCode,
java.lang.String entityCodeNamespace,
boolean resolveForward,
boolean resolveBackward,
int resolveForwardAssociationDepth,
int resolveBackwardAssociationDepth,
int resolveCodedEntryDepth,
GraphQuery graphQuery,
LocalNameList propertyNames,
CodedNodeSet.PropertyType[] propertyTypes,
SortOptionList sortAlgorithms,
LocalNameList filterOptions,
CycleDetectingCallback cycleDetectingCallback,
AssociationListBuilder.AssociationDirection direction,
int pageSize)
Instantiates a new associated concept iterator.
|
Modifier and Type | Method and Description |
---|---|
protected AssociatedConcept |
decorateNext(AssociatedConcept associatedConcept)
Decorate next.
|
protected java.util.Iterator<java.lang.String> |
doGetRefresh()
Do get refresh.
|
protected java.util.List<AssociatedConcept> |
doPage(int currentPosition,
int pageSize)
Returns a page of results.
|
protected void |
doRefresh(java.util.Iterator<java.lang.String> refresh)
Do refresh.
|
protected java.util.List<AssociatedConcept> |
filterList(java.util.List<AssociatedConcept> list) |
protected CodedNodeGraphDao.TripleNode |
getAssociatedConceptNode(AssociationListBuilder.AssociationDirection direction)
Gets the associated concept node.
|
protected CodedNodeGraphDao.TripleNode |
getTripleUidIteratorNode(AssociationListBuilder.AssociationDirection direction)
Gets the triple uid iterator node.
|
doExecutePage
getGlobalPosition, getPageSize, hasNext, isDecorateNext, isPageNeeded, iterator, next, page, pageIfNecessary, remove, setDecorateNext
public AssociatedConceptIterator()
public AssociatedConceptIterator(java.lang.String codingSchemeUri, java.lang.String codingSchemeVersion, java.lang.String relationsContainerName, java.lang.String associationPredicateName, java.lang.String entityCode, java.lang.String entityCodeNamespace, boolean resolveForward, boolean resolveBackward, int resolveForwardAssociationDepth, int resolveBackwardAssociationDepth, int resolveCodedEntryDepth, GraphQuery graphQuery, LocalNameList propertyNames, CodedNodeSet.PropertyType[] propertyTypes, SortOptionList sortAlgorithms, LocalNameList filterOptions, CycleDetectingCallback cycleDetectingCallback, AssociationListBuilder.AssociationDirection direction, int pageSize)
entityCode
- the entity codeentityCodeNamespace
- the entity code namespacedirection
- the directionpageSize
- the page sizecodingSchemeUri
- the coding scheme uricodingSchemeVersion
- the coding scheme versionrelationsContainerName
- the relations container nameassociationPredicateName
- the association predicate nameresolveForward
- the resolve forwardresolveBackward
- the resolve backwardresolveForwardAssociationDepth
- the resolve forward association depthresolveBackwardAssociationDepth
- the resolve backward association depthresolveCodedEntryDepth
- the resolve coded entry depthgraphQuery
- the graph queryfilterOptions
- cycleDetectingCallback
- the cycle detecting callbackprotected java.util.Iterator<java.lang.String> doGetRefresh()
AbstractRefereshingPageableIterator
doGetRefresh
in class AbstractRefereshingPageableIterator<java.util.Iterator<java.lang.String>,AssociatedConcept>
protected void doRefresh(java.util.Iterator<java.lang.String> refresh)
AbstractRefereshingPageableIterator
doRefresh
in class AbstractRefereshingPageableIterator<java.util.Iterator<java.lang.String>,AssociatedConcept>
refresh
- the refreshprotected AssociatedConcept decorateNext(AssociatedConcept associatedConcept)
AbstractPageableIterator
decorateNext
in class AbstractPageableIterator<AssociatedConcept>
associatedConcept
- the itemprotected java.util.List<AssociatedConcept> doPage(int currentPosition, int pageSize)
AbstractPageableIterator
doPage
in class AbstractPageableIterator<AssociatedConcept>
currentPosition
- the current positionpageSize
- the page sizeprotected java.util.List<AssociatedConcept> filterList(java.util.List<AssociatedConcept> list)
protected CodedNodeGraphDao.TripleNode getTripleUidIteratorNode(AssociationListBuilder.AssociationDirection direction)
direction
- the directionprotected CodedNodeGraphDao.TripleNode getAssociatedConceptNode(AssociationListBuilder.AssociationDirection direction)
direction
- the direction