fr.cnes.sitools.common
Class AbstractPluginResource
java.lang.Object
   ExtendedWadlServerResource
ExtendedWadlServerResource
       fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
           fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.common.SitoolsResource
               fr.cnes.sitools.common.AbstractPluginResource
fr.cnes.sitools.common.AbstractPluginResource
- Direct Known Subclasses: 
- AbstractApplicationPluginCommonResource, AbstractConverterResource, AbstractFilterPluginResource, AbstractFilterResource, AbstractResourcePluginResource
- public abstract class AbstractPluginResource 
- extends SitoolsResource
Abstract class for plugin adminstration ressources
- Author:
- m.gond
 
 
 
 
| Methods inherited from class fr.cnes.sitools.common.SitoolsResource | 
| addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, getNotificationObject, getRepresentation, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace | 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
AbstractPluginResource
public AbstractPluginResource()
configure
public void configure(com.thoughtworks.xstream.XStream xstream,
                      Response response)
- Configure the XStream
 
- 
- Overrides:
- configurein class- SitoolsResource
 
- 
- Parameters:
- xstream- the XStream to treat
- response- the response used
 
fromListToMap
public <E extends ExtensionParameter> java.util.Map<java.lang.String,E> fromListToMap(java.util.List<E> list)
- Transform a ListofExtensionParameterinto aMapof String,ExtensionParameter
 
- 
- Type Parameters:
- E- The extensionParameter used
- Parameters:
- list- the- Listof- ExtensionParameter
- Returns:
- a Mapof String,ExtensionParameter
 
checkValidity
public <T extends Validable> java.util.Set<ConstraintViolation> checkValidity(T input)
- Check the validaty of the given T object
 
- 
- Type Parameters:
- T- The type of Validable Object to check
- Parameters:
- input- the SvaModel to validate
- Returns:
- a set of ConstraintViolation if the validation fail, null otherwise
 
Copyright © 2010-2013 CNES. All Rights Reserved.