Portlet Factory, Version 6.1.2
Objects Created by the Siebel View And Form Builder
A variety of WebApp artifacts are created by the Siebel builders. These artifacts include these LJOs, schemas, variables, methods and pages.
Linked Java Objects
- Buildername (helper LJO)
- LJO that includes methods to invoke methods against the Business Component (findData, getData, saveData, create, Delete).
- getSiebelAccess (helper LJO)
- Method that returns a "SiebelAccess" object. SiebelAccess has several methods to retrieve information directly from Siebel.
Schema
- Buildername_Schema
- XSD schema containing definitions of all the fields from the Business Component, including enumerations corresponding to the Siebel pick lists, and special elements added to the schema to represent the chosen summary and detail rows.
Variables
- Buildername_DetailFieldNames
- Holds mapping between chosen Detail fields from the Siebel Business Component and their associated Schema element names. When the "getData" method is invoked the reply fields to be activated are taken from this Variable.
- BuilderName_DetailRow
- This schema-typed variable is typed with fields selected in Detail Field Selection and is used by Data Page builder in conjunction with the Detail, Create and Edit pages. When the "saveData" method is invoked, the data to be saved is taken from this variable. When a "getData" method is invoked, the result is returned into this variable.
- Buildername_SummaryFieldNames
- Holds mapping between chosen Summary fields from the Siebel Business Component and their associated Schema element names. When the "findData" methd is invoked, the reply fields to be activated are taked from this variable.
- Buildername_SearchResults
- This schema-typed variable is typed with the fields selected in the Summary Field Selection and is used by Data Page for the SearchResults page. When the "findData" method is invoked, this is the variable that receives the search results.
- Buildername_SummaryRow
- This schema-typed variable is typed with the fields selected in the Summary Field Selection and is used by Data Page for the Query page. When a "findData" method is invoked, the values for the search are taken from this variable.
Methods
These methods wire together the View and Form portlet, but also show how the underlying LJO methods can be driven, allowing you to copy their technique and create custom flow logic. The key to understanding is recognizing how the underlying methods leverage the SummaryRow and DetailRow and Summary and DetailFieldNames variables.
- Buildername_ShowSearchResults
- Calls the "findData" method followed by the SearchResults page.
- Buildername_ShowDetailAfterSearch
- Displays either the Create page or the Detail page depending on circumstances. It fetches the DetailRow first (using "getData"), and then displays the appropriate page.
- BuilderName_SaveEdits
- Issues a "saveData" and then displays the detail page.
- Buildername_DeleteFromSearch
- Fetches the chosen record, deletes it, and re-displays the Search page.
- BuilderName_CreateRecord
- Issues a "create" call and displays the SearchResults page.
- BuilderName_CreateNew
- Creates an empty "DetailRow" object and then displays the Create page so new values can be supplied.
Pages
- Buildername_CreatePage
- Page that accepts new values for a new Business Component record. Initial values are taken from the "DetailRow" variable, which will be empty if "Create New" is hit, or a copy of the selected record if a "Create Copy" link is hit on the Search Results page. The submitted Buildername_DetailRow value is saved via "saveData".
- Buildername_DetailPage
- Page that displays the detail of the selected Business Component record (if Create Details Page is selected). The detail is fetched with "getData" using the current values in the Buildername_DetailRow variable (probably only partially populated), and the resulting record is returned in the Buildername_DetailRow variable.
- Buildername_EditPage
- Page that displays the detail of the selected Business Component and allows editing of that detail (if Create Edit Page is selected).
- Buildername_QueryPage
- Query page (if Create Query Page is selected). The values on this page are passed into the Buildername_SummaryRow variable, and "findData" is called which acts on those values and returns the results in the Buildername_SearchResults variable.
- Buildername_SearchResultsPage
- Page that displays Business Component records that match the values supplied in the Query page, or all records if no Query page is in effect. (The findData method acts on the values in the SummaryRow variable and returns the results to Buildername_SearchResults which DataPage places on the output page).
Parent topic: Siebel View and Form builder
Library | Support |