Class AssignPaymentToRelatedEntityServiceImpl
java.lang.Object
ch.tocco.nice2.optional.finance.impl.action.AssignPaymentToRelatedEntityServiceImpl
- All Implemented Interfaces:
AssignPaymentToRelatedEntityService
public class AssignPaymentToRelatedEntityServiceImpl
extends Object
implements AssignPaymentToRelatedEntityService
-
Constructor Summary
ConstructorDescriptionAssignPaymentToRelatedEntityServiceImpl
(EntityExplorerActionSelectionService selectionService, Context ctx, DefaultDisplayService defaultDisplayService, CommandExecutor executor, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
assignRelatedEntities
(EntityExplorerActionSelection selection, Map<String, String> relatedEntityPks) boolean
checkWarning
(EntityExplorerActionSelection selection, Map<String, String> relatedEntityPks) boolean
isPaymentNew
(EntityExplorerActionSelection selection) void
setRelatedEntities
(List<AssignPaymentToRelatedEntityContribution> contributions)
-
Constructor Details
-
AssignPaymentToRelatedEntityServiceImpl
public AssignPaymentToRelatedEntityServiceImpl(EntityExplorerActionSelectionService selectionService, Context ctx, DefaultDisplayService defaultDisplayService, CommandExecutor executor, SecurityManager securityManager)
-
-
Method Details
-
assignRelatedEntities
public void assignRelatedEntities(EntityExplorerActionSelection selection, Map<String, String> relatedEntityPks) - Specified by:
assignRelatedEntities
in interfaceAssignPaymentToRelatedEntityService
-
isPaymentNew
- Specified by:
isPaymentNew
in interfaceAssignPaymentToRelatedEntityService
-
getPreselectedEntities
- Specified by:
getPreselectedEntities
in interfaceAssignPaymentToRelatedEntityService
-
checkWarning
public boolean checkWarning(EntityExplorerActionSelection selection, Map<String, String> relatedEntityPks) - Specified by:
checkWarning
in interfaceAssignPaymentToRelatedEntityService
-
setRelatedEntities
@Autowired(required=false) public void setRelatedEntities(List<AssignPaymentToRelatedEntityContribution> contributions)
-