public class PropertyResourceHandler extends DefaultResourceHandler<CreatePropertyParameter,DefaultParameter,DefaultParameter,GetPropertyParameter,GetCollectionPropertyParameter>
Constructor and Description |
---|
PropertyResourceHandler() |
Modifier and Type | Method and Description |
---|---|
PropertyManagement |
getPropertyManagement()
Getter for the
PropertyManagement |
javax.ws.rs.core.Response |
handleCreateInternally(CreatePropertyParameter createPropertyParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Request to set user property
|
javax.ws.rs.core.Response |
handleGetInternally(GetPropertyParameter getPropertyParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Request to get user property
|
javax.ws.rs.core.Response |
handleListInternally(GetCollectionPropertyParameter getCollectionPropertyParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Request to list user properties
|
handleDeleteInternally, handleEditInternally
handleCreate, handleDelete, handleEdit, handleGet, handleList, setValidator
public PropertyManagement getPropertyManagement()
PropertyManagement
PropertyManagement
public javax.ws.rs.core.Response handleCreateInternally(CreatePropertyParameter createPropertyParameter, String requestedMimeType, javax.ws.rs.core.UriInfo uriInfo, String requestSessionId, javax.ws.rs.core.Request request) throws NumberFormatException, NotFoundException, AuthorizationException, ResponseBuildException, ExtensionNotSupportedException
handleCreateInternally
in class DefaultResourceHandler<CreatePropertyParameter,DefaultParameter,DefaultParameter,GetPropertyParameter,GetCollectionPropertyParameter>
createPropertyParameter
- - 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 sessionId for the sessionrequest
- - javax requestNotFoundException
- can note found propertyNumberFormatException
- wrong format of propertyAuthorizationException
- Thrown, when the user is not allowed to access.ResponseBuildException
- exception while building the responseExtensionNotSupportedException
- extension is not supportedpublic javax.ws.rs.core.Response handleGetInternally(GetPropertyParameter getPropertyParameter, String requestedMimeType, javax.ws.rs.core.UriInfo uriInfo, String requestSessionId, javax.ws.rs.core.Request request) throws NumberFormatException, NotFoundException, AuthorizationException, ResponseBuildException, ExtensionNotSupportedException
handleGetInternally
in class DefaultResourceHandler<CreatePropertyParameter,DefaultParameter,DefaultParameter,GetPropertyParameter,GetCollectionPropertyParameter>
getPropertyParameter
- - 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 sessionId for the sessionrequest
- - javax requestNotFoundException
- can note found propertyNumberFormatException
- wrong format of propertyAuthorizationException
- user is not authorized for get propertyResponseBuildException
- exception while building the responseExtensionNotSupportedException
- extension is not supportedpublic javax.ws.rs.core.Response handleListInternally(GetCollectionPropertyParameter getCollectionPropertyParameter, String requestedMimeType, javax.ws.rs.core.UriInfo uriInfo, String requestSessionId, javax.ws.rs.core.Request request) throws NumberFormatException, NotFoundException, AuthorizationException, ResponseBuildException, ExtensionNotSupportedException
handleListInternally
in class DefaultResourceHandler<CreatePropertyParameter,DefaultParameter,DefaultParameter,GetPropertyParameter,GetCollectionPropertyParameter>
getCollectionPropertyParameter
- - 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 sessionId for the sessionrequest
- - javax requestNotFoundException
- can note found propertyNumberFormatException
- wrong format of propertyAuthorizationException
- user is not authorized for get propertyResponseBuildException
- exception while building the responseExtensionNotSupportedException
- extension is not supportedCopyright © 2019 Communote team. All rights reserved.