public class GetAttachmentParameter extends Object
Constructor and Description |
---|
GetAttachmentParameter()
Default Constuctor necessary for json parsing
|
GetAttachmentParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap,
Long attachmentId)
This constructor parses all incoming parameter of a request into the class structure
|
GetAttachmentParameter(String representation,
Long attachmentId) |
Modifier and Type | Method and Description |
---|---|
Long |
getAttachmentId()
Returns the AttachmentId.
|
Long |
getContentLength()
Returns the ContentLength.
|
String |
getFileName()
Returns the FileName.
|
String |
getFileType()
Returns the FileType.
|
Boolean |
getGetAttachmentAsBinary()
Returns the GetAttachmentAsBinary.
|
void |
handleUnknownProperties(String key,
Object value)
Log unknown properties to loglevel warn.
|
void |
setAttachmentId(Long attachmentId)
Sets AttachmentId.
|
void |
setContentLength(Long contentLength)
Sets ContentLength.
|
void |
setFileName(String fileName)
Sets FileName.
|
void |
setFileType(String fileType)
Sets FileType.
|
void |
setGetAttachmentAsBinary(Boolean getAttachmentAsBinary)
Sets GetAttachmentAsBinary.
|
public GetAttachmentParameter()
public GetAttachmentParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap, Long attachmentId) throws RestApiIllegalRequestParameterException
public GetAttachmentParameter(String representation, 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 setAttachmentId(Long attachmentId)
attachmentId
- public Long getAttachmentId()
public void setFileName(String fileName)
fileName
- public String getFileName()
public void setFileType(String fileType)
fileType
- public String getFileType()
public void setContentLength(Long contentLength)
contentLength
- public Long getContentLength()
public void setGetAttachmentAsBinary(Boolean getAttachmentAsBinary)
getAttachmentAsBinary
- public Boolean getGetAttachmentAsBinary()
Copyright © 2019 Communote team. All rights reserved.