Class Maintenance

About Class Maintenance

This window allows you to perform various class level operations in an CES database such as:
  • Set Cascade Flag for Enumerated Valid Values
  • Set Cascade Flag for Range Valid Values
  • Cascade Enumerated Valid Values
  • Cascade Range Valid Values
  • Update count of notes and attachments for items
  • Update count of attachments at class level
  • Update Number of objects (Refresh Object Count)
  • Roll-up Max Number of Objects
  • Refresh Configuration
  • Refresh Configuration with Cascade
This task explains the procedure to run the Class maintenance Options:
  1. Log on as cisdba and run edm.sh from $EDS_HOME/bin directory. For additional information, see Using CES Database Manager.

  2. From the EDM main window, select a database, on which the Class Maintenance operations are to be performed.

  3. Select Tools > Explore Object Management > Class Maintenance option. The Class Maintenance window appears.

Set Cascade Flag for Enumerated Valid Values

This option is used to set the Cascade Flag property of all Enumerated Valid Values that have been defined for a selected parent class(es) to Yes.

Selecting this option from the Class Maintenance window, you can choose to set the Cascade Flag based on either the Class Label or Class DBName, to display class names or DB names in the list. Select the class(es) and click Apply. The Cascade Flag is set to Yes for all EVVs defined for a given class and all classes in the hierarchy.

This option is useful, when new bottom classes are added as children to the old bottom classes, especially when the EVVs are defined at old bottom classes with Cascade Flag set to No.

After setting this flag, we recommend that you run the Cascade Enumerated Valid Values option.

Cascade Enumerated Valid Values

This option cascades the Enumerated Valid Values for a selected parent class(es) and all the child classes associated with it.

Selecting this option from the Class Maintenance window, you can choose either the Class Label or Class DBName, to display class names or DB names in the list.

Select the class(es) and click Apply. Cascading is done for all EVVs of the parent class and its child classes:

  • Whose Cascade Flag is Yes.

  • For which EVVs are not defined for the bottom classes.

    This option is useful if the bottom classes are redefined after the EVVs are created.

    Before running this option, we recommend that you run the Set Cascade Flag for Enumerated Valid Values option and set the Cascade Flag to Yes.

Set Cascade Flag for Range Valid Values

This option is used to set the Cascade Flag property of all Range Valid Values which are defined for selected parent class(es) to Yes.

Selecting this option from the Class Maintenance window, you can choose to set the Cascade Flag based on either the Class Label or Class DBName. Depending on your selection, the appropriate class names or DB names are displayed in the list. Select the class(es) and click Apply. The Cascade Flag is set to Yes for all RVVs defined for a given class and all classes down its hierarchy.

This option is useful, when new bottom classes are added as children to the old bottom classes, especially when the RVVs are defined at old bottom classes with Cascade Flag set to No.

After setting this flag, we recommend that you run the Cascade Range Valid Values option.

Cascade Range Valid Values

This option cascades the Range Valid Values for a selected parent class(es) and all the child classes associated with it.

Selecting this option from the Class Maintenance window, you can choose either the Class Label or Class DBName to display class names or DB names in the list. Select the class(es) and click Apply. Cascading will be done for all RVVs of the parent class and its child classes.

  • Whose Cascade Flag is Yes.

  • For which RVVs are not defined for the bottom classes.
     

This option is useful if the bottom classes are redefined after the RVVs are created. Before running this option, we recommend that you run the Set Cascade Flag for Range Valid Values option and set the Cascade Flag to Yes.

Update Count of Notes and Attachments for Items

This option updates the count of Notes and Attachments associated with CES items of the specified class. The Note count for items appears in the Number of Notes property in the specified class. The Attachment count for items appears in the Number of Attachments property in the specified class.

Update Count of Attachments at the Class Level

This option updates the count of Attachments at the class level. This may take time depending on the number of classes.

Update Number of Objects

This option updates the object count of items in a selected class(es). It counts the number of items present in the selected classes. Depending on the number of classes selected, this operation may be resource intensive.

Rollup Maximum Number of Objects

The Max Number of Objects property in the Classes class specifies how many objects a class should have as the database grows in size. This option rolls up the value of the Max Number of Objects property from all the bottom classes to their parents. After selecting this option from the Class Maintenance window, click Apply to rollup the maximum number of objects for all the classes.

Refresh configuration and Refresh configuration with cascade

Whenever a class is created or modified, the class configuration is refreshed. But if the process is not completed due to some reasons or if the configuration is invalid or does not exist, you can refresh the configuration using these options:

  • Refresh configuration refreshes the configuration only for the selected classes. It does not refresh the child classes.

  • Refresh configuration with cascade option refreshes the configuration for the entire hierarchy, that is, all the child classes in the selected classes.