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
ConstructorsConstructorDescriptionFunctionMutationActionServiceImpl(Context context, RebindService rebindService, CommandExecutor commandExecutor, QueryBuilderFactory queryBuilderFactory, PrincipalService principalService) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsave(RebindValue[] rebindValues, HashMap<String, String> params) booleanChecks, if the current user is allowed to create new functions.booleanChecks, 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:FunctionMutationActionServiceChecks, if the current user is allowed to create new functions.- Specified by:
showCreateButtonin interfaceFunctionMutationActionService
-
showDeleteButton
Description copied from interface:FunctionMutationActionServiceChecks, if the current user is allowed to delete the function with the passed key.- Specified by:
showDeleteButtonin interfaceFunctionMutationActionService
-
save
- Specified by:
savein interfaceFunctionMutationActionService
-
delete
- Specified by:
deletein interfaceFunctionMutationActionService- Throws:
PersistExceptionInterruptedExceptionCommitException
-