|
||||||||||
| 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.portal.AbstractPortalResource
public abstract class AbstractPortalResource
Base class for portal management resources.
| Field Summary |
|---|
| Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
|---|
DEFAULT_MEDIATYPE |
| Constructor Summary | |
|---|---|
AbstractPortalResource()
|
|
| Method Summary | |
|---|---|
void |
configure(com.thoughtworks.xstream.XStream xstream,
Response response)
Configure XStream mapping for xml and json serialisation |
void |
doInit()
Initiate the resource |
Portal |
getObject(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Decode the given representation to a Portal object. |
PortalApplication |
getPortalApplication()
Get the portal application associated to the resource |
java.lang.String |
getPortalId()
Get the portal ID |
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.data.MediaType media)
Gets a representation according to the requested media |
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.representation.Variant variant)
Gets representation according to the specified Variant if present. |
PersistenceDao<Portal> |
getStore()
Return the store associated to the Portal resource |
| 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 AbstractPortalResource()
| Method Detail |
|---|
public void doInit()
SitoolsResource
public final org.restlet.representation.Representation getRepresentation(Response response,
org.restlet.representation.Variant variant)
getRepresentation in class SitoolsResourceresponse - : The response to get the representation fromvariant - : The variant needed
public final void configure(com.thoughtworks.xstream.XStream xstream,
Response response)
configure in class SitoolsResourcexstream - XStreamresponse - Response
public final org.restlet.representation.Representation getRepresentation(Response response,
org.restlet.data.MediaType media)
getRepresentation in class SitoolsResourceresponse - Responsemedia - requested MediaType
public final Portal getObject(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
representation - Representationvariant - Variant
public final java.lang.String getPortalId()
public final PersistenceDao<Portal> getStore()
public final PortalApplication getPortalApplication()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||