About the Rename a Class wizard |
Use the Rename a Class wizard to rename a class and all of its pattern inheritance dependent classes. In addition you can choose to rename associated objects such as work- instances, properties, activities, and flows.
The wizard reports any locked RuleSets or rules that are checked out before renaming anything.
In addition to exact matches to the specified class name to be changed, the wizard identifies references to the current class name in embedded strings, for example in property names or in embedded Java modules. The wizard displays a listing of these "inexact" matches, and you can select which to include to be renamed and which to preserve unchanged.
The Rename a Class wizard is designed to assist with refactoring applications that are in development. It is not intended to be used on a deployed Production application.
In particular, use Rename a Class for applications with less than a thousand work objects, or select No on the Work Objects page to drop references in the work objects to the new class name. After the class is renamed, work items that referenced the original class can only be viewed as XML.
Select > System > Refactor > Classes > Rename a Class to start the wizard. You can return to a previous step using the <<Back button.
Alternatively, select a case type or work pool in the Application Explorer, right-click, and select Refactor > Rename a Class from the context menu.
No rules are altered by the wizard until you click Next>> after reviewing additional rules to be changed on the next-to-last page. For instructions on the forms, see:
This wizard creates a work item with prefix pxW-
. To find open wizard work items, select the menu option > Application > Tools > All Wizards.
You can rename a class if it meets these conditions:
When complete, the renaming wizard changes your system in the following ways:
The old class name is retained until all changes to dependent classes and Work- instances are completed. Then the original class is deleted. If the system is stopped while renaming is in progress, you can restart the process by executing the utility from the beginning.
Class hierarchy and inheritance — Concepts and terms |