Class LeadCaptureSettingsRest

  • All Implemented Interfaces:
    org.exoplatform.services.rest.resource.ResourceContainer

    public class LeadCaptureSettingsRest
    extends Object
    implements org.exoplatform.services.rest.resource.ResourceContainer
    • Method Detail

      • 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

        public boolean isManager​(String userName,
                                 String group)