|
||||||||||
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.role.AbstractRoleResource
public abstract class AbstractRoleResource
Base class for role resource management
Field Summary |
---|
Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
---|
DEFAULT_MEDIATYPE |
Constructor Summary | |
---|---|
AbstractRoleResource()
|
Method Summary | |
---|---|
void |
doInit()
Initiate the resource |
Role |
getObject(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Get the Role from a representation |
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.data.MediaType media)
Gets a representation according to the requested media |
RoleApplication |
getRoleApplication()
Gets the application value |
java.lang.String |
getRoleId()
Get the identifier of the role |
SitoolsStore<Role> |
getStore()
Get the store associated to the role application |
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 AbstractRoleResource()
Method Detail |
---|
public void doInit()
SitoolsResource
public final org.restlet.representation.Representation getRepresentation(Response response, org.restlet.data.MediaType media)
getRepresentation
in class SitoolsResource
response
- Responsemedia
- requested MediaType
public final Role getObject(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
representation
- the representation to usevariant
- the variant used
public final java.lang.String getRoleId()
public final SitoolsStore<Role> getStore()
public final RoleApplication getRoleApplication()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |