fr.cnes.sitools.inscription
Class AdminInscriptionResource

java.lang.Object
  extended by ExtendedWadlServerResource
      extended by fr.cnes.sitools.common.resource.AbstractSitoolsResource
          extended by fr.cnes.sitools.common.SitoolsResource
              extended by fr.cnes.sitools.inscription.InscriptionResource
                  extended by fr.cnes.sitools.inscription.AdminInscriptionResource

public final class AdminInscriptionResource
extends InscriptionResource

Resource for managing inscriptions (Role Administrator)

Author:
jp.boignard (AKKA Technologies)

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
AdminInscriptionResource()
           
 
Method Summary
 org.restlet.representation.Representation deleteInscription(org.restlet.representation.Variant variant)
          Delete inscription
 void describeDelete(org.restlet.ext.wadl.MethodInfo info)
           
 void describeGet(org.restlet.ext.wadl.MethodInfo info)
           
 void describePut(org.restlet.ext.wadl.MethodInfo info)
           
 org.restlet.representation.Representation putInscription(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
          Update / Validate existing inscription
 org.restlet.representation.Representation retrieveInscription(org.restlet.representation.Variant variant)
          get all inscriptions
 void sitoolsDescribe()
          Method implementation mandatory
 
Methods inherited from class fr.cnes.sitools.inscription.InscriptionResource
configure, doInit, getInscriptionApplication, getInscriptionId, getStore
 
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 fr.cnes.sitools.common.resource.AbstractSitoolsResource
getMediaType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminInscriptionResource

public AdminInscriptionResource()
Method Detail

sitoolsDescribe

public void sitoolsDescribe()
Description copied from class: AbstractSitoolsResource
Method implementation mandatory

Specified by:
sitoolsDescribe in class AbstractSitoolsResource

retrieveInscription

@Get
public org.restlet.representation.Representation retrieveInscription(org.restlet.representation.Variant variant)
get all inscriptions

Parameters:
variant - client preferred media type
Returns:
Representation

describeGet

public void describeGet(org.restlet.ext.wadl.MethodInfo info)

putInscription

@Put
public org.restlet.representation.Representation putInscription(org.restlet.representation.Representation representation,
                                                                    org.restlet.representation.Variant variant)
Update / Validate existing inscription

Parameters:
representation - Inscription representation
variant - client preferred media type
Returns:
Representation

describePut

public void describePut(org.restlet.ext.wadl.MethodInfo info)

deleteInscription

@Delete
public org.restlet.representation.Representation deleteInscription(org.restlet.representation.Variant variant)
Delete inscription

Parameters:
variant - client preferred media type
Returns:
Representation

describeDelete

public void describeDelete(org.restlet.ext.wadl.MethodInfo info)


Copyright © 2010-2013 CNES. All Rights Reserved.