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.
|
String |
getContentId()
Returns the ContentId.
|
Long |
getContentLength()
Returns the ContentLength.
|
Date |
getCrawlLastModificationDate()
Returns the CrawlLastModificationDate.
|
String |
getFileName()
Returns the FileName.
|
String |
getFileType()
Returns the FileType.
|
Boolean |
getGetAttachmentAsBinary()
Returns the GetAttachmentAsBinary.
|
Long |
getNoteId()
Returns the NoteId.
|
String |
getRepositoryConnectorId()
Returns the RepositoryConnectorId.
|
void |
handleUnknownProperties(String key,
Object value)
Log unknown properties to loglevel warn.
|
void |
setAttachmentId(Long attachmentId)
Sets AttachmentId.
|
void |
setContentId(String contentId)
Sets ContentId.
|
void |
setContentLength(Long contentLength)
Sets ContentLength.
|
void |
setCrawlLastModificationDate(Date crawlLastModificationDate)
Sets CrawlLastModificationDate.
|
void |
setFileName(String fileName)
Sets FileName.
|
void |
setFileType(String fileType)
Sets FileType.
|
void |
setGetAttachmentAsBinary(Boolean getAttachmentAsBinary)
Sets GetAttachmentAsBinary.
|
void |
setNoteId(Long noteId)
Sets NoteId.
|
void |
setRepositoryConnectorId(String repositoryConnectorId)
Sets RepositoryConnectorId.
|
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 setNoteId(Long noteId)
noteId
- public Long getNoteId()
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 setContentId(String contentId)
contentId
- public String getContentId()
public void setRepositoryConnectorId(String repositoryConnectorId)
repositoryConnectorId
- public String getRepositoryConnectorId()
public void setCrawlLastModificationDate(Date crawlLastModificationDate)
crawlLastModificationDate
- public Date getCrawlLastModificationDate()
public void setGetAttachmentAsBinary(Boolean getAttachmentAsBinary)
getAttachmentAsBinary
- public Boolean getGetAttachmentAsBinary()
Copyright © 2019 Communote team. All rights reserved.