Package dev.dsf.fhir.search.parameters
Class SubscriptionPayload
java.lang.Object
dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter<R>
dev.dsf.fhir.search.parameters.basic.AbstractTokenParameter<org.hl7.fhir.r4.model.Subscription>
dev.dsf.fhir.search.parameters.SubscriptionPayload
- All Implemented Interfaces:
MatcherParameter,SearchQuerySortParameter,SearchQueryParameter<org.hl7.fhir.r4.model.Subscription>
@SearchParameterDefinition(name="payload",
definition="http://hl7.org/fhir/SearchParameter/Subscription-payload",
type=TOKEN,
documentation="The mime-type of the notification payload")
public class SubscriptionPayload
extends AbstractTokenParameter<org.hl7.fhir.r4.model.Subscription>
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.dsf.fhir.search.SearchQueryParameter
SearchQueryParameter.SearchParameterDefinition -
Field Summary
FieldsFields inherited from class dev.dsf.fhir.search.parameters.basic.AbstractTokenParameter
valueAndTypeFields inherited from class dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter
parameterName, resourceType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoConfigure(List<? super SearchQueryParameterError> errors, String queryParameterName, String queryParameterValue) Only called ifSearchQueryParameter.isDefined()returnstrueprotected Stringprotected Stringprotected StringgetSortSql(String sortDirectionWithSpacePrefix) intbooleanvoidmodifyStatement(int parameterIndex, int subqueryParameterIndex, PreparedStatement statement, BiFunctionWithSqlException<String, Object[], Array> arrayCreator) protected booleanresourceMatches(org.hl7.fhir.r4.model.Subscription resource) Methods inherited from class dev.dsf.fhir.search.parameters.basic.AbstractTokenParameter
codingMatches, getBundleUriQueryParameterName, getFilterQuery, getNameModifiersMethods inherited from class dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter
configure, configureSort, getParameterName, matches, notDefinedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.dsf.fhir.search.MatcherParameter
resolveReferencesForMatching
-
Field Details
-
PARAMETER_NAME
- See Also:
-
-
Constructor Details
-
SubscriptionPayload
public SubscriptionPayload()
-
-
Method Details
-
doConfigure
protected void doConfigure(List<? super SearchQueryParameterError> errors, String queryParameterName, String queryParameterValue) - Overrides:
doConfigurein classAbstractTokenParameter<org.hl7.fhir.r4.model.Subscription>
-
isDefined
public boolean isDefined()- Specified by:
isDefinedin interfaceSearchQueryParameter<org.hl7.fhir.r4.model.Subscription>- Overrides:
isDefinedin classAbstractTokenParameter<org.hl7.fhir.r4.model.Subscription>
-
getPositiveFilterQuery
- Specified by:
getPositiveFilterQueryin classAbstractTokenParameter<org.hl7.fhir.r4.model.Subscription>
-
getNegatedFilterQuery
- Specified by:
getNegatedFilterQueryin classAbstractTokenParameter<org.hl7.fhir.r4.model.Subscription>
-
getSqlParameterCount
public int getSqlParameterCount() -
modifyStatement
public void modifyStatement(int parameterIndex, int subqueryParameterIndex, PreparedStatement statement, BiFunctionWithSqlException<String, Object[], throws SQLExceptionArray> arrayCreator) - Throws:
SQLException
-
getBundleUriQueryParameterValue
Description copied from interface:SearchQueryParameterOnly called ifSearchQueryParameter.isDefined()returnstrue- Specified by:
getBundleUriQueryParameterValuein interfaceSearchQueryParameter<org.hl7.fhir.r4.model.Subscription>- Overrides:
getBundleUriQueryParameterValuein classAbstractTokenParameter<org.hl7.fhir.r4.model.Subscription>- Returns:
- not
null, not blank
-
resourceMatches
protected boolean resourceMatches(org.hl7.fhir.r4.model.Subscription resource) - Specified by:
resourceMatchesin classAbstractSearchParameter<org.hl7.fhir.r4.model.Subscription>
-
getSortSql
- Specified by:
getSortSqlin classAbstractSearchParameter<org.hl7.fhir.r4.model.Subscription>
-