Package org.camunda.bpm.engine.impl.cmd
Class SaveAuthorizationCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.SaveAuthorizationCmd
- All Implemented Interfaces:
Command<Authorization>
- Author:
- Daniel Meyer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static ProcessEngineConfigurationImplengine(CommandContext commandContext) protected static voidensureGroupRef(CommandContext commandContext, String groupId) protected static voidensureResourceRef(CommandContext commandContext, String resId, int resourceType) protected static voidensureUserRef(CommandContext commandContext, String userId) execute(CommandContext commandContext) protected Set<Map.Entry<Resources,Supplier<HistoryEvent>>> getHistoricInstanceResources(CommandContext commandContext) protected HistoryEventgetHistoricProcessInstance(CommandContext commandContext) protected HistoryEventgetHistoricTaskInstance(CommandContext commandContext) protected booleanisNullOrAny(String resourceId) protected booleanisResourceEqualTo(Resources resource) protected voidprovideRemovalTime(HistoryEvent historicInstance) protected voidprovideRemovalTime(CommandContext commandContext) protected static ResourcestoResourceType(int resourceType) protected static void
-
Field Details
-
AUTH_FAILED
- See Also:
-
authorization
-
-
Constructor Details
-
SaveAuthorizationCmd
-
-
Method Details
-
execute
- Specified by:
executein interfaceCommand<Authorization>
-
engine
-
ensureUserRef
-
ensureGroupRef
-
ensureResourceRef
protected static void ensureResourceRef(CommandContext commandContext, String resId, int resourceType) -
provideRemovalTime
-
getHistoricInstanceResources
protected Set<Map.Entry<Resources,Supplier<HistoryEvent>>> getHistoricInstanceResources(CommandContext commandContext) -
provideRemovalTime
-
getHistoricProcessInstance
-
getHistoricTaskInstance
-
isNullOrAny
-
isResourceEqualTo
-
validateAuthorizationStructure
-
toResourceType
-