Package com.aquima.web.rest.v1.converter
Class CaseConverter
java.lang.Object
com.aquima.web.rest.v1.converter.CaseConverter
- All Implemented Interfaces:
IResourceConverter<com.aquima.interactions.process.dao.ICaseModel,
Case>
public class CaseConverter
extends Object
implements IResourceConverter<com.aquima.interactions.process.dao.ICaseModel,Case>
-
Constructor Details
-
Method Details
-
convert
Description copied from interface:IResourceConverter
Converts a source domain model to a destination REST resource. Also adds HATEOAS links.- Specified by:
convert
in interfaceIResourceConverter<com.aquima.interactions.process.dao.ICaseModel,
Case> - Parameters:
source
- the source domain modelresult
- the destination REST resource
-
convert
Description copied from interface:IResourceConverter
Converts multiple source domain models into destination REST resources. Also adds HATEOAS links to all converted resources.- Specified by:
convert
in interfaceIResourceConverter<com.aquima.interactions.process.dao.ICaseModel,
Case> - Parameters:
source
- a list of domain models, must not be null- Returns:
- list of converted REST resources, never null
-