public class AttachmentResource extends AbstractResource
| Constructor and Description |
|---|
AttachmentResource() |
| Modifier and Type | Method and Description |
|---|---|
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) |
boolean |
equals(Object obj) |
Long |
getAttachmentId()
Returns the AttachmentId.
|
Long |
getContentLength()
Returns the ContentLength.
|
String |
getFileName()
Returns the FileName.
|
String |
getFileType()
Returns the FileType.
|
protected AbstractResourceHandler<CreateAttachmentParameter,DefaultParameter,DefaultParameter,GetAttachmentParameter,DefaultParameter> |
getResourceHandler() |
int |
hashCode() |
void |
setAttachmentId(Long attachmentId)
Sets AttachmentId.
|
void |
setContentLength(Long contentLength)
Sets ContentLength.
|
void |
setFileName(String fileName)
Sets FileName.
|
void |
setFileType(String fileType)
Sets FileType.
|
protected AbstractResourceHandler<CreateAttachmentParameter,DefaultParameter,DefaultParameter,GetAttachmentParameter,DefaultParameter> getResourceHandler()
getResourceHandler in class AbstractResourcepublic javax.ws.rs.core.Response attachmentSingle(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 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 - Copyright © 2019 Communote team. All rights reserved.