Package org.camunda.bpm.engine.impl.cmd
Class SaveAuthorizationCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.SaveAuthorizationCmd
-
- All Implemented Interfaces:
Command<Authorization>
public class SaveAuthorizationCmd extends Object implements Command<Authorization>
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected AuthorizationEntity
authorization
-
Constructor Summary
Constructors Constructor Description SaveAuthorizationCmd(Authorization authorization)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Authorization
execute(CommandContext commandContext)
protected Set<Map.Entry<Resources,Supplier<HistoryEvent>>>
getHistoricInstanceResources(CommandContext commandContext)
protected HistoryEvent
getHistoricProcessInstance(CommandContext commandContext)
protected HistoryEvent
getHistoricTaskInstance(CommandContext commandContext)
protected boolean
isAny(String resourceId)
protected boolean
isNullOrAny(String resourceId)
protected boolean
isResourceEqualTo(Resources resource)
protected void
provideRemovalTime(HistoryEvent historicInstance)
protected void
provideRemovalTime(CommandContext commandContext)
protected void
validate()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Field Detail
-
authorization
protected AuthorizationEntity authorization
-
-
Constructor Detail
-
SaveAuthorizationCmd
public SaveAuthorizationCmd(Authorization authorization)
-
-
Method Detail
-
validate
protected void validate()
-
execute
public Authorization execute(CommandContext commandContext)
- Specified by:
execute
in interfaceCommand<Authorization>
-
provideRemovalTime
protected void provideRemovalTime(CommandContext commandContext)
-
getHistoricInstanceResources
protected Set<Map.Entry<Resources,Supplier<HistoryEvent>>> getHistoricInstanceResources(CommandContext commandContext)
-
provideRemovalTime
protected void provideRemovalTime(HistoryEvent historicInstance)
-
getHistoricProcessInstance
protected HistoryEvent getHistoricProcessInstance(CommandContext commandContext)
-
getHistoricTaskInstance
protected HistoryEvent getHistoricTaskInstance(CommandContext commandContext)
-
isNullOrAny
protected boolean isNullOrAny(String resourceId)
-
isAny
protected boolean isAny(String resourceId)
-
isResourceEqualTo
protected boolean isResourceEqualTo(Resources resource)
-
-