|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.feeds.AbstractFeedsResource
public abstract class AbstractFeedsResource
Abstract Resource class for Feeds management
Field Summary |
---|
Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
---|
DEFAULT_MEDIATYPE |
Constructor Summary | |
---|---|
AbstractFeedsResource()
|
Method Summary | |
---|---|
void |
doInit()
Initiate the resource |
java.lang.String |
getDataId()
Gets the dataId value |
FeedCollectionModel |
getFeedCollectionModel(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Gets the Object FeedsModel |
FeedsApplication |
getFeedsApplication()
Gets the application value |
java.lang.String |
getFeedsId()
Gets the feedsId value |
FeedModel |
getObject(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Gets the Object FeedsModel |
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.data.MediaType media,
boolean omitEntries)
Response to Representation |
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.representation.Variant variant,
boolean omitEntries)
Gets representation according to the specified Variant if present. |
SitoolsStore<FeedModel> |
getStore()
Gets the store value |
void |
registerObserver(FeedModel input)
Register as observer |
static void |
sortEntries(FeedModel feedInput)
Sort the entries of the specified feedInput |
void |
unregisterObserver(FeedModel input)
Unregister as Observer |
Response |
validateFeed(FeedModel feedsInput)
Check that the name is unique over the feeds collection |
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 |
---|
public AbstractFeedsResource()
Method Detail |
---|
public final void doInit()
SitoolsResource
public final org.restlet.representation.Representation getRepresentation(Response response, org.restlet.representation.Variant variant, boolean omitEntries)
response
- Responsevariant
- VariantomitEntries
- boolean
public final org.restlet.representation.Representation getRepresentation(Response response, org.restlet.data.MediaType media, boolean omitEntries)
response
- Responsemedia
- MediaTypeomitEntries
- boolean
public final FeedModel getObject(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
representation
- the representationvariant
- the variant
public final FeedCollectionModel getFeedCollectionModel(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
representation
- the representationvariant
- the variant
public final void registerObserver(FeedModel input)
input
- The ConverterChainedModelpublic final void unregisterObserver(FeedModel input)
input
- ConverterChainedModel Objectpublic static final void sortEntries(FeedModel feedInput)
feedInput
- the feedInput to sortpublic final Response validateFeed(FeedModel feedsInput)
feedsInput
- the feed to check with the collection
public final FeedsApplication getFeedsApplication()
public final SitoolsStore<FeedModel> getStore()
public final java.lang.String getFeedsId()
public final java.lang.String getDataId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |