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 blog 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, handleListInternally
handleCreate, handleDelete, handleEdit, handleGet, handleList, setValidator
public 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, BlogAccessException, CommunoteEntityNotFoundException, NoBlogManagerLeftException, ResponseBuildException, ExtensionNotSupportedException
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 requestNoBlogManagerLeftException
- no manager for topic is availableCommunoteEntityNotFoundException
- user or group not foundBlogAccessException
- can not access topicBlogNotFoundException
- can not found topicResponseBuildException
- exception while building the responseExtensionNotSupportedException
- extension is not supportedpublic 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.