Interface TextModuleNodeModifier<T extends TextModuleNode & MasterEntity>
-
- All Superinterfaces:
Modifier<T>
- All Known Subinterfaces:
TextModuleFirstLevelGroupModifier
,TextModuleGroupModifier<T>
,TextModuleModifier
,TextModuleSecondLevelGroupModifier
public interface TextModuleNodeModifier<T extends TextModuleNode & MasterEntity> extends Modifier<T>
Defines an API to modify an instance of typeTextModuleNode
- Since:
- 10.0.206
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
Get the current textmodule node name which is held in thisTextModuleNodeModifier
.TextModuleNodeModifier<T>
setName(java.lang.String name)
Change the name of the associatedTextModuleNode
.boolean
validateName(java.lang.String name)
Validate the given name.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Get the current textmodule node name which is held in thisTextModuleNodeModifier
.- Returns:
- the name as String
- Since:
- 10.0.206
-
setName
TextModuleNodeModifier<T> setName(java.lang.String name) throws ValidationException
Change the name of the associated
TextModuleNode
.The change is applied after the
Modifier.write()
method is called.- Parameters:
name
- the new name as String- Returns:
- the
TextModuleNodeModifier
- Throws:
ValidationException
- if the new name is invalid- Since:
- 10.0.206
-
validateName
boolean validateName(java.lang.String name) throws ValidationException
Validate the given name.- Parameters:
name
- the name to validate as String- Returns:
- true if the name is valid
- Throws:
ValidationException
- if the name is invalid- Since:
- 10.0.206
-
-