public class RightResourceHandler extends DefaultResourceHandler<DefaultParameter,EditRightParameter,DefaultParameter,GetRightParameter,DefaultParameter>
RightResource| Constructor and Description |
|---|
RightResourceHandler() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
handleEditInternally(EditRightParameter editRightParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Update access rights of blog.
|
javax.ws.rs.core.Response |
handleGetInternally(GetRightParameter getRightParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Get the access rights of blog.
|
handleCreateInternally, handleDeleteInternally, handleListInternallyhandleCreate, handleDelete, handleEdit, handleGet, handleList, setValidatorpublic javax.ws.rs.core.Response handleEditInternally(EditRightParameter editRightParameter, String requestedMimeType, javax.ws.rs.core.UriInfo uriInfo, String requestSessionId, javax.ws.rs.core.Request request) throws BlogNotFoundException, BlogAccessException, ResponseBuildException, ExtensionNotSupportedException
handleEditInternally in class DefaultResourceHandler<DefaultParameter,EditRightParameter,DefaultParameter,GetRightParameter,DefaultParameter>editRightParameter - - 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 - - The requestSessionId for the sessionrequest - - javax requestBlogNotFoundException - can not found blogBlogAccessException - can not access blogResponseBuildException - exception while building the responseExtensionNotSupportedException - extension is not supportedpublic javax.ws.rs.core.Response handleGetInternally(GetRightParameter getRightParameter, String requestedMimeType, javax.ws.rs.core.UriInfo uriInfo, String requestSessionId, javax.ws.rs.core.Request request) throws BlogNotFoundException, ResponseBuildException, ExtensionNotSupportedException, BlogAccessException
handleGetInternally in class DefaultResourceHandler<DefaultParameter,EditRightParameter,DefaultParameter,GetRightParameter,DefaultParameter>getRightParameter - - 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 - - The requestSessionId for the sessionrequest - - javax requestBlogNotFoundException - can not found blogResponseBuildException - exception while building the responseExtensionNotSupportedException - extension is not supportedBlogAccessException - in case the current user has no access to the topicCopyright © 2019 Communote team. All rights reserved.