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 type TextModuleNode
Since:
10.0.206
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the current textmodule node name which is held in this TextModuleNodeModifier.
    Change the name of the associated TextModuleNode.
    boolean
    Validate the given name.

    Methods inherited from interface com.novomind.ecom.api.imail.routing.persistence.Modifier

    delete, get, write
  • Method Details

    • getName

      String getName()
      Get the current textmodule node name which is held in this TextModuleNodeModifier.
      Returns:
      the name as String
      Since:
      10.0.206
    • setName

      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(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