Interface IResolvedAttachmentListProcessor<R,E extends Throwable>
-
- Type Parameters:
R
- Type of the combined result of all attachment items.E
- Type of the error that may be thrown when in case of an error.
- All Known Implementing Classes:
StandardErrorAttachmentListProcessor
public interface IResolvedAttachmentListProcessor<R,E extends Throwable>
Handler for processing the results obtained when a list of referenced attachments was resolved, seeIResolvedAttachmentList.collectResult(IResolvedAttachmentListProcessor)
.- Since:
- 8.1.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
-
-
-
Method Detail
-
collector
Collector<? super IResolvedAttachmentItem,?,R> collector()
- Returns:
- Collector that combines all attachment items into the final result.
-
onAttachmentCountReducedToZeroByFilter
void onAttachmentCountReducedToZeroByFilter(AAttachmentListResolutionError.AttachmentCountReducedToZeroByFilter error) throws E extends Throwable
Callback for handling an error of typeEAttachmentItemResolutionError.ATTACHMENT_COUNT_REDUCED_TO_ZERO_BY_FILTER_OPTIONS
.
-
onAttachmentQueryDoesNotMatch
void onAttachmentQueryDoesNotMatch(AAttachmentListResolutionError.AttachmentQueryDoesNotMatch error) throws E extends Throwable
Callback for handling an error of typeEAttachmentItemResolutionError.ATTACHMENT_QUERY_DOES_NOT_MATCH
.
-
onCannotProcessAttachmentItem
void onCannotProcessAttachmentItem(AAttachmentListResolutionError.CannotProcessAttachmentItem error) throws E extends Throwable
Callback for handling an error of typeEAttachmentItemResolutionError.CANNOT_PROCESS_ATTACHMENT_ITEM
.
-
onCannotProcessAttachmentList
void onCannotProcessAttachmentList(AAttachmentListResolutionError.CannotProcessAttachmentList error) throws E extends Throwable
Callback for handling an error of typeEAttachmentItemResolutionError.CANNOT_PROCESS_ATTACHMENT_LIST
.
-
onDatabaseError
void onDatabaseError(AAttachmentListResolutionError.DatabaseError error) throws E extends Throwable
Callback for handling an error of typeEAttachmentItemResolutionError.DATABASE_ERROR
.
-
onFileSystemError
void onFileSystemError(AAttachmentListResolutionError.FileSystemError error) throws E extends Throwable
Callback for handling an error of typeEAttachmentItemResolutionError.FILE_SYSTEM_ERROR
.
-
onNodeDoesNotExist
void onNodeDoesNotExist(AAttachmentListResolutionError.NodeDoesNotExist error) throws E extends Throwable
Callback for handling an error of typeEAttachmentItemResolutionError.NODE_DOES_NOT_EXIST
.
-
onNodeDoesNotProvideAttachments
void onNodeDoesNotProvideAttachments(AAttachmentListResolutionError.NodeDoesNotProvideAttachments error) throws E extends Throwable
Callback for handling an error of typeEAttachmentItemResolutionError.NODE_DOES_NOT_PROVIDE_ATTACHMENTS
.
-
onNodeNotExecuted
void onNodeNotExecuted(AAttachmentListResolutionError.NodeNotExecuted error) throws E extends Throwable
Callback for handling an error of typeEAttachmentItemResolutionError.NODE_NOT_EXECUTED
.
-
onResolvedAttachmentListEmpty
void onResolvedAttachmentListEmpty() throws E extends Throwable
Callback when all attachment items were resolved and not a single attachment was found.
-
onUploadFieldDoesNotExist
void onUploadFieldDoesNotExist(AAttachmentListResolutionError.UploadFieldDoesNotExist error) throws E extends Throwable
Callback for handling an error of typeEAttachmentItemResolutionError.UPLOAD_FIELD_DOES_NOT_EXIST
.
-
onUploadFieldDoesNotProvideAttachments
void onUploadFieldDoesNotProvideAttachments(AAttachmentListResolutionError.UploadFieldDoesNotProvideAttachments error) throws E extends Throwable
Callback for handling an error of typeEAttachmentItemResolutionError.UPLOAD_FIELD_DOES_NOT_PROVIDE_ATTACHMENTS
.
-
-