public interface SdmxBeanRetrievalManager extends IdentifiableRetrievalManager
Modifier and Type | Method and Description |
---|---|
<T extends MaintainableBean> |
getMaintainableBean(java.lang.Class<T> structureType,
MaintainableRefBean ref)
Returns the Maintainable that is of the given type, determined by T, and matches the reference parameters in the MaintainableRef.
|
<T extends MaintainableBean> |
getMaintainableBean(java.lang.Class<T> structureType,
MaintainableRefBean ref,
boolean returnStub,
boolean returnLatest)
Returns the Maintainable that is of the given type, determined by T, and matches the reference parameters in the MaintainableRef.
|
MaintainableBean |
getMaintainableBean(StructureReferenceBean sRef)
Obtains a MaintainableBean identified by the StructureReferenceBean.
|
MaintainableBean |
getMaintainableBean(StructureReferenceBean sRef,
boolean returnStub,
boolean returnLatest)
Obtains a MaintainableBean identified by the StructureReferenceBean.
|
<T extends MaintainableBean> |
getMaintainableBeans(java.lang.Class<T> structureType)
Obtains a set of all MaintainableBeans of type T
An empty Set will be returned if there are no matches to the query
|
<T extends MaintainableBean> |
getMaintainableBeans(java.lang.Class<T> structureType,
MaintainableRefBean ref)
Obtains a set of MaintainableBeans of type T that match the reference parameters in the MaintainableRef argument.
|
<T extends MaintainableBean> |
getMaintainableBeans(java.lang.Class<T> structureType,
MaintainableRefBean ref,
boolean returnLatest,
boolean returnStub)
Obtains a set of MaintainableBeans of type T that match the reference parameters in the MaintainableRef argument.
|
SdmxBeans |
getMaintainables(RESTStructureQuery restquery)
Get all the maintainables that match the RESTStructureQuery
|
SdmxBeans |
getSdmxBeans(StructureReferenceBean sRef,
ResolutionSettings.RESOLVE_CROSS_REFERENCES resolveCrossReferences)
Returns a SdmxBeans container containing all the MaintainableBeans that match
the query parameters as defined by the StructureReferenceBean.
|
getAgency, getIdentifiableBean, getIdentifiableBean, getIdentifiableBean, getIdentifiableBeans
SdmxBeans getMaintainables(RESTStructureQuery restquery)
restquery
- SdmxBeans getSdmxBeans(StructureReferenceBean sRef, ResolutionSettings.RESOLVE_CROSS_REFERENCES resolveCrossReferences)
sRef
- The StructureReferenceBean which must not be nullresolveCrossReferences
- either 'do not resolve', 'resolve all' or 'resolve all excluding agencies'. If not set to 'do not resolve'
then all the structures that are referenced by the resulting structures are also returned
(and also their children). This will be equivalent to descendants for a RESTful query.java.lang.IllegalArgumentException
- if the StructureReferenceBean is nullMaintainableBean getMaintainableBean(StructureReferenceBean sRef)
sRef
- identifies the structure type, and the identifiers of the structure, can include widcarded values (null indicates a wildcard). If version information is missing, then
latest version is assumedSdmxException
- if more then one structure matches the queryMaintainableBean getMaintainableBean(StructureReferenceBean sRef, boolean returnStub, boolean returnLatest)
sRef
- identifies the structure type, and the identifiers of the structure, can include widcarded values (null indicates a wildcard). If version information is missing, then
latest version is assumedreturnStub
- if true then the stub bean will be returned instead of the full structurereturnLatest
- if true then the latest version is returned, regardless of whether version information is suppliedSdmxException
- if more then one structure matches the query<T extends MaintainableBean> T getMaintainableBean(java.lang.Class<T> structureType, MaintainableRefBean ref)
structureType
- identifying the Class type to returnref
- contains the parameters that must match on the returned structure. If version information is missing, then latest version is assumedSdmxException
- if more then one structure matches the query<T extends MaintainableBean> T getMaintainableBean(java.lang.Class<T> structureType, MaintainableRefBean ref, boolean returnStub, boolean returnLatest)
structureType
- identifying the Class type to returnref
- contains the parameters that must match on the returned structure. If version information is missing, then latest version is assumedreturnStub
- if true then the stub bean will be returned instead of the full structurereturnLatest
- if true then the latest version is returned, regardless of whether version information is suppliedSdmxException
- if more then one structure matches the query<T extends MaintainableBean> java.util.Set<T> getMaintainableBeans(java.lang.Class<T> structureType)
structureType
- identifies the structure of type to return, if argument is null or Maintainable.class then all maintainables will be returned<T extends MaintainableBean> java.util.Set<T> getMaintainableBeans(java.lang.Class<T> structureType, MaintainableRefBean ref)
structureType
- identifies the structure typeref
- contains the identifiers of the structures to returns, can include widcarded values (null indicates a wildcard).<T extends MaintainableBean> java.util.Set<T> getMaintainableBeans(java.lang.Class<T> structureType, MaintainableRefBean ref, boolean returnLatest, boolean returnStub)
structureType
- identifies the structure typeref
- contains the identifiers of the structures to returns, can include widcarded values (null indicates a wildcard).returnLatest
- if true then the latest version is returned, regardless of whether version information is suppliedreturnStub
- if true then the stub bean will be returned instead of the full structure