Class UserResource

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

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

    • UserResource

      public UserResource()
  • Method Details

    • getUser

      public javax.ws.rs.core.Response getUser(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
    • createUser

      public javax.ws.rs.core.Response createUser(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
    • deleteUser

      public javax.ws.rs.core.Response deleteUser(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
    • getUser

      public javax.ws.rs.core.Response getUser(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
    • getUsersByPost

      public javax.ws.rs.core.Response getUsersByPost(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
    • updateUser

      public javax.ws.rs.core.Response updateUser(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