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 java.lang.Object implements Command<Authorization>
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected AuthorizationEntityauthorization
-
Constructor Summary
Constructors Constructor Description SaveAuthorizationCmd(Authorization authorization)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Authorizationexecute(CommandContext commandContext)protected java.util.Set<java.util.Map.Entry<Resources,java.util.function.Supplier<HistoryEvent>>>getHistoricInstanceResources(CommandContext commandContext)protected HistoryEventgetHistoricProcessInstance(CommandContext commandContext)protected HistoryEventgetHistoricTaskInstance(CommandContext commandContext)protected booleanisAny(java.lang.String resourceId)protected booleanisNullOrAny(java.lang.String resourceId)protected booleanisResourceEqualTo(Resources resource)protected voidprovideRemovalTime(HistoryEvent historicInstance)protected voidprovideRemovalTime(CommandContext commandContext)protected voidvalidate()-
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:
executein interfaceCommand<Authorization>
-
provideRemovalTime
protected void provideRemovalTime(CommandContext commandContext)
-
getHistoricInstanceResources
protected java.util.Set<java.util.Map.Entry<Resources,java.util.function.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(java.lang.String resourceId)
-
isAny
protected boolean isAny(java.lang.String resourceId)
-
isResourceEqualTo
protected boolean isResourceEqualTo(Resources resource)
-
-