Interface IOverwriteQuery

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ALL
      Return code indicating the entity should be overwritten, and all subsequent entities should be overwritten without prompting.
      static java.lang.String CANCEL
      Return code indicating the operation should be canceled.
      static java.lang.String NO
      Return code indicating the entity should not be overwritten, but operation should not be canceled.
      static java.lang.String NO_ALL
      Return code indicating the entity should not be overwritten, and all subsequent entities should not be overwritten without prompting.
      static java.lang.String YES
      Return code indicating the entity should be overwritten.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String queryOverwrite​(java.lang.String pathString)
      Returns one of the return code constants declared on this interface, indicating whether the entity represented by the passed String should be overwritten.
    • Field Detail

      • CANCEL

        static final java.lang.String CANCEL
        Return code indicating the operation should be canceled.
        See Also:
        Constant Field Values
      • NO

        static final java.lang.String NO
        Return code indicating the entity should not be overwritten, but operation should not be canceled.
        See Also:
        Constant Field Values
      • YES

        static final java.lang.String YES
        Return code indicating the entity should be overwritten.
        See Also:
        Constant Field Values
      • ALL

        static final java.lang.String ALL
        Return code indicating the entity should be overwritten, and all subsequent entities should be overwritten without prompting.
        See Also:
        Constant Field Values
      • NO_ALL

        static final java.lang.String NO_ALL
        Return code indicating the entity should not be overwritten, and all subsequent entities should not be overwritten without prompting.
        See Also:
        Constant Field Values
    • Method Detail

      • queryOverwrite

        java.lang.String queryOverwrite​(java.lang.String pathString)
        Returns one of the return code constants declared on this interface, indicating whether the entity represented by the passed String should be overwritten.

        This method may be called from a non-UI thread, in which case this method must run the query in a sync exec in the UI thread, if it needs to query the user.

        Parameters:
        pathString - the path representing the entity to be overwritten
        Returns:
        one of the return code constants declared on this interface