Interface UploadToServer

    • Method Detail

      • isUploadable

        boolean isUploadable()
        Determines if the layer is able to upload data and implements the UploadToServer interface. A layer that implements the UploadToServer interface must return true.
        Returns:
        true if the layer is able to upload data; false, otherwise
      • requiresUploadToServer

        boolean requiresUploadToServer()
        Determines if the data managed by this layer needs to be uploaded to the server because it contains modified data.
        Returns:
        true if the data managed by this layer needs to be uploaded to the server because it contains modified data; false, otherwise
      • isUploadDiscouraged

        boolean isUploadDiscouraged()
        Determines if upload of data managed by this layer is discouraged. This feature allows to use "private" data layers.
        Returns:
        true if upload is discouraged for this layer; false, otherwise
      • isUploadInProgress

        boolean isUploadInProgress()
        Determines if upload of data managed by this layer is currently in progress.
        Returns:
        true if upload is in progress
        Since:
        13434
      • onPostUploadToServer

        void onPostUploadToServer()
        Initializes the layer after a successful upload to the server.
      • createUploadTask

        AbstractIOTask createUploadTask​(ProgressMonitor monitor)
        Creates a new AbstractIOTask for uploading data.
        Parameters:
        monitor - The progress monitor
        Returns:
        a new AbstractIOTask for uploading data, or null if not applicable