|
||||||||||
| 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.security.UsersAndGroupsResource
public abstract class UsersAndGroupsResource
Resource for managing users and groups
| Field Summary |
|---|
| Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
|---|
DEFAULT_MEDIATYPE |
| Constructor Summary | |
|---|---|
UsersAndGroupsResource()
Constructor |
|
| Method Summary | |
|---|---|
boolean |
checkPropertiesName(java.util.List<Property> listProp)
Check if property name are duplicated |
void |
doInit()
Initiate the resource |
java.lang.String |
getGroupName()
Get the group name indicated in the API |
Group |
getGroupObject(org.restlet.representation.Representation representation)
Gets DataSet object from Representation |
java.util.List<org.restlet.data.MediaType> |
getMediaTypes()
Get the list of media types |
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.data.MediaType media)
Gets representation according to the specified media type. |
UsersAndGroupsStore |
getStore()
Get the store associated to the application |
java.lang.String |
getUserId()
Get the user identifier indicated in the API |
UsersAndGroupsAdministration |
getUsersAndGroupsAdministration()
Get the application attached to the 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 UsersAndGroupsResource()
| Method Detail |
|---|
public java.util.List<org.restlet.data.MediaType> getMediaTypes()
public void doInit()
SitoolsResource
public org.restlet.representation.Representation getRepresentation(Response response,
org.restlet.data.MediaType media)
getRepresentation in class SitoolsResourceresponse - the response to usemedia - the media type
public final Group getGroupObject(org.restlet.representation.Representation representation)
throws java.io.IOException
representation - of a DataSet
java.io.IOException - if there is an error while deserializing Java Objectpublic final java.lang.String getGroupName()
public final java.lang.String getUserId()
public final UsersAndGroupsStore getStore()
public final UsersAndGroupsAdministration getUsersAndGroupsAdministration()
public boolean checkPropertiesName(java.util.List<Property> listProp)
listProp - user properties list to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||