Interface TextModule

  • All Superinterfaces:
    java.lang.Comparable<com.novomind.ecom.common.api.persistence.Entity>, com.novomind.ecom.common.api.attribute.Described, com.novomind.ecom.common.api.persistence.Entity, MasterEntity, com.novomind.ecom.common.api.attribute.Named, TextModuleNode

    public interface TextModule
    extends MasterEntity, TextModuleNode, com.novomind.ecom.common.api.attribute.Described
    Represents a TextModule object
    Since:
    10.0.206
    • Method Detail

      • isVisible

        boolean isVisible()
        Returns:
        true if this textmodule node is visible, false otherwise
        Since:
        10.0.206
      • getParentGroups

        java.util.Set<TextModuleGroup> getParentGroups()
        Returns an unmodifiable cached view of the parent text module groups (first and second level).
        The returned set is not updated when assignments change.
        Returns:
        the current parent text module groups as an unmodifiable set
        Since:
        10.0.206
      • getParentFirstLevelGroups

        java.util.Set<TextModuleFirstLevelGroup> getParentFirstLevelGroups()
        Returns an unmodifiable cached view of the parent first level text module groups.
        The returned set is not updated when assignments change.
        Returns:
        the current parent first level text module groups as an unmodifiable set
        Since:
        10.0.206
      • getParentSecondLevelGroups

        java.util.Set<TextModuleSecondLevelGroup> getParentSecondLevelGroups()
        Returns an unmodifiable cached view of the parent second level text module groups.
        The returned set is not updated when assignments change.
        Returns:
        the current parent second level text module groups as an unmodifiable set
        Since:
        10.0.206
      • getLanguageCode

        java.lang.String getLanguageCode()
        Returns:
        the ISO 639-1 language code or null
        Since:
        10.0.206
      • getShortcut

        java.lang.String getShortcut()
        Returns:
        the shortcut of this textmodule or null
        Since:
        10.0.206
      • isTopTextRelevant

        boolean isTopTextRelevant()
        Returns:
        true if this textmodule is relevant for top textmodules, false otherwise
        Since:
        10.0.206
      • getContent

        java.lang.String getContent()
        Returns:
        the content of this textmodule
        Since:
        10.0.206
      • getLastChangeDateWithNotify

        java.util.Optional<java.util.Date> getLastChangeDateWithNotify()
        Returns:
        the optional last save date with notify agents activated of this textmodule
        Since:
        11.32