Interface TextModule
- All Superinterfaces:
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 Summary
Modifier and TypeMethodDescriptionReturns an unmodifiable cached view of the parent first level text module groups.Returns an unmodifiable cached view of the parent text module groups (first and second level).Returns an unmodifiable cached view of the parent second level text module groups.boolean
boolean
Methods inherited from interface com.novomind.ecom.common.api.attribute.Described
getDescription
Methods inherited from interface com.novomind.ecom.common.api.persistence.Entity
compareTo, getId, isDeleted, isNotDeleted
Methods inherited from interface com.novomind.ecom.common.api.attribute.Named
getName
Methods inherited from interface com.novomind.ecom.api.iagent.model.TextModuleNode
getCreatedDate, getCreatedUser, getLastChangedDate, getLastChangedUser
-
Method Details
-
isVisible
boolean isVisible()- Returns:
- true if this textmodule node is visible, false otherwise
- Since:
- 10.0.206
-
getParentGroups
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
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
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
String getLanguageCode()- Returns:
- the ISO 639-1 language code or null
- Since:
- 10.0.206
-
getShortcut
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
String getContent()- Returns:
- the content of this textmodule
- Since:
- 10.0.206
-
getLastChangeDateWithNotify
- Returns:
- the optional last save date with notify agents activated of this textmodule
- Since:
- 11.32
-