Package com.aquima.web.rest.v1.converter
Class ProjectConverter
java.lang.Object
com.aquima.web.rest.v1.converter.ProjectConverter
- All Implemented Interfaces:
IResourceConverter<com.aquima.interactions.foundation.ApplicationID,
Project>
public class ProjectConverter
extends Object
implements IResourceConverter<com.aquima.interactions.foundation.ApplicationID,Project>
Converts ApplicationID to project REST resources.
- Since:
- 9.6
- Author:
- m.van.tilburg
-
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.foundation.ApplicationID,
Project> - 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.foundation.ApplicationID,
Project> - Parameters:
source
- a list of domain models, must not be null- Returns:
- list of converted REST resources, never null
-