Class AjaxUploadRequest

  • All Implemented Interfaces:
    Serializable

    public class AjaxUploadRequest
    extends Object
    implements Serializable
    POJO for a single AJAX upload add or removal request. Saves the time when the request was made.
    Since:
    7.0.11
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • AjaxUploadRequest

        public AjaxUploadRequest​(de.xima.fc.form.upload.AjaxUpload upload,
                                 long time)
        Creates a new POJO with the given data.
        Parameters:
        upload - The upload that was added during the request, or null if no upload was added or an existing upload was removed.
        time - The time when the request was made. Note that this is not required to correspond to a physicial time, the only requirement for this number is that a larger number implies that a request was made later.
    • Method Detail

      • getTime

        public long getTime()
        Returns:
        The time when the request was made. Note that this is not required to correspond to a physicial time, the only requirement for this number is that a larger number implies that a request was made later.
      • getUpload

        public de.xima.fc.form.upload.AjaxUpload getUpload()
        Returns:
        The upload that was added during the request, or null if no upload was added or an existing upload was removed.