Package org.exoplatform.social.rest.api
Class ProfileSettingsRest
java.lang.Object
org.exoplatform.social.rest.api.ProfileSettingsRest
- All Implemented Interfaces:
org.exoplatform.services.rest.resource.ResourceContainer
public class ProfileSettingsRest
extends Object
implements org.exoplatform.services.rest.resource.ResourceContainer
-
Constructor Summary
ConstructorsConstructorDescriptionProfileSettingsRest(org.exoplatform.social.core.profileproperty.ProfilePropertyService profilePropertyService) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsecreatePropertySetting(javax.ws.rs.core.UriInfo uriInfo, ProfilePropertySettingEntity profilePropertySettingEntity) javax.ws.rs.core.ResponsedeletePropertySetting(javax.ws.rs.core.UriInfo uriInfo, ProfilePropertySettingEntity profilePropertySettingEntity) javax.ws.rs.core.ResponsegetPropertySettings(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.Request request) javax.ws.rs.core.ResponseupdatePropertySetting(javax.ws.rs.core.UriInfo uriInfo, ProfilePropertySettingEntity profilePropertySettingEntity)
-
Constructor Details
-
ProfileSettingsRest
public ProfileSettingsRest(org.exoplatform.social.core.profileproperty.ProfilePropertyService profilePropertyService)
-
-
Method Details
-
getPropertySettings
@RolesAllowed("users") public javax.ws.rs.core.Response getPropertySettings(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.Request request) -
createPropertySetting
@RolesAllowed("administrators") public javax.ws.rs.core.Response createPropertySetting(@Context javax.ws.rs.core.UriInfo uriInfo, ProfilePropertySettingEntity profilePropertySettingEntity) -
updatePropertySetting
@RolesAllowed("administrators") public javax.ws.rs.core.Response updatePropertySetting(@Context javax.ws.rs.core.UriInfo uriInfo, ProfilePropertySettingEntity profilePropertySettingEntity) -
deletePropertySetting
@RolesAllowed("administrators") public javax.ws.rs.core.Response deletePropertySetting(@Context javax.ws.rs.core.UriInfo uriInfo, ProfilePropertySettingEntity profilePropertySettingEntity)
-