Class DefaultEdgeFactory

    • Constructor Detail

      • DefaultEdgeFactory

        public DefaultEdgeFactory​(EdgeTypeRepository edgeTypeRepository)
    • Method Detail

      • getCreateEdge

        public Edge getCreateEdge​(ContentEntityObject contentEntity)
        Description copied from interface: EdgeFactory
        Creates a new instance of an edge which indicates new content creation.
        Specified by:
        getCreateEdge in interface EdgeFactory
        contentEntity - the new content that has been created
      • canBuildCreatEdge

        public boolean canBuildCreatEdge​(ContentEntityObject contentEntity)
        Description copied from interface: EdgeFactory
        Determines if the edge factory is capable of building create edges for a particular piece of content.
        Specified by:
        canBuildCreatEdge in interface EdgeFactory
        contentEntity - the content to check
        true if the factory can build create edges for that content, false if it can't.