Interface ThingQueryCommand<T extends ThingQueryCommand<T>>
-
- Type Parameters:
T
- the type of the implementing class.
- All Superinterfaces:
org.eclipse.ditto.signals.commands.base.Command<T>
,org.eclipse.ditto.model.base.json.Jsonifiable<org.eclipse.ditto.json.JsonObject>
,org.eclipse.ditto.model.base.json.Jsonifiable.WithPredicate<org.eclipse.ditto.json.JsonObject,org.eclipse.ditto.json.JsonField>
,org.eclipse.ditto.signals.base.Signal<T>
,ThingCommand<T>
,org.eclipse.ditto.model.base.headers.WithDittoHeaders<T>
,org.eclipse.ditto.model.base.entity.type.WithEntityType
,org.eclipse.ditto.signals.base.WithId
,org.eclipse.ditto.model.base.headers.WithManifest
,org.eclipse.ditto.signals.base.WithName
,org.eclipse.ditto.signals.base.WithResource
,org.eclipse.ditto.model.things.WithThingId
,org.eclipse.ditto.signals.base.WithType
- All Known Implementing Classes:
RetrieveAcl
,RetrieveAclEntry
,RetrieveAttribute
,RetrieveAttributes
,RetrieveFeature
,RetrieveFeatureDefinition
,RetrieveFeatureDesiredProperties
,RetrieveFeatureDesiredProperty
,RetrieveFeatureProperties
,RetrieveFeatureProperty
,RetrieveFeatures
,RetrievePolicyId
,RetrieveThing
,RetrieveThingDefinition
,RetrieveThings
public interface ThingQueryCommand<T extends ThingQueryCommand<T>> extends ThingCommand<T>
Aggregates allThingCommand
s which query the state of things (read, ...).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.ditto.signals.commands.base.Command
org.eclipse.ditto.signals.commands.base.Command.Category
-
Nested classes/interfaces inherited from interface org.eclipse.ditto.model.base.json.Jsonifiable
org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelector, org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelectorAndPredicate<T extends Object>, org.eclipse.ditto.model.base.json.Jsonifiable.WithPointer<J extends org.eclipse.ditto.json.JsonValue>, org.eclipse.ditto.model.base.json.Jsonifiable.WithPredicate<J extends org.eclipse.ditto.json.JsonValue,T extends Object>
-
Nested classes/interfaces inherited from interface org.eclipse.ditto.signals.commands.things.ThingCommand
ThingCommand.JsonFields
-
-
Field Summary
-
Fields inherited from interface org.eclipse.ditto.signals.commands.things.ThingCommand
RESOURCE_TYPE, TYPE_PREFIX
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default org.eclipse.ditto.signals.commands.base.Command.Category
getCategory()
default Optional<org.eclipse.ditto.json.JsonFieldSelector>
getSelectedFields()
Returns the selected fields which are to be included in the JSON of the retrieved entity.T
setDittoHeaders(org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders)
-
Methods inherited from interface org.eclipse.ditto.signals.commands.base.Command
getImplementedSchemaVersion, toJson, toJson
-
Methods inherited from interface org.eclipse.ditto.model.base.json.Jsonifiable
getLatestSchemaVersion, getSupportedSchemaVersions, implementsSchemaVersion, implementsSchemaVersion, toJsonString
-
Methods inherited from interface org.eclipse.ditto.model.base.json.Jsonifiable.WithPredicate
toJson, toJsonString, toJsonString
-
Methods inherited from interface org.eclipse.ditto.signals.commands.things.ThingCommand
getEntityId, getEntityType, getResourceType, getTypePrefix
-
Methods inherited from interface org.eclipse.ditto.model.base.headers.WithDittoHeaders
getDittoHeaders
-
-
-
-
Method Detail
-
getSelectedFields
default Optional<org.eclipse.ditto.json.JsonFieldSelector> getSelectedFields()
Returns the selected fields which are to be included in the JSON of the retrieved entity.- Returns:
- the selected fields.
-
setDittoHeaders
T setDittoHeaders(org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders)
- Specified by:
setDittoHeaders
in interfaceorg.eclipse.ditto.signals.commands.base.Command<T extends ThingQueryCommand<T>>
- Specified by:
setDittoHeaders
in interfaceThingCommand<T extends ThingQueryCommand<T>>
- Specified by:
setDittoHeaders
in interfaceorg.eclipse.ditto.model.base.headers.WithDittoHeaders<T extends ThingQueryCommand<T>>
-
getCategory
default org.eclipse.ditto.signals.commands.base.Command.Category getCategory()
- Specified by:
getCategory
in interfaceorg.eclipse.ditto.signals.commands.base.Command<T extends ThingQueryCommand<T>>
-
-