Package org.exoplatform.leadcapture.rest
Class LeadCaptureSettingsRest
java.lang.Object
org.exoplatform.leadcapture.rest.LeadCaptureSettingsRest
- All Implemented Interfaces:
org.exoplatform.services.rest.resource.ResourceContainer
public class LeadCaptureSettingsRest
extends Object
implements org.exoplatform.services.rest.resource.ResourceContainer
-
Constructor Summary
ConstructorsConstructorDescriptionLeadCaptureSettingsRest(LeadCaptureSettingsService leadCaptureSettingsService) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsegetContext(javax.ws.rs.core.UriInfo uriInfo) javax.ws.rs.core.ResponsegetSettings(javax.ws.rs.core.UriInfo uriInfo) booleanisConfigured(LeadCaptureSettings settings) booleanjavax.ws.rs.core.Responsesave(javax.ws.rs.core.UriInfo uriInfo, LeadCaptureSettings settings)
-
Constructor Details
-
LeadCaptureSettingsRest
-
-
Method Details
-
getSettings
@RolesAllowed("administrators") public javax.ws.rs.core.Response getSettings(@Context javax.ws.rs.core.UriInfo uriInfo) throws Exception - Throws:
Exception
-
save
@RolesAllowed("administrators") public javax.ws.rs.core.Response save(@Context javax.ws.rs.core.UriInfo uriInfo, LeadCaptureSettings settings) throws Exception - Throws:
Exception
-
getContext
@RolesAllowed("ux-team") public javax.ws.rs.core.Response getContext(@Context javax.ws.rs.core.UriInfo uriInfo) throws Exception - Throws:
Exception
-
isManager
-
isConfigured
-