Interface TextModuleFirstLevelGroupModifier

    • Method Detail

      • isVisible

        boolean isVisible()
        Get the current visibility which is held in this TextModuleNodeModifier.
        Returns:
        true if visible, otherwise false
        Since:
        10.0.206
      • validateVisible

        boolean validateVisible​(boolean visible)
                         throws ValidationException
        Validate the given visibility.
        Parameters:
        visible - the new visibility
        Returns:
        true if the change is valid
        Throws:
        ValidationException - if the change is invalid
        Since:
        10.0.206
      • getAssignedCategories

        java.util.Set<Category> getAssignedCategories()
        Get an unmodifiable view of the current assigned categories which are held in this TextModuleFirstLevelGroupModifier.
        Returns:
        the current assigned categories as an unmodifiable set
        Since:
        10.0.206
      • addAssignedCategories

        TextModuleFirstLevelGroupModifier addAssignedCategories​(Category... categories)
                                                         throws ValidationException

        Assign the textmodule first level group to the passed categories.

        The change is applied after the Modifier.write() method is called.

        Parameters:
        categories - the categories the textmodule first level group should be assigned to
        Returns:
        the TextModuleFirstLevelGroupModifier
        Throws:
        ValidationException - if a category is null or already assigned
        Since:
        10.0.206
      • removeAssignedCategories

        TextModuleFirstLevelGroupModifier removeAssignedCategories​(Category... categories)
                                                            throws ValidationException

        Remove the assignment of the textmodule first level group to the passed categories.

        The change is applied after the Modifier.write() method is called.

        Parameters:
        categories - the categories for which the assignment should be removed
        Returns:
        the TextModuleFirstLevelGroupModifier
        Throws:
        ValidationException - if a category is null or not assigned
        Since:
        10.0.206
      • getClassification

        TextModuleFirstLevelGroup.Classification getClassification()
        Get the current classification which is held in this TextModuleFirstLevelGroupModifier.
        Returns:
        the classification
        Since:
        10.0.206
      • getChildTextModuleSecondLevelGroups

        java.util.List<TextModuleSecondLevelGroup> getChildTextModuleSecondLevelGroups()
        Get the current direct child textmodule second level groups list which is held in this TextModuleFirstLevelGroupModifier.
        Returns:
        the direct child textmodule second level groups list
        Since:
        10.0.206
      • getChildTextModuleNodes

        java.util.List<TextModuleNode> getChildTextModuleNodes()
        Get the current direct child textmodule nodes list which is held in this TextModuleFirstLevelGroupModifier.
        Returns:
        the direct child textmodule nodes list
        Since:
        10.0.206
      • setChildTextModuleNodes

        TextModuleFirstLevelGroupModifier setChildTextModuleNodes​(java.util.List<TextModuleNode> childTextModuleNodes)
                                                           throws ValidationException

        Change the direct child textmodule nodes list of the associated TextModuleFirstLevelGroup.

        The change is applied after the Modifier.write() method is called.

        Parameters:
        childTextModuleNodes - the new direct child textmodule nodes list
        Returns:
        the TextModuleGroupModifier
        Throws:
        ValidationException - if the new new direct child textmodule nodes list is invalid
        Since:
        10.0.206
      • validateChildTextModuleNodes

        boolean validateChildTextModuleNodes​(java.util.List<TextModuleNode> childTextModuleNodes)
                                      throws ValidationException
        Validate the given direct child textmodule nodes list.
        Parameters:
        childTextModuleNodes - the direct child textmodule nodes list to validate
        Returns:
        true if the direct child textmodule nodes list is valid
        Throws:
        ValidationException - if the direct child textmodule nodes list is invalid
        Since:
        10.0.206