Class FilterBySubsystemsData

java.lang.Object
com._1c.g5.v8.dt.md.ui.subsystems.FilterBySubsystemsData

public class FilterBySubsystemsData extends Object
The filter by subsystem data to store and load settings from file, memento etc.
  • Constructor Details

    • FilterBySubsystemsData

      public FilterBySubsystemsData()
  • Method Details

    • getAllProjects

      public Set<String> getAllProjects()
      Returns the set of all projects of which are the subsystem are taken.
      Returns:
      the set of all projects, never null
    • getCheckedProjects

      public Set<String> getCheckedProjects()
      Returns the set of checked projects of which are the subsystem are taken.
      Returns:
      the set of checked projects, never null
    • getIncludeNotIncludedInSubsystems

      public Set<String> getIncludeNotIncludedInSubsystems()
      Returns the set of projects for which 'IncludeNotIncludedInSubsystems' node is checked in the subsystems tree.
      Returns:
      the set of projects, never null
    • getCheckedSubsystems

      public Set<String> getCheckedSubsystems(String project)
      Returns the set of checked subsystems in the subsystems tree for the given project.
      Parameters:
      project - the project to get checked subsystems for, cannot be null
      Returns:
      the subsystems from the given project for which the node is checked, never null
    • addCheckedSubsystems

      public void addCheckedSubsystems(String projectName, Collection<String> subsystems)
      Marks the given collection of subsystems as checked in the subsystems tree for the given project.
      Parameters:
      project - the project to set checked subsystems for, cannot be null
      subsystems - the subsystems to be checked, never null
    • isIncludeObjectsFromSubordinateSubsystems

      public boolean isIncludeObjectsFromSubordinateSubsystems()
      Returns the value of the 'includeObjectsFromSubordinateSubsystems' flag.
      Returns:
      the value of the 'includeObjectsFromSubordinateSubsystems' flag
    • setIncludeObjectsFromSubordinateSubsystems

      public void setIncludeObjectsFromSubordinateSubsystems(boolean includeObjectsFromSubordinateSubsystems)
      Sets the value of the 'includeObjectsFromSubordinateSubsystems' flag.
      Parameters:
      value - the 'includeObjectsFromSubordinateSubsystems' flag value
    • isIncludeObjectsFromParentSubsystems

      public boolean isIncludeObjectsFromParentSubsystems()
      Returns the value of the 'includeObjectsFromParentSubsystems' flag.
      Returns:
      the value of the 'includeObjectsFromParentSubsystems' flag
    • setIncludeObjectsFromParentSubsystems

      public void setIncludeObjectsFromParentSubsystems(boolean includeObjectsFromParentSubsystems)
      Sets the value of the 'includeObjectsFromParentSubsystems' flag.
      Parameters:
      value - the 'includeObjectsFromParentSubsystems' flag value
    • clone

      public FilterBySubsystemsData clone()
      Overrides:
      clone in class Object