fr.cnes.sitools.plugins.applications
Class AbstractApplicationPluginCommonResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.common.AbstractPluginResource
fr.cnes.sitools.plugins.applications.AbstractApplicationPluginCommonResource
- Direct Known Subclasses:
- AbstractApplicationPluginResource, ApplicationPluginListingResource
public abstract class AbstractApplicationPluginCommonResource
- extends AbstractPluginResource
SVA model resource for SVA application
- Author:
- m.marseille (AKKA Technologies) (AKKA)
Methods inherited from class fr.cnes.sitools.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, getNotificationObject, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractApplicationPluginCommonResource
public AbstractApplicationPluginCommonResource()
getRepresentation
public org.restlet.representation.Representation getRepresentation(Response response,
org.restlet.data.MediaType media)
- Gets representation according to the specified MediaType.
- Overrides:
getRepresentation
in class SitoolsResource
- Parameters:
response
- : The response to get the representation frommedia
- : The MediaType asked
- Returns:
- The Representation of the response with the selected mediaType
checkValidity
public java.util.Set<ConstraintViolation> checkValidity(ApplicationPluginModel input)
- Check the validaty of the given SvaModel
- Parameters:
input
- the SvaModel to validate
- Returns:
- a set of ConstraintViolation if the validation fail, null otherwise
getApplicationModelDTO
public ApplicationPluginModelDTO getApplicationModelDTO(ApplicationPluginModel application)
- Get a ApplicationPluginModelDTO from a ApplicationPluginModel
- Parameters:
application
- the ApplicationPluginModel
- Returns:
- a ApplicationPluginModelDTO
Copyright © 2010-2013 CNES. All Rights Reserved.