Interface PageMetaData

    • Method Detail

      • getReferencedContentItems

        @ReferField(stored=false,
                    indexed=true,
                    adapter=ContentReferenceFieldAdapter.class)
        ContentItem<?>[] getReferencedContentItems()
        Returns an array of content items that this page metadata instance refers to. This information is used to determine all referenced content items by all page metadata instances of a page version. Referenced content items are stored in the index field pageversion_pagemetadata_referencedcontentitems. This information is used by the Used in facet and widget, which keeps track of all references to a content item. The default implementation returns an empty array. Overrule this method to return any content item references created in the custom implementation of this page metadata.
        Returns:
        List of referred content items, or an empty array or null if no content item is referenced to by this page metadata instance.