Unit2 - Lesson 4 - Creating a Search Page Flashcards

1
Q

How to use > stereotype to return multiple records

A

Entity > Add Operation > read multi
Name the operation
Select attributes for key struct.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to use Generated List structs to return multiple records

A

[Modeling a BPO readmulti] (facade or process operation)
Model the input struct
Model return type and shadow type (can reuse from entity >)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to use UIM List element to view multiple entries in a table

A

Without UIM
- Use a HTML table to display multiple entries
- Need to calculate the number of rows
With UIM
- Combination of LIST and SERVER_INTERFACE elements
- Can page through the list and control # of records
- Can display # of items in the list beside the list title

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How to control the number of records returned from the server

A

In RSA operation option can set Readmulti_max=60
OR In Bootstrap.properties set curam.db.readmultimax=100

Handling is based on Readmulti_informational. applies to > > >.
0 is infinity.

Except is thrown if more records available than readmulti_max.

RSA config is taking precedence of Bootstrap.properties

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How to use the pagination feature to control the number of records displayed on each page

A

Applies to list defined with a LIST element. All records are returned to the client and they are paginated without further calls to the server.
Global pagination is set in curam-config.xml:
PAGINATION true or false
DEFAULT_PAGE_SIZE number of rows to display, size can be changed at runtime.
PAGINATION_THRESHOLD minimum list size before pagination is enabled.
Page specific pagination is defined using attributes of a LIST element.
Page specific pagination takes precedence of an application wide pagination.
Default value is 15.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How to create a Search page

A

PAGE_ID=”BankAccount_searchAccount”
Set ACTION SERVER_INTERFACE NAME=”searchAccountBean” CLASS=”MaintainBankAccount” OPERATION=”searchAccountyType”
CLUSTER > ACTION_SET > ACTION_CONTROL TYPE=”SUBMIT” > LINK PAGE_ID=”THIS”
ACTION_CONTROL > LINK PAGE_ID=”BankAccount_searchAccount”
FIELD > CONNECT > TARGET NAME=”searchAccountBean”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

describe Readmulti stereotype

A

Returns on or more records in a list
Select on a non-primary key
List struct is generated to contain the list of records to return
Return struct is created by the generators

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Define LIST element usage

A

Attributes: TITLE, STYLE, DESCRIPTION, SORTABLE, SUMMARY, SCROLL, HEIGHT, BEHAVIOUR, PAGINATED, DEFAULT_PAGE_SIZE, PAGINATION_THRESHOLD

Elements: TITLE, DESCRIPTION, ACTION_SET, FIELD, CONTAINER, CONDITION, FOOTER_ROW

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

LIST element - Display Number of Records

A

To display number of records found
Specify curam-config.xml list_row_count[true]list_row_count
The display text is defined in CDEJResources.properties [record.number.message=Number of Items:]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Explain Readmulti_informational option

A

Determines what happens when Readmulti_max reached
If not enabled, Readmulti_max message gets logged and all entries are returned to user
If enabled, InformationalMessage can be added to InformationManager for handling in the Facade layer. Only Readmulti_max number of entries are returned.
Applies to > > > >
Default is false for Readmulti_informational.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly