fr.cnes.sitools.feeds
Class FeedsCollectionResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.feeds.AbstractFeedsResource
fr.cnes.sitools.feeds.FeedsCollectionResource
public final class FeedsCollectionResource
- extends AbstractFeedsResource
Class Resource for managing Project Collection (GET, POST)
- Author:
- m.gond (AKKA Technologies)
Method Summary |
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
|
void |
describePost(org.restlet.ext.wadl.MethodInfo info)
|
void |
describePut(org.restlet.ext.wadl.MethodInfo info)
|
org.restlet.representation.Representation |
newFeed(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Create a new feed |
org.restlet.representation.Representation |
retrieveFeeds(org.restlet.representation.Variant variant)
get all projects |
org.restlet.representation.Representation |
setVisibleFeeds(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Handle PUT method on feed collection for setting feeds visibility. |
void |
sitoolsDescribe()
Method implementation mandatory |
Methods inherited from class fr.cnes.sitools.feeds.AbstractFeedsResource |
doInit, getDataId, getFeedCollectionModel, getFeedsApplication, getFeedsId, getObject, getRepresentation, getRepresentation, getStore, registerObserver, sortEntries, unregisterObserver, validateFeed |
Methods inherited from class fr.cnes.sitools.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeedsCollectionResource
public FeedsCollectionResource()
sitoolsDescribe
public void sitoolsDescribe()
- Description copied from class:
AbstractSitoolsResource
- Method implementation mandatory
- Specified by:
sitoolsDescribe
in class AbstractSitoolsResource
newFeed
@Post
public org.restlet.representation.Representation newFeed(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
- Create a new feed
- Parameters:
representation
- Project representationvariant
- client preferred media type
- Returns:
- Representation
describePost
public void describePost(org.restlet.ext.wadl.MethodInfo info)
retrieveFeeds
@Get
public org.restlet.representation.Representation retrieveFeeds(org.restlet.representation.Variant variant)
- get all projects
- Parameters:
variant
- client preferred media type
- Returns:
- Representation
describeGet
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
setVisibleFeeds
@Put
public org.restlet.representation.Representation setVisibleFeeds(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
- Handle PUT method on feed collection for setting feeds visibility.
- Parameters:
representation
- Representationvariant
- Variant
- Returns:
- Representation
describePut
public void describePut(org.restlet.ext.wadl.MethodInfo info)
Copyright © 2010-2013 CNES. All Rights Reserved.