Interface IAttachmentItemResolutionErrorProviding
- All Known Subinterfaces:
IResolvedAttachmentItem
,IResolvedAttachmentList
- All Known Implementing Classes:
ResolvedAttachmentItem
,ResolvedAttachmentList
public interface IAttachmentItemResolutionErrorProviding
Common interface for both the resolved attachment list and each resolved attachment item, which both provide access
to the errors that occurred.
- Since:
- 8.1.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
-
Method Details
-
getErrors
- Returns:
- All errors that occurred during the attachment item's resolution.
-
getErrors
@Nonnull default List<AAttachmentListResolutionError> getErrors(EAttachmentItemResolutionError type) - Parameters:
type
- Type of errors to retrieve.- Returns:
- A list with all errors of the given type.
-
getErrorsAttachmentCountReducedTozeroByFilterOptions
@Nonnull default List<AAttachmentListResolutionError.AttachmentCountReducedToZeroByFilter> getErrorsAttachmentCountReducedTozeroByFilterOptions()- Returns:
- All errors of type
EAttachmentItemResolutionError.ATTACHMENT_COUNT_REDUCED_TO_ZERO_BY_FILTER_OPTIONS
.
-
getErrorsAttachmentFilterDoesNotMatch
@Nonnull default List<AAttachmentListResolutionError.AttachmentQueryDoesNotMatch> getErrorsAttachmentFilterDoesNotMatch()- Returns:
- All errors of type
EAttachmentItemResolutionError.ATTACHMENT_QUERY_DOES_NOT_MATCH
.
-
getErrorsCannotProcessAttachmentItem
@Nonnull default List<AAttachmentListResolutionError.CannotProcessAttachmentItem> getErrorsCannotProcessAttachmentItem()- Returns:
- All errors of type
EAttachmentItemResolutionError.CANNOT_PROCESS_ATTACHMENT_ITEM
.
-
getErrorsCannotProcessAttachmentList
@Nonnull default List<AAttachmentListResolutionError.CannotProcessAttachmentList> getErrorsCannotProcessAttachmentList()- Returns:
- All errors of type
EAttachmentItemResolutionError.CANNOT_PROCESS_ATTACHMENT_LIST
.
-
getErrorsDatabaseError
- Returns:
- All errors of type
EAttachmentItemResolutionError.DATABASE_ERROR
.
-
getErrorsFileSystemError
- Returns:
- All errors of type
EAttachmentItemResolutionError.FILE_SYSTEM_ERROR
.
-
getErrorsNodeDoesNotExist
- Returns:
- All errors of type
EAttachmentItemResolutionError.NODE_DOES_NOT_EXIST
.
-
getErrorsNodeDoesNotProvideAttachments
@Nonnull default List<AAttachmentListResolutionError.NodeDoesNotProvideAttachments> getErrorsNodeDoesNotProvideAttachments()- Returns:
- All errors of type
EAttachmentItemResolutionError.NODE_DOES_NOT_PROVIDE_ATTACHMENTS
.
-
getErrorsNodeNotExecuted
- Returns:
- All errors of type
EAttachmentItemResolutionError.NODE_NOT_EXECUTED
.
-
getErrorsUploadFieldDoesNotExist
@Nonnull default List<AAttachmentListResolutionError.UploadFieldDoesNotExist> getErrorsUploadFieldDoesNotExist()- Returns:
- All errors of type
EAttachmentItemResolutionError.UPLOAD_FIELD_DOES_NOT_EXIST
.
-
getErrorsUploadFieldDoesNotProvideAttachments
@Nonnull default List<AAttachmentListResolutionError.UploadFieldDoesNotProvideAttachments> getErrorsUploadFieldDoesNotProvideAttachments()- Returns:
- All errors of type
EAttachmentItemResolutionError.UPLOAD_FIELD_DOES_NOT_PROVIDE_ATTACHMENTS
.
-
isHasError
- Parameters:
type
- Type to check.- Returns:
true
if at least one error of the given type exists.
-