public class RoleExternalResourceHandler extends DefaultResourceHandler<CreateRoleExternalParameter,DefaultParameter,DefaultParameter,GetRoleExternalParameter,DefaultParameter>
| Constructor and Description |
|---|
RoleExternalResourceHandler() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
handleCreateInternally(CreateRoleExternalParameter createRoleExternalParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Create topic role for external system
|
javax.ws.rs.core.Response |
handleGetInternally(GetRoleExternalParameter getRoleExternalParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Get blog role for external system
|
handleDeleteInternally, handleEditInternally, handleListInternallyhandleCreate, handleDelete, handleEdit, handleGet, handleList, setValidatorpublic javax.ws.rs.core.Response handleCreateInternally(CreateRoleExternalParameter createRoleExternalParameter, String requestedMimeType, javax.ws.rs.core.UriInfo uriInfo, String requestSessionId, javax.ws.rs.core.Request request) throws BlogNotFoundException, CommunoteEntityNotFoundException, ResponseBuildException, ExtensionNotSupportedException, BlogAccessException, ExternalObjectNotAssignedException
handleCreateInternally in class DefaultResourceHandler<CreateRoleExternalParameter,DefaultParameter,DefaultParameter,GetRoleExternalParameter,DefaultParameter>createRoleExternalParameter - - an object that contains all the parameter that can or have to be used for such a
requestrequestedMimeType - - is the mime type that indicates which data exchange format to useuriInfo - - this object is created by the request and contains some request specific datarequestSessionId - sessionIdrequest - - javax requestBlogNotFoundException - in case the blog does not existCommunoteEntityNotFoundException - in case the user or group does not existBlogAccessException - in case the current user is not allowed to modify the access rightsResponseBuildException - exception while building the responseExtensionNotSupportedException - extension is not supportedExternalObjectNotAssignedExceptionpublic javax.ws.rs.core.Response handleGetInternally(GetRoleExternalParameter getRoleExternalParameter, String requestedMimeType, javax.ws.rs.core.UriInfo uriInfo, String requestSessionId, javax.ws.rs.core.Request request) throws ResponseBuildException, ExtensionNotSupportedException
handleGetInternally in class DefaultResourceHandler<CreateRoleExternalParameter,DefaultParameter,DefaultParameter,GetRoleExternalParameter,DefaultParameter>getRoleExternalParameter - - an object that contains all the parameter that can or have to be used for such a
requestrequestedMimeType - - is the mime type that indicates which data exchange format to useuriInfo - - this object is created by the request and contains some request specific datarequestSessionId - sessionIdrequest - - javax requestResponseBuildException - exception while building the responseExtensionNotSupportedException - extension is not supportedCopyright © 2019 Communote team. All rights reserved.