Class AbstractDBFaq

All Implemented Interfaces:
EditableData, JcmsConstants, ImportConstants, MashupConstants, StrongLockable, Searchable, Storable, JaliosConstants, LangPropertyArgument, TreeNode, Cloneable, Comparable<BasicStorable>

public abstract class AbstractDBFaq extends Content
  • Constructor Details

    • AbstractDBFaq

      public AbstractDBFaq()
    • AbstractDBFaq

      public AbstractDBFaq(AbstractDBFaq other)
  • Method Details

    • getLinkIndexedDataSet

      public <T> TreeSet<T> getLinkIndexedDataSet(Class<T> clazz, String field)
      Description copied from class: Data
      Returns all the JStore data, instance of the specified class, that references this Data directly through a dedicated field of the specified name.

      Included in results:

      • JStore Publication instance that references this Data through a dedicated field.

      Excluded from results (non exhaustive list):

      • DBData.
      • JStore data that references this Data through wiki and wysiwyg fields,
      • ...

      This method is supported on DBData, it can be invoked on both JStore or DBData objects (since jcms-10.0.4 / JCMS-7832).

      See online documentation on data links and referrers : https://community.jalios.com/doc/referrer

      Overrides:
      getLinkIndexedDataSet in class Data
      Type Parameters:
      T - class of wanted objects
      Parameters:
      clazz - the class to search the referring instances
      field - the name of the field which contains the reference, return empty result if null
      Returns:
      a TreeSet of Data, never return null : an empty set is returned if invalid parameters where specified or when not referrer could be found
      See Also: