Class UpdateProjectServiceImpl
java.lang.Object
com.skava.merchandise.service.impl.UpdateProjectServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<ProjectRequestInternal,
,Project> UpdateProjectService
This Class is used to convert the request given into domain model
and pass it to process where the update operation for project happen.
After the operation completion it gets the result and convert the domain model
into response object, then returns the response model.
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
This method is used to validate the given mandatory request fields and its length.process
(ProjectRequestInternal request) This method is used to convert the given project request model into domain model and pass it to project process to process update project operation by given collection by its Id, then convert the domain model to response model to return.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
-
Constructor Details
-
UpdateProjectServiceImpl
public UpdateProjectServiceImpl()
-
-
Method Details
-
process
@SendEvent(eventType="merchandiseservice/project/update", identifier="response_identifier") public Project process(ProjectRequestInternal request) This method is used to convert the given project request model into domain model and pass it to project process to process update project operation by given collection by its Id, then convert the domain model to response model to return.- Specified by:
process
in interfacecom.skava.core.EcommService<ProjectRequestInternal,
Project> - Parameters:
request
- It contains the attributes required for the update operation of project.- Returns:
Project
-
getValidator
This method is used to validate the given mandatory request fields and its length.- Specified by:
getValidator
in interfacecom.skava.core.EcommService<ProjectRequestInternal,
Project> - Returns:
List
<ValidatorComponent
>
-