public class AttachmentResource extends AbstractResource
| Constructor and Description |
|---|
AttachmentResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
attachmentList() |
javax.ws.rs.core.Response |
attachmentSingle(Long attachmentId) |
javax.ws.rs.core.Response |
createAttachment() |
javax.ws.rs.core.Response |
createAttachment(javax.ws.rs.core.MultivaluedMap<String,String> params) |
javax.ws.rs.core.Response |
createAttachment(String jsonRepresentation) |
javax.ws.rs.core.Response |
deleteAttachment(javax.ws.rs.core.MultivaluedMap<String,String> params,
Long attachmentId) |
boolean |
equals(Object obj) |
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.
|
Long |
getNoteId()
Returns the NoteId.
|
String |
getRepositoryConnectorId()
Returns the RepositoryConnectorId.
|
protected AbstractResourceHandler<CreateAttachmentParameter,DefaultParameter,DeleteAttachmentParameter,GetAttachmentParameter,GetCollectionAttachmentParameter> |
getResourceHandler() |
int |
hashCode() |
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 |
setNoteId(Long noteId)
Sets NoteId.
|
void |
setRepositoryConnectorId(String repositoryConnectorId)
Sets RepositoryConnectorId.
|
protected AbstractResourceHandler<CreateAttachmentParameter,DefaultParameter,DeleteAttachmentParameter,GetAttachmentParameter,GetCollectionAttachmentParameter> getResourceHandler()
getResourceHandler in class AbstractResourcepublic javax.ws.rs.core.Response attachmentSingle(Long attachmentId) throws Exception
Exceptionpublic javax.ws.rs.core.Response deleteAttachment(javax.ws.rs.core.MultivaluedMap<String,String> params, Long attachmentId) throws Exception
Exceptionpublic javax.ws.rs.core.Response createAttachment(javax.ws.rs.core.MultivaluedMap<String,String> params) throws Exception
Exceptionpublic javax.ws.rs.core.Response createAttachment(String jsonRepresentation) throws Exception
Exceptionpublic javax.ws.rs.core.Response createAttachment()
throws Exception
Exceptionpublic Long getAttachmentId()
public void setAttachmentId(Long attachmentId)
attachmentId - public Long getNoteId()
public void setNoteId(Long noteId)
noteId - public String getFileName()
public void setFileName(String fileName)
fileName - public String getFileType()
public void setFileType(String fileType)
fileType - public Long getContentLength()
public void setContentLength(Long contentLength)
contentLength - public String getContentId()
public void setContentId(String contentId)
contentId - public String getRepositoryConnectorId()
public void setRepositoryConnectorId(String repositoryConnectorId)
repositoryConnectorId - public Date getCrawlLastModificationDate()
public void setCrawlLastModificationDate(Date crawlLastModificationDate)
crawlLastModificationDate - Copyright © 2019 Communote team. All rights reserved.