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
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsecreateUser(String attribute, String excludedAttributes, String resourceString) javax.ws.rs.core.ResponsedeleteUser(String id) javax.ws.rs.core.Responsejavax.ws.rs.core.ResponsegetUser(String attribute, String excludedAttributes, String filter, int startIndex, int count, String sortBy, String sortOrder, String domainName) javax.ws.rs.core.ResponsegetUsersByPost(String resourceString) javax.ws.rs.core.ResponseupdateUser(String id, String attribute, String excludedAttributes, String resourceString) Methods inherited from class org.wso2.charon3.impl.provider.resources.AbstractResource
buildResponse, handleCharonException, handleFormatNotSupportedException, isValidInputFormat, isValidOutputFormat
-
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.FormatNotSupportedExceptionorg.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.CharonExceptionorg.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.FormatNotSupportedExceptionorg.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.FormatNotSupportedExceptionorg.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.FormatNotSupportedExceptionorg.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.FormatNotSupportedExceptionorg.wso2.charon3.core.exceptions.CharonException
-