Class MockResourceCollectionManager

  • All Implemented Interfaces:
    com.adobe.granite.workflow.collection.ResourceCollectionManager

    public final class MockResourceCollectionManager
    extends java.lang.Object
    implements com.adobe.granite.workflow.collection.ResourceCollectionManager
    Mock implementation of ResourceCollectionManager.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.adobe.granite.workflow.collection.ResourceCollection createCollection​(javax.jcr.Node node)  
      java.util.List<com.adobe.granite.workflow.collection.ResourceCollection> getCollections​(javax.jcr.Session session)  
      java.util.List<com.adobe.granite.workflow.collection.ResourceCollection> getCollectionsForNode​(javax.jcr.Node baseNode)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MockResourceCollectionManager

        public MockResourceCollectionManager()
    • Method Detail

      • createCollection

        public com.adobe.granite.workflow.collection.ResourceCollection createCollection​(javax.jcr.Node node)
        Specified by:
        createCollection in interface com.adobe.granite.workflow.collection.ResourceCollectionManager
      • getCollectionsForNode

        public java.util.List<com.adobe.granite.workflow.collection.ResourceCollection> getCollectionsForNode​(javax.jcr.Node baseNode)
        Specified by:
        getCollectionsForNode in interface com.adobe.granite.workflow.collection.ResourceCollectionManager
      • getCollections

        public java.util.List<com.adobe.granite.workflow.collection.ResourceCollection> getCollections​(javax.jcr.Session session)
        Specified by:
        getCollections in interface com.adobe.granite.workflow.collection.ResourceCollectionManager