public class UserResourceHandler extends DefaultResourceHandler<DefaultParameter,EditUserParameter,DefaultParameter,GetUserParameter,GetCollectionUserParameter>
UserResource| Constructor and Description |
|---|
UserResourceHandler()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyManagement |
getPropertyManagement()
Getter for the
PropertyManagement |
javax.ws.rs.core.Response |
handleEditInternally(EditUserParameter editUserParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request) |
javax.ws.rs.core.Response |
handleGetInternally(GetUserParameter getUserParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
hook method, which should be implemented by subclasses, in order to perform actual resource
querying
|
javax.ws.rs.core.Response |
handleListInternally(GetCollectionUserParameter getCollectionUserParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
hook method, which should be implemented by subclasses, in order to perform actual resource
querying
|
handleCreateInternally, handleDeleteInternallyhandleCreate, handleDelete, handleEdit, handleGet, handleList, setValidatorpublic PropertyManagement getPropertyManagement()
PropertyManagementPropertyManagementpublic javax.ws.rs.core.Response handleEditInternally(EditUserParameter editUserParameter, String requestedMimeType, javax.ws.rs.core.UriInfo uriInfo, String sessionId, javax.ws.rs.core.Request request) throws AuthorizationException, NotFoundException, IllegalRequestParameterException, ResponseBuildException, ExtensionNotSupportedException
handleEditInternally in class DefaultResourceHandler<DefaultParameter,EditUserParameter,DefaultParameter,GetUserParameter,GetCollectionUserParameter>request - - javax requesteditUserParameter - edit parameterrequestedMimeType - mimeTypeuriInfo - urisessionId - session idNotFoundException - can not found elementIllegalRequestParameterException - request parameter is not legalResponseBuildExceptionExtensionNotSupportedException - extension is not supportedAuthorizationExceptionpublic javax.ws.rs.core.Response handleGetInternally(GetUserParameter getUserParameter, String requestedMimeType, javax.ws.rs.core.UriInfo uriInfo, String sessionId, javax.ws.rs.core.Request request) throws ResponseBuildException, ExtensionNotSupportedException
handleGetInternally in class DefaultResourceHandler<DefaultParameter,EditUserParameter,DefaultParameter,GetUserParameter,GetCollectionUserParameter>request - - javax requestgetUserParameter - get parameterrequestedMimeType - mimeTypeuriInfo - urisessionId - session idResponseBuildExceptionExtensionNotSupportedException - extension is not supportedpublic javax.ws.rs.core.Response handleListInternally(GetCollectionUserParameter getCollectionUserParameter, String requestedMimeType, javax.ws.rs.core.UriInfo uriInfo, String sessionId, javax.ws.rs.core.Request request) throws UserNotFoundException, ResponseBuildException, ExtensionNotSupportedException
handleListInternally in class DefaultResourceHandler<DefaultParameter,EditUserParameter,DefaultParameter,GetUserParameter,GetCollectionUserParameter>request - - javax requestgetCollectionUserParameter - get list parameterrequestedMimeType - mimeTypeuriInfo - urisessionId - session idUserNotFoundExceptionResponseBuildExceptionExtensionNotSupportedException - extension is not supportedCopyright © 2019 Communote team. All rights reserved.