Interface ThingModifyCommand<T extends ThingModifyCommand<T>>
- Type Parameters:
T- the type of the implementing class.
- All Superinterfaces:
org.eclipse.ditto.base.model.signals.commands.Command<T>,org.eclipse.ditto.base.model.headers.DittoHeadersSettable<T>,org.eclipse.ditto.base.model.json.Jsonifiable<org.eclipse.ditto.json.JsonObject>,org.eclipse.ditto.base.model.json.Jsonifiable.WithPredicate<org.eclipse.ditto.json.JsonObject,,org.eclipse.ditto.json.JsonField> org.eclipse.ditto.base.model.signals.Signal<T>,org.eclipse.ditto.base.model.signals.SignalWithEntityId<T>,ThingCommand<T>,org.eclipse.ditto.base.model.headers.WithDittoHeaders,org.eclipse.ditto.base.model.entity.id.WithEntityId,org.eclipse.ditto.base.model.entity.type.WithEntityType,org.eclipse.ditto.base.model.headers.WithManifest,org.eclipse.ditto.base.model.signals.WithName,org.eclipse.ditto.base.model.signals.WithOptionalEntity<T>,org.eclipse.ditto.base.model.signals.WithResource,WithThingId,org.eclipse.ditto.base.model.signals.WithType
- All Known Implementing Classes:
CreateThing,DeleteAttribute,DeleteAttributes,DeleteFeature,DeleteFeatureDefinition,DeleteFeatureDesiredProperties,DeleteFeatureDesiredProperty,DeleteFeatureProperties,DeleteFeatureProperty,DeleteFeatures,DeleteThing,DeleteThingDefinition,MergeThing,ModifyAttribute,ModifyAttributes,ModifyFeature,ModifyFeatureDefinition,ModifyFeatureDesiredProperties,ModifyFeatureDesiredProperty,ModifyFeatureProperties,ModifyFeatureProperty,ModifyFeatures,ModifyPolicyId,ModifyThing,ModifyThingDefinition
public interface ThingModifyCommand<T extends ThingModifyCommand<T>>
extends ThingCommand<T>, org.eclipse.ditto.base.model.signals.WithOptionalEntity<T>
Aggregates all
ThingCommands which modify the state of a Thing.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.ditto.base.model.signals.commands.Command
org.eclipse.ditto.base.model.signals.commands.Command.CategoryNested classes/interfaces inherited from interface org.eclipse.ditto.base.model.json.Jsonifiable
org.eclipse.ditto.base.model.json.Jsonifiable.WithFieldSelector, org.eclipse.ditto.base.model.json.Jsonifiable.WithFieldSelectorAndPredicate<T extends Object>, org.eclipse.ditto.base.model.json.Jsonifiable.WithPointer<J extends org.eclipse.ditto.json.JsonValue>, org.eclipse.ditto.base.model.json.Jsonifiable.WithPredicate<J extends org.eclipse.ditto.json.JsonValue,T extends Object> Nested classes/interfaces inherited from interface org.eclipse.ditto.things.model.signals.commands.ThingCommand
ThingCommand.JsonFields -
Field Summary
Fields inherited from interface org.eclipse.ditto.base.model.signals.commands.Command
TYPE_QUALIFIERFields inherited from interface org.eclipse.ditto.base.model.signals.Signal
CHANNEL_LIVE, CHANNEL_TWINFields inherited from interface org.eclipse.ditto.things.model.signals.commands.ThingCommand
RESOURCE_TYPE, TYPE_PREFIXFields inherited from interface org.eclipse.ditto.base.model.signals.WithType
MESSAGES_COMMAND_RESPONSES_PREFIX, MESSAGES_COMMANDS_PREFIX, POLICY_ANNOUNCEMENT_PREFIX, THINGS_COMMAND_RESPONSES_PREFIX, THINGS_COMMANDS_PREFIX, THINGS_EVENTS_PREFIX -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether this command may change authorization of the Thing.setDittoHeaders(org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Methods inherited from interface org.eclipse.ditto.base.model.signals.commands.Command
getCategory, getImplementedSchemaVersion, toJson, toJsonMethods inherited from interface org.eclipse.ditto.base.model.json.Jsonifiable
getLatestSchemaVersion, getSupportedSchemaVersions, implementsSchemaVersion, implementsSchemaVersion, toJsonStringMethods inherited from interface org.eclipse.ditto.base.model.json.Jsonifiable.WithPredicate
toJson, toJsonString, toJsonStringMethods inherited from interface org.eclipse.ditto.base.model.signals.Signal
getNameMethods inherited from interface org.eclipse.ditto.things.model.signals.commands.ThingCommand
getEntityType, getResourceType, getTypePrefixMethods inherited from interface org.eclipse.ditto.base.model.headers.WithDittoHeaders
getDittoHeadersMethods inherited from interface org.eclipse.ditto.base.model.headers.WithManifest
getManifestMethods inherited from interface org.eclipse.ditto.base.model.signals.WithOptionalEntity
getEntity, getEntity, setEntityMethods inherited from interface org.eclipse.ditto.base.model.signals.WithResource
getResourcePathMethods inherited from interface org.eclipse.ditto.things.model.WithThingId
getEntityIdMethods inherited from interface org.eclipse.ditto.base.model.signals.WithType
getType
-
Method Details
-
setDittoHeaders
- Specified by:
setDittoHeadersin interfaceorg.eclipse.ditto.base.model.signals.commands.Command<T extends ThingModifyCommand<T>>- Specified by:
setDittoHeadersin interfaceorg.eclipse.ditto.base.model.headers.DittoHeadersSettable<T extends ThingModifyCommand<T>>- Specified by:
setDittoHeadersin interfaceThingCommand<T extends ThingModifyCommand<T>>
-
changesAuthorization
boolean changesAuthorization()Checks whether this command may change authorization of the Thing.- Returns:
trueif authorization would change,falseotherwise.
-