Class GroupResource

java.lang.Object
org.wso2.charon3.impl.provider.resources.AbstractResource
org.wso2.charon3.impl.provider.resources.GroupResource
All Implemented Interfaces:
org.wso2.msf4j.Microservice

public class GroupResource extends AbstractResource
Endpoints of the GroupResource in micro service. This will basically captures the requests from the remote clients and hand over the request to respective operation performer.
  • Constructor Details

    • GroupResource

      public GroupResource()
  • Method Details

    • getGroup

      public javax.ws.rs.core.Response getGroup(String id, String attribute, String excludedAttributes) throws org.wso2.charon3.core.exceptions.FormatNotSupportedException, org.wso2.charon3.core.exceptions.CharonException
      Throws:
      org.wso2.charon3.core.exceptions.FormatNotSupportedException
      org.wso2.charon3.core.exceptions.CharonException
    • createGroup

      public javax.ws.rs.core.Response createGroup(String attribute, String excludedAttributes, String resourceString) throws org.wso2.charon3.core.exceptions.CharonException, org.wso2.charon3.core.exceptions.FormatNotSupportedException
      Throws:
      org.wso2.charon3.core.exceptions.CharonException
      org.wso2.charon3.core.exceptions.FormatNotSupportedException
    • deleteGroup

      public javax.ws.rs.core.Response deleteGroup(String id) throws org.wso2.charon3.core.exceptions.FormatNotSupportedException, org.wso2.charon3.core.exceptions.CharonException
      Throws:
      org.wso2.charon3.core.exceptions.FormatNotSupportedException
      org.wso2.charon3.core.exceptions.CharonException
    • updateGroup

      public javax.ws.rs.core.Response updateGroup(String id, String attribute, String excludedAttributes, String resourceString) throws org.wso2.charon3.core.exceptions.FormatNotSupportedException, org.wso2.charon3.core.exceptions.CharonException
      Throws:
      org.wso2.charon3.core.exceptions.FormatNotSupportedException
      org.wso2.charon3.core.exceptions.CharonException
    • getGroupsByPost

      public javax.ws.rs.core.Response getGroupsByPost(String resourceString) throws org.wso2.charon3.core.exceptions.FormatNotSupportedException, org.wso2.charon3.core.exceptions.CharonException
      Throws:
      org.wso2.charon3.core.exceptions.FormatNotSupportedException
      org.wso2.charon3.core.exceptions.CharonException
    • getGroup

      public javax.ws.rs.core.Response getGroup(String attribute, String excludedAttributes, String filter, int startIndex, int count, String sortBy, String sortOrder, String domainName) throws org.wso2.charon3.core.exceptions.FormatNotSupportedException, org.wso2.charon3.core.exceptions.CharonException
      Throws:
      org.wso2.charon3.core.exceptions.FormatNotSupportedException
      org.wso2.charon3.core.exceptions.CharonException