Class GroupRestService


  • @Component("groupRestService")
    @Transactional
    public class GroupRestService
    extends OnmsRestService
    Basic Web Service using REST for OnmsGroup entity
    Since:
    1.9.93
    Author:
    Benjamin Reed
    • Constructor Detail

      • GroupRestService

        public GroupRestService()
    • Method Detail

      • addGroup

        public javax.ws.rs.core.Response addGroup​(@Context
                                                  javax.ws.rs.core.UriInfo uriInfo,
                                                  OnmsGroup group)
      • deleteGroup

        public javax.ws.rs.core.Response deleteGroup​(String groupName)
      • addUser

        public javax.ws.rs.core.Response addUser​(String groupName,
                                                 String userName)
      • removeUser

        public javax.ws.rs.core.Response removeUser​(String groupName,
                                                    String userName)
      • addCategory

        public javax.ws.rs.core.Response addCategory​(String groupName,
                                                     String categoryName)
      • removeCategory

        public javax.ws.rs.core.Response removeCategory​(String groupName,
                                                        String categoryName)