| Modifier and Type | Method and Description | 
|---|---|
static void | 
AttachmentResourceHelper.checkAttachmentSize(org.apache.commons.fileupload.FileItem file)
Check attachment size and throw  
MaxLengthReachedException | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
MaxLengthReachedExceptionMapper.getErrorMessage(MaxLengthReachedException exception)
Get the message of the exception in mapper. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
AttachmentResourceHelper.assertAttachmentSize(String contentType,
                    Long fileSize,
                    boolean isBase64)
Check attachment size and throw  
MaxLengthReachedException | 
protected javax.ws.rs.core.Response | 
AttachmentResourceHandler.handleCreateInternally(CreateAttachmentParameter createParameter,
                      String requestedMimeType,
                      javax.ws.rs.core.UriInfo uriInfo,
                      String requestSessionId,
                      javax.ws.rs.core.Request request)  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
AttachmentResourceHelper.assertAttachmentSize(String contentType,
                    Long fileSize,
                    boolean isBase64)
Check attachment size and throw  
MaxLengthReachedException | 
protected javax.ws.rs.core.Response | 
AttachmentResourceHandler.handleCreateInternally(CreateAttachmentParameter createParameter,
                      String requestedMimeType,
                      javax.ws.rs.core.UriInfo uriInfo,
                      String requestSessionId,
                      javax.ws.rs.core.Request request)  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
AttachmentResourceHelper.assertAttachmentSize(String contentType,
                    Long fileSize,
                    boolean isBase64)
Check attachment size and throw  
MaxLengthReachedException | 
| Modifier and Type | Method and Description | 
|---|---|
Class<MaxLengthReachedException> | 
MaxLengthReachedExceptionMapper.getExceptionClass() | 
| Modifier and Type | Method and Description | 
|---|---|
Status | 
MaxLengthReachedExceptionMapper.mapException(MaxLengthReachedException exception)
Maps the given exception to a status. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
EntityImageManagement.storeImage(String entityId,
          EntityImageManagement.ImageType imageType,
          byte[] image)
Method to update an image. 
 | 
Copyright © 2019 Communote team. All rights reserved.