Class UploadsService
java.lang.Object
org.tailormap.api.service.UploadsService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckIfModifiedSince(UUID id, long ifModifiedSince) Checks if the upload with the given ID has been modified since the provided timestamp.
-
Field Details
-
DESCRIPTION_HEADER_NAME
- See Also:
-
UPLOAD_MARKDOWN_SCHEME
The scheme used in Markdown files to reference an upload. For example,upload://<upload-id>.- See Also:
-
-
Constructor Details
-
UploadsService
-
-
Method Details
-
checkIfModifiedSince
Checks if the upload with the given ID has been modified since the provided timestamp.- Parameters:
id- the UUID of the uploadifModifiedSince- the timestamp to compare against (in milliseconds)- Returns:
- true if the upload has been modified since the provided timestamp or when the upload does not exist, false otherwise
-