Class FindAttachmentsRequest
Object
PagedRequest
FindAttachmentsRequest
- All Implemented Interfaces:
Serializable
The search criteria for attachments.
Only parameters that are specified in this request and have not
null values are used for filtering.
All other parameters are ignored.
The returned attachments satisfy all constraints that are specified in this search criteria.
By default a result containing 1000 attachments is returned- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Field Summary
Fields inherited from class PagedRequest
countLimit, limit, offset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanThe ID of the resource the attachment refers to.The type of the content of the file representing searched attachment.The name of the file representing searched attachment.AntivirusScanStateThe field that should be used as reference for sorting.The order of sorting.The date of attachment upload.The ID of the user who uploaded the attachment.inthashCode()voidsetBaseResourceId(UUID baseResourceId) The ID of the resource the attachment refers to.voidsetFileContentType(String fileContentType) The type of the content of the file representing searched attachment.voidsetFileName(String fileName) The name of the file representing searched attachment.voidsetScanState(AntivirusScanState scanState) voidsetSortField(FindAttachmentsRequest.SortField sortField) The field that should be used as reference for sorting.voidsetSortOrder(SortOrder sortOrder) The order of sorting.voidsetUploadDate(Long uploadDate) The date of attachment upload.voidThe ID of the user who uploaded the attachment.toString()Methods inherited from class PagedRequest
getCountLimit, getLimit, getOffset, isPagingActive, setCountLimit, setLimit, setOffset
-
Constructor Details
-
FindAttachmentsRequest
public FindAttachmentsRequest()
-
-
Method Details
-
builder
-
getFileName
The name of the file representing searched attachment. -
getFileContentType
The type of the content of the file representing searched attachment. -
getUploadDate
The date of attachment upload. It is the timestamp (in UTC time standard). -
getUserId
The ID of the user who uploaded the attachment. -
getBaseResourceId
The ID of the resource the attachment refers to. -
getScanState
public AntivirusScanState getScanState() -
getSortField
The field that should be used as reference for sorting. -
getSortOrder
The order of sorting. -
setFileName
The name of the file representing searched attachment. -
setFileContentType
The type of the content of the file representing searched attachment. -
setUploadDate
The date of attachment upload. It is the timestamp (in UTC time standard). -
setUserId
The ID of the user who uploaded the attachment. -
setBaseResourceId
The ID of the resource the attachment refers to. -
setScanState
public void setScanState(AntivirusScanState scanState) -
setSortField
The field that should be used as reference for sorting. -
setSortOrder
The order of sorting. -
equals
- Overrides:
equalsin classPagedRequest
-
canEqual
- Overrides:
canEqualin classPagedRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classPagedRequest
-
toString
- Overrides:
toStringin classPagedRequest
-