fr.cnes.sitools.dataset.opensearch
Class OpenSearchApplication

java.lang.Object
  extended by ExtendedWadlApplication
      extended by fr.cnes.sitools.common.application.SitoolsApplication
          extended by fr.cnes.sitools.dataset.opensearch.OpenSearchApplication

public final class OpenSearchApplication
extends SitoolsApplication

Application for managing OpenSearch configuration Dependencies : DataSets, SolR

Author:
AKKA

Constructor Summary
OpenSearchApplication(org.restlet.Context context)
          Constructor
 
Method Summary
 org.restlet.Restlet createInboundRoot()
           
 org.restlet.ext.wadl.ApplicationInfo getApplicationInfo(org.restlet.Request request, org.restlet.Response response)
           
 SitoolsStore<Opensearch> getStore()
          Gets the store value
 FeedsStoreXML getStoreFeed()
          Gets the StoreFeeds value
 boolean isCancelled()
          Gets the cancelled value
 void setCancelled(boolean cancelled)
          Sets the value of cancelled
 void sitoolsDescribe()
          Abstract method for thinking about implementing it for each concrete application describe is the RESTlet method, but overriding, prevents the self-describing functionality.
 
Methods inherited from class fr.cnes.sitools.common.application.SitoolsApplication
addSecurity, addSecurity, addSecurityFilter, defaultDescribe, getAttachementRef, getAuthenticationRealm, getAuthorizer, getAuthorizer, getAuthorizer, getCategory, getId, getPublicBaseRef, getRepresentationInfoReferences, getSecure, getSettings, getSitoolsApplicationInfo, getType, getUserAuthorizer, isAuthorizationSecure, isUserAuthenticationNeeded, register, setAutoRegistration, setCategory, setId, setSitoolsApplicationInfo, setType, setUserAuthenticationNeeded, start, stop, unregister, wrapToResource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenSearchApplication

public OpenSearchApplication(org.restlet.Context context)
Constructor

Parameters:
context - RESTlet Host Context
Method Detail

sitoolsDescribe

public void sitoolsDescribe()
Description copied from class: SitoolsApplication
Abstract method for thinking about implementing it for each concrete application describe is the RESTlet method, but overriding, prevents the self-describing functionality.

Specified by:
sitoolsDescribe in class SitoolsApplication

createInboundRoot

public org.restlet.Restlet createInboundRoot()

getStore

public SitoolsStore<Opensearch> getStore()
Gets the store value

Returns:
the store

getStoreFeed

public FeedsStoreXML getStoreFeed()
Gets the StoreFeeds value

Returns:
the storeFeeds

getApplicationInfo

public org.restlet.ext.wadl.ApplicationInfo getApplicationInfo(org.restlet.Request request,
                                                               org.restlet.Response response)
Overrides:
getApplicationInfo in class SitoolsApplication

setCancelled

public void setCancelled(boolean cancelled)
Sets the value of cancelled

Parameters:
cancelled - the cancelled to set

isCancelled

public boolean isCancelled()
Gets the cancelled value

Returns:
the cancelled


Copyright © 2010-2013 CNES. All Rights Reserved.