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.
      • onDelete

        void onDelete​(java.lang.String srcPath)
        An Item has been deleted. The source path provides the path of the deleted Item.
      • 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.
      • 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.
      • onCreate

        void onCreate​(java.lang.String srcPath)
        A Node has been created. The source path provides the path of the newly created Node.
      • 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.
      • 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.
        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.
        Since:
        2.1.4