public abstract class StoredQuery extends Object
| Constructor and Description |
|---|
StoredQuery(org.dcm4chee.xds2.infoset.rim.AdhocQueryRequest req,
XDSRegistryBean session) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFromToMatch(com.mysema.query.BooleanBuilder builder,
StoredQueryParam fromParam,
StoredQueryParam toParam,
com.mysema.query.types.path.NumberPath<Long> subselectJoinPk,
String slotName) |
protected void |
addIndexMatch(com.mysema.query.BooleanBuilder builder,
com.mysema.query.types.path.NumberPath<Long> registryObjectPk,
StoredQueryParam param,
org.dcm4chee.xds2.persistence.RegistryObject.XDSSearchIndexKey key)
Adds a match against RegistryObjectIndex, i.e.
|
protected void |
addPatientIdMatch(com.mysema.query.BooleanBuilder builder,
StoredQueryParam pid) |
protected void |
addSlotValueMatch(com.mysema.query.BooleanBuilder builder,
StoredQueryParam param,
String slotName,
com.mysema.query.types.path.NumberPath<Long> subselectJoinPk) |
protected void |
addStatusMatch(com.mysema.query.BooleanBuilder builder,
com.mysema.query.types.path.StringPath status,
StoredQueryParam statusParam) |
protected void |
addXdsCodeMatch(com.mysema.query.BooleanBuilder builder,
StoredQueryParam codeParam,
String codeClassification,
com.mysema.query.types.path.CollectionPath<org.dcm4chee.xds2.persistence.XDSCode,org.dcm4chee.xds2.persistence.QXDSCode> xdsCodes)
Add code matches in XDS form using XDSCode entity
|
protected void |
checkRequiredParameter() |
protected org.dcm4chee.xds2.persistence.XDSDocumentEntry |
getDocumentEntry() |
protected List<org.dcm4chee.xds2.persistence.Identifiable> |
getObjectsFor(org.dcm4chee.xds2.persistence.RegistryObject ro) |
String |
getPatientID() |
StoredQueryParam |
getQueryParam(String name) |
org.dcm4chee.xds2.infoset.rim.AdhocQueryRequest |
getRequest() |
abstract String[] |
getRequiredParameterNames()
Get list of required parameter names for this Stored Query.
|
XDSRegistryBean |
getSession() |
static StoredQuery |
getStoredQuery(org.dcm4chee.xds2.infoset.rim.AdhocQueryRequest req,
XDSRegistryBean session) |
protected org.dcm4chee.xds2.infoset.rim.AdhocQueryResponse |
initAdhocQueryResponse() |
boolean |
isLeafClass() |
abstract org.dcm4chee.xds2.infoset.rim.AdhocQueryResponse |
query() |
protected String[] |
toCodeValueAndScheme(String codeString) |
public StoredQuery(org.dcm4chee.xds2.infoset.rim.AdhocQueryRequest req,
XDSRegistryBean session)
throws org.dcm4chee.xds2.common.exception.XDSException
org.dcm4chee.xds2.common.exception.XDSExceptionpublic abstract org.dcm4chee.xds2.infoset.rim.AdhocQueryResponse query()
throws org.dcm4chee.xds2.common.exception.XDSException
org.dcm4chee.xds2.common.exception.XDSExceptionpublic abstract String[] getRequiredParameterNames()
public org.dcm4chee.xds2.infoset.rim.AdhocQueryRequest getRequest()
public XDSRegistryBean getSession()
public String getPatientID()
public static StoredQuery getStoredQuery(org.dcm4chee.xds2.infoset.rim.AdhocQueryRequest req, XDSRegistryBean session) throws org.dcm4chee.xds2.common.exception.XDSException
org.dcm4chee.xds2.common.exception.XDSExceptionpublic StoredQueryParam getQueryParam(String name)
public boolean isLeafClass()
protected org.dcm4chee.xds2.infoset.rim.AdhocQueryResponse initAdhocQueryResponse()
protected void checkRequiredParameter()
throws org.dcm4chee.xds2.common.exception.XDSException
org.dcm4chee.xds2.common.exception.XDSExceptionprotected void addPatientIdMatch(com.mysema.query.BooleanBuilder builder,
StoredQueryParam pid)
throws org.dcm4chee.xds2.common.exception.XDSException
org.dcm4chee.xds2.common.exception.XDSExceptionprotected void addStatusMatch(com.mysema.query.BooleanBuilder builder,
com.mysema.query.types.path.StringPath status,
StoredQueryParam statusParam)
protected void addXdsCodeMatch(com.mysema.query.BooleanBuilder builder,
StoredQueryParam codeParam,
String codeClassification,
com.mysema.query.types.path.CollectionPath<org.dcm4chee.xds2.persistence.XDSCode,org.dcm4chee.xds2.persistence.QXDSCode> xdsCodes)
throws org.dcm4chee.xds2.common.exception.XDSException
builder - BooleanBuilder to add matches for given code parametercodeParam - Stored Query Parameter with code valuescodeType - The classification of the codes (Classification.classificationScheme)xdsCodes - The CollectionPath for XDSCodes of parent select (to bind subselect)org.dcm4chee.xds2.common.exception.XDSExceptionprotected void addFromToMatch(com.mysema.query.BooleanBuilder builder,
StoredQueryParam fromParam,
StoredQueryParam toParam,
com.mysema.query.types.path.NumberPath<Long> subselectJoinPk,
String slotName)
protected void addSlotValueMatch(com.mysema.query.BooleanBuilder builder,
StoredQueryParam param,
String slotName,
com.mysema.query.types.path.NumberPath<Long> subselectJoinPk)
protected void addIndexMatch(com.mysema.query.BooleanBuilder builder,
com.mysema.query.types.path.NumberPath<Long> registryObjectPk,
StoredQueryParam param,
org.dcm4chee.xds2.persistence.RegistryObject.XDSSearchIndexKey key)
protected String[] toCodeValueAndScheme(String codeString) throws org.dcm4chee.xds2.common.exception.XDSException
org.dcm4chee.xds2.common.exception.XDSExceptionprotected org.dcm4chee.xds2.persistence.XDSDocumentEntry getDocumentEntry()
throws org.dcm4chee.xds2.common.exception.XDSException
org.dcm4chee.xds2.common.exception.XDSExceptionprotected List<org.dcm4chee.xds2.persistence.Identifiable> getObjectsFor(org.dcm4chee.xds2.persistence.RegistryObject ro) throws org.dcm4chee.xds2.common.exception.XDSException
org.dcm4chee.xds2.common.exception.XDSExceptionCopyright © 2014. All Rights Reserved.