fr.cnes.sitools.registry
Class AppRegistryAbstractResource

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.registry.AppRegistryAbstractResource
Direct Known Subclasses:
AppRegistryResource

public abstract class AppRegistryAbstractResource
extends SitoolsResource

Base class for resources

Author:
jp.boignard (AKKA Technologies)

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
AppRegistryAbstractResource()
           
 
Method Summary
 void doInit()
          Initiate the resource
 AppRegistryApplication getAppRegistryApplication()
          Get the Application registry application
 org.restlet.representation.Representation getRepresentation(Response response, org.restlet.data.MediaType media)
          Get object representation
 java.lang.String getResourceId()
          Get the resource identifier
 SitoolsStore<AppRegistry> getStore()
          Get the store associated to the Application registry application
 
Methods inherited from class fr.cnes.sitools.common.SitoolsResource
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace
 
Methods inherited from class fr.cnes.sitools.common.resource.AbstractSitoolsResource
getMediaType, sitoolsDescribe
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppRegistryAbstractResource

public AppRegistryAbstractResource()
Method Detail

doInit

public final void doInit()
Description copied from class: SitoolsResource
Initiate the resource


getRepresentation

public final org.restlet.representation.Representation getRepresentation(Response response,
                                                                         org.restlet.data.MediaType media)
Get object representation

Overrides:
getRepresentation in class SitoolsResource
Parameters:
response - the server response
media - the media used
Returns:
Representation

getResourceId

public final java.lang.String getResourceId()
Get the resource identifier

Returns:
the resource identifier

getStore

public final SitoolsStore<AppRegistry> getStore()
Get the store associated to the Application registry application

Returns:
the store

getAppRegistryApplication

public final AppRegistryApplication getAppRegistryApplication()
Get the Application registry application

Returns:
the application


Copyright © 2010-2013 CNES. All Rights Reserved.