Class CheckForRelatedEntitiesServiceImpl
java.lang.Object
ch.tocco.nice2.optional.finance.impl.service.CheckForRelatedEntitiesServiceImpl
- All Implemented Interfaces:
CheckForRelatedEntitiesService
@Component
public class CheckForRelatedEntitiesServiceImpl
extends Object
implements CheckForRelatedEntitiesService
-
Constructor Summary
ConstructorDescriptionCheckForRelatedEntitiesServiceImpl
(TextResources textResources, ClientQuestionService clientQuestionService, Context context) -
Method Summary
-
Constructor Details
-
CheckForRelatedEntitiesServiceImpl
public CheckForRelatedEntitiesServiceImpl(TextResources textResources, ClientQuestionService clientQuestionService, Context context)
-
-
Method Details
-
entityIsRelated
public void entityIsRelated(Entity entity, List<String> relationsToCheck, String messageHeader, String messageContent) Description copied from interface:CheckForRelatedEntitiesService
Check if the given entity is related to another entity ask a clientquestion if the entity is related- Specified by:
entityIsRelated
in interfaceCheckForRelatedEntitiesService
- Parameters:
entity
- the entity on which the change occursrelationsToCheck
- list of relations that need to be checkedmessageHeader
- header of the clientquestionmessageContent
- content of the clientquestion
-