Class ResoucesManagementRest

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

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

      • getResources

        @RolesAllowed("ux-team")
        public javax.ws.rs.core.Response getResources​(@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,
                                             ResourceDTO resourceDTO)
                                      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,
                                                ResourceDTO resourceDTO)
                                         throws Exception
        Throws:
        Exception
      • importResources

        @RolesAllowed("administrators")
        public javax.ws.rs.core.Response importResources​(@Context
                                                         javax.ws.rs.core.UriInfo uriInfo,
                                                         List<ResourceDTO> resourceDTOs)
                                                  throws Exception
        Throws:
        Exception