public class GetPreviewParameter extends Object
Constructor and Description |
---|
GetPreviewParameter()
Default Constuctor necessary for json parsing
|
GetPreviewParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap,
Long previewId,
Long attachmentId)
This constructor parses all incoming parameter of a request into the class structure
|
GetPreviewParameter(String representation,
Long previewId,
Long attachmentId) |
Modifier and Type | Method and Description |
---|---|
Long |
getAttachmentId()
Returns the AttachmentId.
|
Long |
getPreviewId()
Returns the PreviewId.
|
void |
handleUnknownProperties(String key,
Object value)
Log unknown properties to loglevel warn.
|
void |
setAttachmentId(Long attachmentId)
Sets AttachmentId.
|
void |
setPreviewId(Long previewId)
Sets PreviewId.
|
public GetPreviewParameter()
public GetPreviewParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap, Long previewId, Long attachmentId) throws RestApiIllegalRequestParameterException
public GetPreviewParameter(String representation, Long previewId, Long attachmentId) throws org.codehaus.jackson.JsonParseException, org.codehaus.jackson.map.JsonMappingException, IOException
org.codehaus.jackson.JsonParseException
org.codehaus.jackson.map.JsonMappingException
IOException
public void setPreviewId(Long previewId)
previewId
- public Long getPreviewId()
public void setAttachmentId(Long attachmentId)
attachmentId
- public Long getAttachmentId()
Copyright © 2019 Communote team. All rights reserved.