Class TemplatesBean.TemplateBulkDeleteModel

  • Enclosing class:
    TemplatesBean

    public static final class TemplatesBean.TemplateBulkDeleteModel
    extends Object
    Model that holds the data for the bulk delete confirmation dialog, when the user selects multiple templates and wants to delete or reset them.

    System templates must be reset, all other templates created by the user must be deleted.

    • Method Detail

      • isMixed

        public boolean isMixed()
        Whether the selected templates are a mix of system and user templates, i.e. whether both system and user templates were selected.
        Returns:
        Whether the selected templates are a mix of system and user templates.
      • isEmpty

        public boolean isEmpty()
        Checks if this model contains no templates to delete or reset.
        Returns:
        Whether this model contains no templates to delete or reset.
      • isResetSystemTemplates

        public boolean isResetSystemTemplates()
      • isDeleteUserTemplates

        public boolean isDeleteUserTemplates()
      • setResetSystemTemplates

        public void setResetSystemTemplates​(boolean resetSystemTemplates)
      • setDeleteUserTemplates

        public void setDeleteUserTemplates​(boolean deleteUserTemplates)