public class SaveAuthorizationCmd extends Object implements Command<Authorization>
Modifier and Type | Field and Description |
---|---|
protected AuthorizationEntity |
authorization |
Constructor and Description |
---|
SaveAuthorizationCmd(Authorization authorization) |
Modifier and Type | Method and Description |
---|---|
Authorization |
execute(CommandContext commandContext) |
protected Set<Map.Entry<Resources,java.util.function.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(CommandContext commandContext) |
protected void |
provideRemovalTime(HistoryEvent historicInstance) |
protected void |
validate() |
protected AuthorizationEntity authorization
public SaveAuthorizationCmd(Authorization authorization)
protected void validate()
public Authorization execute(CommandContext commandContext)
execute
in interface Command<Authorization>
protected void provideRemovalTime(CommandContext commandContext)
protected Set<Map.Entry<Resources,java.util.function.Supplier<HistoryEvent>>> getHistoricInstanceResources(CommandContext commandContext)
protected void provideRemovalTime(HistoryEvent historicInstance)
protected HistoryEvent getHistoricProcessInstance(CommandContext commandContext)
protected HistoryEvent getHistoricTaskInstance(CommandContext commandContext)
protected boolean isNullOrAny(String resourceId)
protected boolean isAny(String resourceId)
protected boolean isResourceEqualTo(Resources resource)
Copyright © 2021. All rights reserved.