Interface ThingModifyCommand<T extends ThingModifyCommand<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.WithOptionalEntity
,org.eclipse.ditto.signals.base.WithResource
,org.eclipse.ditto.model.things.WithThingId
,org.eclipse.ditto.signals.base.WithType
- All Known Implementing Classes:
CreateThing
,DeleteAclEntry
,DeleteAttribute
,DeleteAttributes
,DeleteFeature
,DeleteFeatureDefinition
,DeleteFeatureDesiredProperties
,DeleteFeatureDesiredProperty
,DeleteFeatureProperties
,DeleteFeatureProperty
,DeleteFeatures
,DeleteThing
,DeleteThingDefinition
,ModifyAcl
,ModifyAclEntry
,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.signals.base.WithOptionalEntity
Aggregates allThingCommand
s which modify the state of aThing
.
-
-
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 Modifier and Type Method Description boolean
changesAuthorization()
Checks whether this command may change authorization of the Thing.T
setDittoHeaders(org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders)
-
Methods inherited from interface org.eclipse.ditto.signals.commands.base.Command
getCategory, 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
-
Methods inherited from interface org.eclipse.ditto.signals.base.WithOptionalEntity
getEntity, getEntity
-
-
-
-
Method Detail
-
setDittoHeaders
T setDittoHeaders(org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders)
- Specified by:
setDittoHeaders
in interfaceorg.eclipse.ditto.signals.commands.base.Command<T extends ThingModifyCommand<T>>
- Specified by:
setDittoHeaders
in interfaceThingCommand<T extends ThingModifyCommand<T>>
- Specified by:
setDittoHeaders
in interfaceorg.eclipse.ditto.model.base.headers.WithDittoHeaders<T extends ThingModifyCommand<T>>
-
changesAuthorization
boolean changesAuthorization()
Checks whether this command may change authorization of the Thing.- Returns:
true
if authorization would change,false
otherwise.
-
-