|
||||||||||
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.EditUserProfileResource
public class EditUserProfileResource
Class for Editing an User Profile
Field Summary |
---|
Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
---|
DEFAULT_MEDIATYPE |
Constructor Summary | |
---|---|
EditUserProfileResource()
|
Method Summary | |
---|---|
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
|
void |
describePut(org.restlet.ext.wadl.MethodInfo info)
|
org.restlet.representation.Representation |
get(org.restlet.representation.Variant variant)
Get user profile representation |
java.lang.String |
getUserIdentifier()
Gets the userIdentifier value |
java.util.List<Property> |
mergeUserProperties(java.util.List<Property> listProp,
java.util.List<Property> listPropDb)
Add Hidden properties to the user property list |
void |
setUserIdentifier(java.lang.String userIdentifier)
Sets the value of userIdentifier |
void |
sitoolsDescribe()
EditUserProfileResource Describe |
org.restlet.representation.Representation |
updateProfile(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Update user profile |
Methods inherited from class fr.cnes.sitools.common.resource.AbstractSitoolsResource |
---|
getMediaType |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EditUserProfileResource()
Method Detail |
---|
public void sitoolsDescribe()
sitoolsDescribe
in class AbstractSitoolsResource
@Get public org.restlet.representation.Representation get(org.restlet.representation.Variant variant)
variant
- client preference for response media type
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
@Put public org.restlet.representation.Representation updateProfile(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
representation
- the response to usevariant
- client preference for response media type
public void describePut(org.restlet.ext.wadl.MethodInfo info)
public java.util.List<Property> mergeUserProperties(java.util.List<Property> listProp, java.util.List<Property> listPropDb)
listProp
- user properties modified from IHMlistPropDb
- original user properties from DataBase
public java.lang.String getUserIdentifier()
public void setUserIdentifier(java.lang.String userIdentifier)
userIdentifier
- the userIdentifier to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |