public class TimelineNoteResourceHandler extends DefaultResourceHandler<CreateTimelineNoteParameter,DefaultParameter,DefaultParameter,GetTimelineNoteParameter,GetCollectionTimelineNoteParameter>
Constructor and Description |
---|
TimelineNoteResourceHandler() |
Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.core.Response |
handleCreateInternally(CreateTimelineNoteParameter createParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
hook method, which should be implemented by subclasses, in order to perform actual resource
creation
|
javax.ws.rs.core.Response |
handleGetInternally(GetTimelineNoteParameter getTimelineNoteParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Get a note with timeline specific attributes
|
protected javax.ws.rs.core.Response |
handleListInternally(GetCollectionTimelineNoteParameter parametersAsObject,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Get a list of note with timeline specific attributes
|
handleDeleteInternally, handleEditInternally
handleCreate, handleDelete, handleEdit, handleGet, handleList, setValidator
protected javax.ws.rs.core.Response handleCreateInternally(CreateTimelineNoteParameter createParameter, String requestedMimeType, javax.ws.rs.core.UriInfo uriInfo, String requestSessionId, javax.ws.rs.core.Request request) throws Exception
DefaultResourceHandler
handleCreateInternally
in class DefaultResourceHandler<CreateTimelineNoteParameter,DefaultParameter,DefaultParameter,GetTimelineNoteParameter,GetCollectionTimelineNoteParameter>
createParameter
- create parameterrequestedMimeType
- mimeTypeuriInfo
- urirequestSessionId
- session idrequest
- requestException
- if anything goes wrongpublic javax.ws.rs.core.Response handleGetInternally(GetTimelineNoteParameter getTimelineNoteParameter, String requestedMimeType, javax.ws.rs.core.UriInfo uriInfo, String requestSessionId, javax.ws.rs.core.Request request) throws ResponseBuildException, ExtensionNotSupportedException
handleGetInternally
in class DefaultResourceHandler<CreateTimelineNoteParameter,DefaultParameter,DefaultParameter,GetTimelineNoteParameter,GetCollectionTimelineNoteParameter>
getTimelineNoteParameter
- GetTimelineNoteParameter
requestedMimeType
- 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 requestResponse
ResponseBuildException
- exception while building the responseExtensionNotSupportedException
- extension is not supportedprotected javax.ws.rs.core.Response handleListInternally(GetCollectionTimelineNoteParameter parametersAsObject, String requestedMimeType, javax.ws.rs.core.UriInfo uriInfo, String requestSessionId, javax.ws.rs.core.Request request) throws ResponseBuildException, ExtensionNotSupportedException
handleListInternally
in class DefaultResourceHandler<CreateTimelineNoteParameter,DefaultParameter,DefaultParameter,GetTimelineNoteParameter,GetCollectionTimelineNoteParameter>
parametersAsObject
- GetCollectionTimelineNoteParameter
requestedMimeType
- 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 requestResponse
ResponseBuildException
- exception while building the responseExtensionNotSupportedException
- extension is not supportedCopyright © 2019 Communote team. All rights reserved.