Interface ContentImportListener


  • @ConsumerType
    public interface ContentImportListener
    Listener interface to provide callbacks for all imported updates for interested parties. This is primarily used to record the modifications during the "import" post operation.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onCheckin​(java.lang.String srcPath)
      A versionable Node has been checked in.
      void onCheckout​(java.lang.String srcPath)
      A versionable Node has been checked out.
      void onCopy​(java.lang.String srcPath, java.lang.String destPath)
      An Item has been copied to a new location.
      void onCreate​(java.lang.String srcPath)
      A Node has been created.
      void onDelete​(java.lang.String srcPath)
      An Item has been deleted.
      void onModify​(java.lang.String srcPath)
      Content has been updated.
      void onMove​(java.lang.String srcPath, java.lang.String destPath)
      An Item has been moved to a new location.
      void onReorder​(java.lang.String orderedPath, java.lang.String beforeSibbling)
      A child Node has been reordered.
    • Method Detail

      • onModify

        void onModify​(java.lang.String srcPath)
        Content has been updated. The source path provides the path of the modified Item.
        Parameters:
        srcPath - the path that was modified
      • onDelete

        void onDelete​(java.lang.String srcPath)
        An Item has been deleted. The source path provides the path of the deleted Item.
        Parameters:
        srcPath - the path that was deleted
      • onMove

        void onMove​(java.lang.String srcPath,
                    java.lang.String destPath)
        An Item has been moved to a new location. The source provides the original path of the Item, the destination provides the new path of the Item.
        Parameters:
        srcPath - the path that was moved
        destPath - the path to which the node was moved
      • onCopy

        void onCopy​(java.lang.String srcPath,
                    java.lang.String destPath)
        An Item has been copied to a new location. The source path provides the path of the copied Item, the destination path provides the path of the new Item.
        Parameters:
        srcPath - the path that was copied
        destPath - the path to which the node was copied
      • onCreate

        void onCreate​(java.lang.String srcPath)
        A Node has been created. The source path provides the path of the newly created Node.
        Parameters:
        srcPath - the path that was created
      • onReorder

        void onReorder​(java.lang.String orderedPath,
                       java.lang.String beforeSibbling)
        A child Node has been reordered. The orderedPath provides the path of the node, which has been reordered. ThebeforeSibbling provides the name of the sibling node before which the source Node has been ordered.
        Parameters:
        orderedPath - the path of the node which has been reodered
        beforeSibbling - the name of the sibling the node was ordered before
      • onCheckin

        void onCheckin​(java.lang.String srcPath)
        A versionable Node has been checked in. The source path provides the path of the newly checked in Node.
        Parameters:
        srcPath - the path that was checked in
        Since:
        2.1.4
      • onCheckout

        void onCheckout​(java.lang.String srcPath)
        A versionable Node has been checked out. The source path provides the path of the newly checked out Node.
        Parameters:
        srcPath - the path that was checked out
        Since:
        2.1.4