Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Creating an Organization Model : Opening an Organization Model

Opening an Organization Model
The Organization Model is contained in a file called name.om, where name is typically the name of the entity for which you are creating the Organization Model. An Organization Model can contain more than one Organization.
The steps below describe creating an Organization Model.
1.
In the Project Explorer, select the Organization folder in the project where you want to create your Organization Model.
2.
Right-click the Organization folder or the OrganizationModel.om folder and select New > Organization Model Diagram.
3.
The Create Organization Model Diagram wizard is displayed.
Make sure that the Create default schema types box is checked.
The folder you selected should be displayed in the Create Organization Model Diagram wizard. You can use the folder you selected or select a different folder, depending on your requirements. However, it must be a special folder of the Organization type.
4.
In the File name: field, type the name you want to apply to your Organization Model, followed by the suffix .om. Click Finish.
The Organization Editor is displayed, representing the single default Organization created in the Organization Model. This information is displayed in the badge in the top left hand corner of the editor. You can navigate to the parent Organization Model editor by clicking on the shortcut arrow in the badge.
The Organization Model is also displayed in the Project Explorer view.
 
You can use quick-find (Ctrl+F) in the project explorer to find existing organization model entities and select them in the project explorer.
When you have created an organization model, you can search for organization model diagram elements using quick find (Ctrl-F) within the diagram, and entering the initial characters of the name you are searching for. Double-click on the element you are shown in the search to go to its location in the diagram.
Creating an Organization
The steps below describe creating an Organization:
1.
2.
Select the Organization tool in the Organization Model Editor palette, and click on the empty part of the Organization Model editor. This places an Organization in the Model.
You can alternatively expand the Organization Model in the Project Explorer. Right-click Organizations and select Add Child > Organization. A new Organization is created.
3.
At this point the Label field of the Organization is automatically selected. Enter the label you require. The Name field is automatically filled with the same text as the Label, but without any internal spaces. For example, if you put Head Office in the Label field, the Name will be HeadOffice.
4.
If the Properties View is not already displayed, right-click the organization you just created and select Show Properties View. The Properties View is displayed.
5.
In the Purpose field on the General tab, and on the Description tab, you can enter some text to describe the purpose of the Organization and/or any supporting explanations, depending on your requirements.
6.
Next to the Type field, click to display the Select Type dialog. This enables you to change the type for the Organization, depending on your requirements. See Schema for more information about types.
7.
Next to the Location field, click to display the Select Type dialog. This enables you to specify a Location Type for the Organization, depending on your requirements. See Schema for more information about types.
8.
9.
If you have assigned a Type to the Organization, the Attribute Values tab is displayed. Any attributes that are defined for this type of Organization are displayed here. Click the Value field next to each defined attribute to display a list of available values for that attribute.
The Attribute Values tab is available only if you have previously applied a Type as described in step 6 on page 64.
Creating an Organization Unit
To create a Organization Unit, do the following:
1.
In the Organization Model editor, double-click on the organization in which you want to place an Organization Unit. The Organization Editor for that organization is opened.
2.
Select the Organization Unit tool in the Organization Modeler palette, and click on the empty part of the Organization diagram. This places an Organization Unit in the Organization.
3.
At this point the Label field of the Organization Unit is automatically selected. Enter the label you require. The Name field is automatically filled with the same text as the Label, but without any internal spaces.
4.
If the Properties View is not already displayed, right-click the organization Unit you just created and select Show Properties View. The Properties View is displayed.
5.
In the Purpose field on the General tab, and on the Description tab, you can enter some text to describe the purpose of the Organization Unit and/or any supporting explanations, depending on your requirements.
6.
If you are using the default schema, or if you have created your own schema and defined any Organization Unit Types, you can assign a Type to this Organization Unit by selecting it in the Element field. See Schema for more information about types.
7.
Next to the Location field, click to display the Select Type dialog. This enables you to specify a Location Type for the Organization. See Schema for more information about types.
8.
9.
If you have applied a Type to the Organization Unit, the Attribute Values tab is displayed. Any attributes that are defined for this type of Organization Unit are displayed here. Click the Value field next to each defined attribute to display a list of available values for that attribute. See Attributes for more information about attributes.
10.
Click the Privileges tab. Click to display the Select Type dialog. This enables you to specify the Privileges for the position. See Capability and Privilege for more information about Privileges.
Creating a Position
To create a Position, do the following:
1.
Select the Position tool in the Organization Modeler palette, and click on the Organization Unit where you want to create the Position.
2.
At this point the Label field of the Position is automatically selected. Enter the label you require. The Name field is automatically filled with the same text as the Label, but without any internal spaces.
3.
If the Properties View is not already displayed, right-click the Position you just created and select Show Properties View. The Properties View is displayed.
4.
In the Purpose field on the General tab, and on the Description tab, you can enter some text to describe the purpose of the Organization and/or any supporting explanations, depending on your requirements.
5.
If you are using the default schema, or if you have created your own schema and defined any Position Types, you can assign a Type to this Position by selecting it in the Element field.
6.
Next to the Location field, click to display the Select Type dialog. This enables you to specify a Location for the Position. See Schema for more information about types.
7.
8.
If you have applied a Type to the Position, the Attribute Values tab is displayed. Any attributes that are defined for this type of Position are displayed here. Click the Value field next to each defined attribute to display a list of available values for that attribute. See Attributes for more information about attributes.
9.
Click the Capabilities tab. Click to display the Select Type dialog. This enables you to specify the Capabilities for the Position. See Capability and Privilege for more information about capabilities.
10.
Do the same for the Privileges tab.
Creating a Group
To create a group, do the following:
1.
In the Project Explorer, expand the folder for your Organization Model.
2.
Right-click the Groups folder and select Add Child > Group. Right-click the Group and select Rename. Type the label of the Group you wish to create. The Name field is automatically filled with the same text as the Label, but without any internal spaces.
3.
If the Properties View is not already displayed, right-click the Group you just created and select Show Properties View. The Properties View is displayed.
4.
In the Purpose field on the General tab, and on the Description tab, you can enter some text to describe the purpose of the Organization and/or any supporting explanations, depending on your requirements.
5.
Click the Capabilities tab. Click to display the Select Type dialog. This enables you to specify the Capabilities for the position. See Capability and Privilege for more information about capabilities.
6.
Do the same for the Privileges tab.
Creating Capabilities
The steps below describe creating a Category:
1.
In the Project Explorer, expand the folder for your Organization Model.
2.
Right-click the Capabilities folder and select Add Child > Capability Category. A new Category is created.
3.
4.
Type the label of the Category you wish to create. The Name field is automatically filled with the same text as the Label, but without any internal spaces.
Creating a Capability
The steps below describe creating a Capability:
1.
In the Project Explorer, expand the folder for your Organization Model.
2.
Right-click the Capabilities folder and select Add Child > Capability. A new Capability is created.
Right-click on a Category and select Add Child > New Capability. A new Capability is created.
3.
4.
Type the label of the Capability you wish to create. The Name field is automatically filled with the same text as the Label, but without any internal spaces.
5.
If the Properties View is not already displayed, right-click the Capability you just created and select Show Properties View. The Properties View is displayed.
6.
Click the General tab.
7.
a.
Select the Has qualifier checkbox. The Show qualifier ... option is displayed.
b.
Click the Show qualifier ... option. The Qualifier tab is displayed.
c.
Click the Qualifier tab. In the Type field, select an available type from the drop-down list.
d.
8.
In the Purpose field on the General tab, and on the Description tab, you can enter some text to describe the purpose of the Privilege and/or any supporting explanations, depending on your requirements.
Creating Privileges
The steps below describe creating a Category:
1.
In the Project Explorer, expand the folder for your Organization Model.
2.
Right-click the Privileges folder and select Add Child > Privilege Category. A new Category is created.
3.
4.
Type the label of the Category you wish to create. The Name field is automatically filled with the same text as the Label, but without any internal spaces.
Creating a Privilege
The steps below describe creating a Privilege:
1.
In the Project Explorer, expand the folder for your Organization Model.
2.
Right-click the Privileges folder and select Add Child > New Privilege. A new Privilege is created.
Right-click on a Category and select Add Child > New Privilege. A new Privilege is created.
3.
4.
Type the label of the Privilege you wish to create. The Name field is automatically filled with the same text as the Label, but without any internal spaces.
5.
If the Properties View is not already displayed, right-click the Privilege you just created and select Show Properties View. The Properties View is displayed.
6.
Click the General tab.
7.
a.
Select the Has qualifier checkbox. The Show qualifier ... option is displayed.
b.
Click the Show qualifier ... option. The Qualifier tab is displayed.
c.
Click the Qualifier tab. In the Type field, select an available type from the drop-down list.
d.
This means that changes in the qualifier value of privileges will reflect every previous value you set. So if you set the qualifier for Position ’Tester’ with Privilege ’All’ to 10 and deploy the organization model, and then change the qualifier to 11 and redeploy it (as a different minor version) , Position 'Tester' now has two assignments of privilege 'All'; one with a qualifier of 10, and with a qualifier of 11.
8.
In the Purpose field on the General tab, and on the Description tab, you can enter some text to describe the purpose of the Privilege and/or any supporting explanations, depending on your requirements.
Creating a Location
The steps below describe creating a Location:
1.
In the Project Explorer, expand the folder for your Organization Model.
2.
Right-click the Locations folder and select Add Child > Location.
3.
4.
Type the label of the Location you wish to create. The Name field is automatically filled with the same text as the Label, but without any internal spaces.
5.
If the Properties View is not already displayed, right-click the Location you just created and select Show Properties View. The Properties View is displayed.
6.
In the Purpose field on the General tab, and on the Description tab, you can enter some text to describe the purpose of the Location and/or any supporting explanations, depending on your requirements.
7.
Next to the Type field, click to display the Select Type dialog. This enables you to change the type for the Location, depending on your requirements. See Schema for more information about types.
8.
9.
If you have assigned a Type to the Location, the Attribute Values tab is displayed. Any attributes that are defined for the Type are displayed here. Click the Value field next to each defined attribute to display a list of available values for that attribute. See Attributes for more information about attributes.
Creating a Resource
The steps below describe creating a Resource:
1.
In the Project Explorer, expand the folder for your Organization Model.
2.
Right-click the Resources folder and select Add Child > Resource. A new Resource is created.
3.
4.
Type the label of the Resource you wish to create. The Name field is automatically filled with the same text as the Label, but without any internal spaces.
5.
If the Properties View is not already displayed, right-click the Resource you just created and select Show Properties View. The Properties View is displayed.
6.
In the Purpose field on the General tab, and on the Description tab, you can enter some text to describe the purpose of the Resource and/or any supporting explanations, depending on your requirements.
7.
Next to the Type field, click to display the Select Type dialog. This enables you to change the type for the Resource, depending on your requirements. See Schema for more information about types.
8.
If you have assigned a Type to the Resource, the Attribute Values tab is displayed. Any attributes that are defined for the Type are displayed here. Click the Value field next to each defined attribute to display a list of available values for that attribute. See Attributes for more information about attributes.
Creating Queries
The steps below describe creating a Query:
1.
In the Project Explorer, expand the folder for your Organization Model.
2.
Right-click the Queries folder and select Add Child > Organization Query. A new Organization Query is created.
3.
4.
Type the label of the Query you wish to create. The Name field is automatically filled with the same text as the Label, but without any internal spaces.
5.
On the General tab of the Properties View, select either Free Text or RQL from the dropdown list in the Script Defined As field. An input field is displayed.
6.
Type the Query into the Describe Organization Model Query field. You can either enter free text that will describe to the solution designer what you intend the query to accomplish, or use the structure of RQL to enter a query that will be validated by TIBCO Business Studio.1

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved