Delete topic
Line 6: | Line 6: | ||
Note that topic merge may look like a topic deletion as all properties of the topic are added to another topic. | Note that topic merge may look like a topic deletion as all properties of the topic are added to another topic. | ||
+ | |||
+ | ==Deleting specific topics== | ||
+ | |||
+ | Topic table allows also sophisticated topic deletions where you can set a condition for deletion. These topic deletion functions include: | ||
+ | |||
+ | * '''Delete topics without A+C+I...''' deletes all such topics that contain no associations, no classes, and no instances. | ||
+ | * '''Delete topics without A+I...''' deletes all such topics that contain no associations and no instances. | ||
+ | * '''Delete topics without associations...''' deletes all such topics that have no associations i.e the topic does not play a role in any association. | ||
+ | * '''Delete topics without classes...''' deletes topic if topic has no classes. | ||
+ | * '''Delete topics without instances...''' deletes topic if it has no instances. | ||
+ | * '''Delete topics without base names...''' deletes all topics that have no base name. | ||
+ | * '''Delete topics without occurrences...''' deletes all topics without occurrences. | ||
+ | * '''Delete topics with SI regex...''' deletes such topics that have matching subject identifier compared to user specified regular expression. | ||
+ | * '''Delete topics with base name regex...''' deletes such topics that have matching base name compared to user specified regular expression. |
Revision as of 19:06, 22 October 2007
To delete a topic, you need to locate it first. To locate a topic point it in topic table or a topic tree. Or open it in topic panel. Topic in a table or a tree is deleted using context options Delete topic or Topics > Delete topics. Topic table allows also deletion of multiple topics at once.
Topic deletion is always confirmed from the user. Topic deletion removes also all associations where the deleted topic plays a role.
Topic can't be deleted if it is an association role, an association type or an occurrence type. To delete such a topic, you first need to delete associations and occurrences the topic defines.
Note that topic merge may look like a topic deletion as all properties of the topic are added to another topic.
Deleting specific topics
Topic table allows also sophisticated topic deletions where you can set a condition for deletion. These topic deletion functions include:
- Delete topics without A+C+I... deletes all such topics that contain no associations, no classes, and no instances.
- Delete topics without A+I... deletes all such topics that contain no associations and no instances.
- Delete topics without associations... deletes all such topics that have no associations i.e the topic does not play a role in any association.
- Delete topics without classes... deletes topic if topic has no classes.
- Delete topics without instances... deletes topic if it has no instances.
- Delete topics without base names... deletes all topics that have no base name.
- Delete topics without occurrences... deletes all topics without occurrences.
- Delete topics with SI regex... deletes such topics that have matching subject identifier compared to user specified regular expression.
- Delete topics with base name regex... deletes such topics that have matching base name compared to user specified regular expression.