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, handleDeleteInternally
handleCreate, handleDelete, handleEdit, handleGet, handleList, setValidator
public PropertyManagement getPropertyManagement()
PropertyManagement
PropertyManagement
public 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 legalResponseBuildException
ExtensionNotSupportedException
- extension is not supportedAuthorizationException
public 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 idResponseBuildException
ExtensionNotSupportedException
- 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 idUserNotFoundException
ResponseBuildException
ExtensionNotSupportedException
- extension is not supportedCopyright © 2019 Communote team. All rights reserved.