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
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsecreateGroup(String attribute, String excludedAttributes, String resourceString) javax.ws.rs.core.ResponsedeleteGroup(String id) javax.ws.rs.core.Responsejavax.ws.rs.core.ResponsegetGroup(String attribute, String excludedAttributes, String filter, int startIndex, int count, String sortBy, String sortOrder, String domainName) javax.ws.rs.core.ResponsegetGroupsByPost(String resourceString) javax.ws.rs.core.ResponseupdateGroup(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
-
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.FormatNotSupportedExceptionorg.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.CharonExceptionorg.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.FormatNotSupportedExceptionorg.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.FormatNotSupportedExceptionorg.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.FormatNotSupportedExceptionorg.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.FormatNotSupportedExceptionorg.wso2.charon3.core.exceptions.CharonException
-