Class CompaignsManagementRest

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

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

      • getCompaigns

        @RolesAllowed("ux-team")
        public javax.ws.rs.core.Response getCompaigns​(@Context
                                                      javax.ws.rs.core.UriInfo uriInfo)
                                               throws Exception
        Throws:
        Exception
      • add

        @RolesAllowed("ux-team")
        public javax.ws.rs.core.Response add​(@Context
                                             javax.ws.rs.core.UriInfo uriInfo,
                                             CompaignDTO compaignDTO)
                                      throws Exception
        Throws:
        Exception
      • delete

        @RolesAllowed("ux-team")
        public javax.ws.rs.core.Response delete​(@Context
                                                javax.ws.rs.core.UriInfo uriInfo,
                                                Long id)
                                         throws Exception
        Throws:
        Exception
      • update

        @RolesAllowed("ux-team")
        public javax.ws.rs.core.Response update​(@Context
                                                javax.ws.rs.core.UriInfo uriInfo,
                                                CompaignDTO compaignDTO)
                                         throws Exception
        Throws:
        Exception