Class FunctionMutationActionServiceImpl
java.lang.Object
ch.tocco.nice2.optional.functionmutation.impl.actions.FunctionMutationActionServiceImpl
- All Implemented Interfaces:
FunctionMutationActionService
public class FunctionMutationActionServiceImpl
extends Object
implements FunctionMutationActionService
-
Constructor Summary
ConstructorDescriptionFunctionMutationActionServiceImpl
(Context context, RebindService rebindService, CommandExecutor commandExecutor, QueryBuilderFactory queryBuilderFactory, PrincipalService principalService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
save
(RebindValue[] rebindValues, HashMap<String, String> params) boolean
Checks, if the current user is allowed to create new functions.boolean
Checks, if the current user is allowed to delete the function with the passed key.
-
Constructor Details
-
FunctionMutationActionServiceImpl
public FunctionMutationActionServiceImpl(Context context, RebindService rebindService, CommandExecutor commandExecutor, QueryBuilderFactory queryBuilderFactory, PrincipalService principalService)
-
-
Method Details
-
showCreateButton
public boolean showCreateButton()Description copied from interface:FunctionMutationActionService
Checks, if the current user is allowed to create new functions.- Specified by:
showCreateButton
in interfaceFunctionMutationActionService
-
showDeleteButton
Description copied from interface:FunctionMutationActionService
Checks, if the current user is allowed to delete the function with the passed key.- Specified by:
showDeleteButton
in interfaceFunctionMutationActionService
-
save
- Specified by:
save
in interfaceFunctionMutationActionService
-
delete
- Specified by:
delete
in interfaceFunctionMutationActionService
- Throws:
PersistException
InterruptedException
CommitException
-