Package com.skava.accounts.service.impl
Class PatchApprovalRuleImpl
java.lang.Object
com.skava.accounts.service.impl.PatchApprovalRuleImpl
- All Implemented Interfaces:
PatchApprovalRule
,com.skava.core.EcommService<ApprovalRuleUpdateRequest,
ApprovalRuleAPIResponse>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess
(ApprovalRuleUpdateRequest request) This method is used to update ApprovalRule based on given ApprovalRule Request parameters.void
updateRequestValidation
(ApprovalRuleUpdateRequest updateRequest) 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
This Class contains methods for delete approval rule api.- See Also:
-
ENTITY_ACCOUNT
- See Also:
-
APPROVAL_RULE_ID_INVALID
- 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
-
PatchApprovalRuleImpl
public PatchApprovalRuleImpl()
-
-
Method Details
-
process
This method is used to update ApprovalRule based on given ApprovalRule Request parameters.- Specified by:
process
in interfacecom.skava.core.EcommService<ApprovalRuleUpdateRequest,
ApprovalRuleAPIResponse> - Parameters:
request
- object of typeApprovalRuleUpdateRequest
. It consists of the params required to update a ApprovalRule.- Returns:
- the object of type
ApprovalRuleAPIResponse
if a approvalRule is updated successfully. throwsValidateException
if any validation error occurs.
-
updateRequestValidation
This method is used to validate the approval rule request parameter .- Parameters:
updateRequest
-
-