Package com.skava.accounts.service.impl
Class CreateApprovalRuleServiceImpl
java.lang.Object
com.skava.accounts.service.impl.CreateApprovalRuleServiceImpl
- All Implemented Interfaces:
CreateApprovalRuleService
,com.skava.core.EcommService<ApprovalRuleRequestInternal,
ApprovalRuleAPIResponse>
@Service
public class CreateApprovalRuleServiceImpl
extends Object
implements CreateApprovalRuleService
The Class CreateApprovalRuleServiceImpl is used for creating approval rule
based on the provided information.
- Author:
- Infosys Equinox
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess
(ApprovalRuleRequestInternal request) This method is used to create ApprovalRule based on given ApprovalRule Request Parameters And to restrict the workflow to one It will check account id collection id And also check the workflow is for more than once If so it have to throw exceptionvoid
This method is used to validate the approval rule request parameter.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.skava.core.EcommService
getValidateException, getValidator, getValidator
-
Field Details
-
SERVICE_ACCOUNTS
- See Also:
-
ENTITY_ACCOUNT
- See Also:
-
APPROVAL_RULE_NAME_REQUIRED
APPROVAL_RULE_NAME_REQUIRED- See Also:
-
APPROVAL_RULE_PROCESSNAME_REQUIRED
APPROVAL_RULE_PROCESSNAME_REQUIRED- See Also:
-
APPROVAL_RULE_REQUIRED
APPROVAL_RULE_REQUIRED- See Also:
-
-
Constructor Details
-
CreateApprovalRuleServiceImpl
public CreateApprovalRuleServiceImpl()
-
-
Method Details
-
process
This method is used to create ApprovalRule based on given ApprovalRule Request Parameters And to restrict the workflow to one It will check account id collection id And also check the workflow is for more than once If so it have to throw exception- Specified by:
process
in interfaceCreateApprovalRuleService
- Specified by:
process
in interfacecom.skava.core.EcommService<ApprovalRuleRequestInternal,
ApprovalRuleAPIResponse>
-
workflowRequestValidation
This method is used to validate the approval rule request parameter. and to throw exception- Parameters:
request
-
-