InsuranceSuite 10.0 Fundamentals Flashcards

1
Q

What is 3-tier architecture?

A

Client-server software in which UI, functional logic, and data are developed and maintained as independent modules.

Data, application, presentation (DAP)

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

What is a relational database?

A

Collection of data structures and objects related to each other. Hosted separate from the application server.

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

Which file specifies the database connection?

A

database-config.xml

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

Which RDBMS are supported by Guidewire?

A

Oracle
Microsoft SQL Server
H2 - training and dev only

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

What is the application tier?

A
  • Set of rules, UI, integrations, and data model.
  • Requires a Java Enterprise Edition server
  • Deployed using WAR or EAR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which application servers are supported? [5]

A
  • Websphere
  • WebLogic
  • Apache Tomcat
  • JBoss
  • Jetty - training and dev only
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the presentation tier?

A

Server-side application that generates HTML pages rendered by a browser.
DON’T - use the back-button; DON’T bookmark anything except login page.

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

What is a data model entity?

A

High-level business object used by Guidewire.

- defined in a set of XML files.

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

Explain the relationship between the data model, DB, and Java

A
  • Each entity is defined in a set of XML files.
  • DB Tables are generated from entities.
  • Java classes are generated as well.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a PCF file?

A

Page Configuration File

  • abstract definition of a form or location
  • used by the UI tier
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the Guidewire Platform?

A layer of _____ _____ includes _____, _____, and _____ shared by all GW apps.
- data model, PCF, and application logic, integration mechanisms

A

What is the Guidewire Platform?

A layer of _____ _____ includes _____, _____, and _____ shared by all GW apps.
- data model, PCF, and application logic, integration mechanisms

configuration technology
functionality
common resources
techniques

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

What is gradle?

A

Open Source build automation system based on Groovy DSL

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

What are the 3 phases of build development in gradle?

A

Initialization, Configuration, and Execution

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

What is incremental build?

A

Gradle detects which parts of the build tree have changed and will not re-exec those that haven’t changed.

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

How to see available gradle tasks?

A

Run gwb on command line.

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

Which tier:
PCF?
Gosu?
Data model entities?

A

PCF - Presentation
Gosu - Application
Entities - Data

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

What is the purpose of the Guidewire platform?

Contains ____ and ______ shared by all Guidewire applications.

A

common resources

configuration techniques

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

How do you start Guidewire Studio?

A

open command line:

gwb studio

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

How do you start a Guidewire application from Studio?

A

Debug Server or Run Server

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

How to regenerate the data dictionary?

A

> gwb genDataDictionary

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

What is the Guidewire data model?

A

A set of XML metadata definitions of entities and typelists.

  • loads on startup
  • generates tables in application database
  • generates Java and Gosu classes in application server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is a data field?

A
  • stores a single value
  • does not reference an object
  • e.g. varchar, datetime, bit, integer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What is a foreign key field?

A
  • stores reference to related object

- defines unidirectional relationship

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

What is an array field?

A
  • defines additional entities of same type to associate with main entity
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

What is a typelist?

A
  • predefined set of possible values that limits valid values

- usually a drop-down

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

What are supertype and subtyped entities? [4]

A
  • supertype is a parent
  • subtype are children; they inherit all fields in the parent
  • some supertypes are abstract and must be subtyped
  • examples include Contact, Job, and Workflow
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

What is a virtual entity?

A
  • non-persistent entity constructed only in code
  • exist at run-time; not saved
  • generally not recommended
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

What is a virtual field?

A
  • field with a calculated value not stored in database
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

Are array fields stored in the DB?

A

No - queries are used via foreign key fields.

- every array on main entity must have a foreign key on the associated entity

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

How are typelists stored?

A
  • each typelist has its own table, and each entity containing a typelist has a foreign key to that table
  • prefix is ‘tl’
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

What kind of data is stored in a supertype parent table?

A

Both the supertype and subtype

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

How are irrelevant subtype fields handled in subtyped tables?

A

They are null

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

What 2 things are automatically created with a subtyped table?

A

1) subtype column

2) typelist for the various subtypes

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

What is the prefix for typelist tables?

A

xxtl, where xx is the application code (pc, bc, cc, ab)

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

What is the data dictionary?

A

A document listing the entities and typelists. It includes customer extensions.

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

What are the 3 main sections of the data dictionary?

[E,T,AF]

A

Entities, typelists, all fields

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

What are the 3 views of the data dictionary?

[S,D,M]

A

Standard, database, migration

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

What is the data dictionary migration view used for?

A

Assist in converting data from a legacy application.

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

What is the command to regenerate the data dictionary?

A

> gwb genDataDictionary

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

List three reasons to regenerate the data dictionary

A

1) a clean install of the GW application
2) Extending the data model
a) validate changes
b) generate static HTML pages
3) Modify system permissions to regen the Security Dictionary

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

What is an entity?

A

An entity is a definition of a business object.

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

What kinds of files define entities?

A

XML (ETI, ETX)

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

What are the two main types of entities?

A

Base application, custom

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

Where are platform entities found?

A

\modules\configuration\config\metadata\entity folder

  • they are read-only
  • platform=”true”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
45
Q

How do you prevent an entitiy from being subtyped?

A

final=”true”

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

What is a platform entity?

A
  • common to all GW apps

- Activity, User

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

What is an application entity?

A

Specific to a GW app

- Claim, Policy, Invoice (BC)

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

Where are custom entities found?

A

\modules\configuration\config\extensions\entity folder

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

What is a custom entity?

A

Entity created by customer

- only created on application level

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

What is the naming recommendation for custom entities and fields?

A

1) _Ext for new entities
2) _Ext for new fields on base entities
3) Do not add _Ext to fields on custom entities

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

What is an EIX file?

A

Internal Entity Extension

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

What is an Internal Entity Extension used for?

A

Created by Guidewire to extend a platform entity in a specific application
- e.g. Activity fields specific to PolicyCenter

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

Where are EIX files found?

A

\modules\configuration\config\metadata\entity

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

Are EIX files editable?

A

No. read-only

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

How to get all typekey in code?

A

TYPENAME.getTypeKeys

- includes retired values

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

What is a typelist?

A

Fixed, predefined list of values

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

Can a typekey value be added at run-time?

A

No

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

How do typekeys typically appear?

A

dropdown list

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

What are the 3 typelist filetypes?

A

.tti - Typelist Type Info
.tix - Typelist Internal Extension
.ttx - Typelist Type Extension

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

When is _Ext used in typelists?

A

For typecodes added by the customer in an existing typelist.

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

Can internal typelists be modified?

A

No. Marked as final.

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

How many ETX files can an entity have?

A

One

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

What datatype do you enter for:

  • string?
  • boolean?
  • numbers with decimals?
A
  • varchar, shorttext
  • bit
  • monetary amount, decimal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
64
Q

What datatypes require columnParam subelements?

A
  • varchar (size)

- decimal (scale, precision)

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

When does a GW application actually modify the physical structure of the database?

A
  • during start-up only
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
66
Q

What’s the difference between \Metadata\ and \Extensions\ folders?

A

Metadata - read-only

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

What is a PCF file?

A

Page configuration file

- XSD-validated XML describing structure, layout, and behaviour

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

What is a PCF widget?

A

PCF element converted to HTML and displayed

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

What is a PCF location?

A

PCF element that a user can navigate to

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

What 2 things does a location specify?

A

1) which part of the browser windows will be updated

2) what permissions are needed to view

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

What is an atomic widget?

A

Smallest building block of user interface

  • displays individual data value
  • executes individual action
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
72
Q

What is a container widget?

A

Collection of atomic widgets or other container widgets

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

List 3 Primary Container Widgets

A
  1. Detail View Panels
  2. List View Panels
  3. Input Sets
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
74
Q

What is a Detail View Panel?

A

Organize data into a single record

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

What is a List View Panel?

A

View information about multiple records.

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

What is an Input Set?

A

Set of atomic widgets grouped together

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

What container must be used to display an input set?

A

Detail view panel

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

Can an input set have a toolbar?

A

No

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

What is a secondary container?

A

Used to organize primary containers

- List Detail Panel, Card

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

What is a Card?

A

A card contains Detail Views or List Views

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

What is a List Detail Panel?

A
  • top List View

- bottom view panel

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

What is a top-level container?

A

Screen. It organizes secondary and primary containers

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

Can a screen contain:

  1. Card?
  2. List View?
  3. Detail View?
  4. Input Set?
  5. Atomic Widgets?
A

1,2,3 Yes

4,5, No

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

Describe an < location /> element

A

Doesn’t exist. Conceptual only

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

List examples of Location widgets

A
Location group
Page
Wizard
Popup
Worksheet
Forward
Exit Point
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
86
Q

What does ALT-SHIFT-W do?

A

Widget structure

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

Why are widgets purple / dark purple in studio?

A

Not defined in current PCF, reference in another PCF. Double-click to open.

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

What is the name of the widget that draws a horizonal line in an InputSet?

A

Input Divider

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

Alt + Shift + L

A

Reload PCF files

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

Purpose of atomic widget?

A

Display individual elements of data / functionality

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

Purpose of container widgets?

A

Group atomic widgets into logical groups

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

Purpose of locations?

A

Define how users move in the app

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

What does a PCF file define?

A

Container widgets, locations, and contents

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

Light green line in PCF:

A

Current selected widget will be inserted

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

PCF red background

A

Error in definition

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

3 ways to deploy PCF files?

A
  1. Restart server
  2. alt-shift-L (requires internal tools enabled)
  3. Internal Tools Reload page (admin access)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
97
Q

What is a display key?

A

Mechanism that allows locale-specific texts

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

How should static text be displayed?

A

Using a display key

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

What is specified in a widgets value property?

A

The field in the data model

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

What does the keyword ‘as’ mean? how is it used?

A

To subtype a base object and access a subtype field.

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

What are the widget defaults for:

  1. Visible
  2. Editable
  3. Required
A
  1. Visible
  2. Not-editable (read-only)
  3. Not-required (optional)
102
Q

What are some format properties for DateInput widget?

A

short, medium, long

103
Q

Is a secondary container, such as a Card, mandatory on a Screen?

A

No. Detail Views, for example, can be added tp a Screen.

104
Q

What must a Detail View have?

A

At least one Input Column

105
Q

PCF - what is a root object?

A

Input parameter of the container

106
Q

What is a typical hierarchy example of a PCF?

A

Screen > Card > Detail View > Input Column > Atomic Widget

107
Q

How to include a separate Detail View file in a PCF?

A

Use PanelRef widget

108
Q

A Detail View must have at least one root object. Why?

A

Input widgets must reference the root to specify data

109
Q

A Detail View must have >= input column. Why?

A

Used to organize and lay-out input widgets.

110
Q

What determines if a Detail View is reusable?

A

Detail View must be the parent, highest object in a PCF file.

111
Q

Explain the def property of a Panel Ref x(y)

A

x - name of container

y - list of objects to pass to child container

112
Q

To edit a text input value, what must be set to editable?

A

Input widget and all containers, incl. Screen and Page location

113
Q

Edit Buttons can be added to

  1. Inline Detail View Widget?
  2. Detail View PCF File?
A
  1. Inline Detail View Widget?
    No. Toolbars typically added to Screen
  2. Detail View PCF File?
    No.
114
Q

What does a Page contain?

A

A single Screen

115
Q

Where are Pages used?

A

Exclusively in Location Groups

116
Q

What is a Location Group?

A

Collection of pages

117
Q

Is a Page a Location?

A

Yes

118
Q

What is a wizard?

A

A Wizard is an ordered collection of screens to execute a complex business process.

119
Q

What is a Popup?

A

Contains a single screen, returns user to previous location

120
Q

Why are true popups difficult to implement?

A

Difficult to ensure synchronization between parent/child windows.

121
Q

What is a Worksheet?

A

Area of the UI at the bottom. Not always visible.

122
Q

What is a Forward?

A

A forward is a widget that contains logic to execute before navigating to another location. It can determine which location to navigate.

123
Q

What is an Exit Point?

A

Points to a URL outside of GW

124
Q

What navigation method is used in a Forward?

A

go()

125
Q

What navigation method is used in a Location Group?

A

go()

126
Q

What navigation method is used in a Page?

A

go()

127
Q

What navigation methods are used in a Wizard?

A

go(), push()

128
Q

What navigation method is used in a Worksheet?

A

goInWorkspace()

129
Q

What navigation method is used in a Popup?

A

push()

130
Q

What navigation method is used in a Exit Point?

A

push()

131
Q

Which Locations have their own info bar, actions, and side bar?

A

Location Group, Wizard

132
Q

Which Location renders a screen somewhere other than the screen area?

A

Worksheet

133
Q

Which Location navigates to one of several Locations based on logic?

A

Forward

134
Q

Which Location does not navigate to a screen?

A

Exit Point

135
Q

What is a Gosu Rule?

A

A single decision in the for if {conditions} then {actions}

136
Q

What are 3 examples of Gosu Rules?

A
  1. Event Fired Rules
  2. Pre-update Rules
  3. Validation Rules
137
Q

What is a Workflow?

A

Custom business process executed in a time-based fashion.

  • tiggered by an event
  • e.g. Renewals, Delinquencies
138
Q

What is the Gosu Scratchpad?

A

Used to write, execute, and debug Gosu snippets

139
Q

What are some common array methods?

A
  • hasMatch(condition)
  • countWhere(condition)
  • firstWhere(condition)
  • where(condition)
140
Q

What are the components of a block expression?

A
\ s -> s.length() == 3
\ - block indicator
s - name of each element
-> - start of condition
s.length() == 3 - condition
141
Q

What library should be used to store large/long decimal numbers accurately?

A

Rational
Rational.get(1.2323)
Rational.get(1,3)
Rational.get(“1/3”)

142
Q

What array method returns # of objects?

A

x.length or x.Count

143
Q

What file is used for Gosu Rules?

A

.gr

144
Q

What are some types of events that trigger rule sets when an entity is changed?

A
  1. Preupdate Rules

2. Validation Rules

145
Q

What are the 4 parts to a Gosu Rule?

A

Name
Root entity
Condition
Action

146
Q

What are the 3 parts to a Gosu Rule hierarchy?

A
  1. Rule set category
  2. Rule set
  3. Rules
147
Q

What is a Rule Set Category?

A

Collection of Rule Sets for 1) business purpose and 2) Trigger/Event

148
Q

What are 3 types of Rule Set Categories?

A

EventMessage, Preupdate, Validation

149
Q

What is an EventMessage?

A
  • event processing
  • generates messages
  • triggered during save
150
Q

What is a Preupdate?

A
  • performs domain business logic across entities
  • executed before entity is saved
  • triggered during save
151
Q

What is a Validation Rule?

A
  • validation that must occur before being saved
  • ensures data is valid
  • triggered during save
152
Q

What is a Rule Set?

A
  • combines rules into useful set/group

- shares a root entity type

153
Q

How are Gosu Child Rules executed?

A

Only executed if parent condition is true

154
Q

What are 3 ways a Gosu Rule will NOT be executed?

A
  1. Rule condition is false
  2. Rule is deactivated
  3. Parent Rule condition is false
155
Q

Gosu Rule - How to exit rule set?

A

actions.exit()

156
Q

Gosu Rule - How to execute child rules and then exit rule set?

A

actions.exitAfter()

157
Q

Gosu Rule - Skip to next sibling?

A

actions.exitToNextParent()

158
Q

Gosu Rule - Skip to next sibling?

A

actions.exitToNext()

159
Q

What is the difference between “execute all” and “exit after first action” rule set?

A

Exit after - rule set is exited after first true condition and action are exited

160
Q

What is an example of “exit after first action?”

A

Assignment rules - exit after first assignment so it does not get reassigned

161
Q

What is the effect of deactivating a rule?

A

Simply not executed by the rules engine

162
Q

What 4 GW types can be enhanced?

A

Entities
Java Classes
Permissions
SOAP Entities

163
Q

Why use a Gosu Enhancement?

A

Use a Gosu enhancement when subtyping would not be approprirate.

164
Q

What is a getter property in an extension?

What are 4 facts?

A

Used to calculate a value that does not need to be stored in the database.

  1. Not declared in Data Model
  2. Cannot receive input parameters
  3. Only returns data - should not alter data
  4. Must be null-safe
165
Q

What is a setter property on an extension?

What’s an example?

A

Takes a single input value and modifies object.

- example: Height is stored in meter, add setter person.HeightInInches(arg)

166
Q

What is a function?

A
  • set of statements
  • executes logical unit of work
  • receive many parameters
  • optionally return a value
167
Q

When is a Gosu enhancement on a Java type useful?

A
  • does not relate to a specific entity
  • extends the functionality of the base type
  • usually static functions
  • can extend final classes

example - GWBaseIntegerEnhancement

168
Q

When you create a new enhancement, what code does Studio add for you automatically?

A
  • package statement
  • enhancement declaration
  • type reference
169
Q

How do you create an enhancement method that returns no value?

A

Create a method and specify return type void (optional)

170
Q

List Incremental code generators

A
  • PCF files
  • Entities
  • Typelists
  • Permissions
171
Q

List some Bulk code generators

A
  • metadata classes
  • PCF classes
  • Permissions
  • Localization
  • XML Classes
172
Q

What 3 resources result from PCF code generation?

A

.gs file representing the PCF type

.pcfc binary file for new PCF runtime

Expression.gs contains all container and widget expressions

173
Q

What resource is generated from an entity definition?

A

java class

174
Q

What is a breakpoint?

A

A place to suspend execution of code

175
Q

How to show widget types as inline titles?

A

Set using Studio debug options.

176
Q

Where do you debug a PCF Method?

A

In the generated Expression.gs file.

177
Q

Which file type defines a (custom) customer data entity

A

ETX

178
Q

What is the GW naming recommendation for custom entities?

A

Add _Ext to entity name. Do not add to fields.

179
Q

What’s the table prefix for custom entities?

A

pcx_entity_ext, where pc = application name

180
Q

What is the maximum length of an entity table name?

A

25

181
Q

In what 2 cases are entities NOT stored in the database?

A

Virtual entities - created entirely with code and exist at run-time only. GW does not recommend this, generally.

Subtype entities - created in the parent table

182
Q

What is a foreign key?

A
  • pointer to single instance of another entity
183
Q

What is a data model array?

A
  • collection of pointers from one entity to another
  • maintained at run-time
  • requires a reverse foreign key
184
Q

What is a one-to-one relationship?

A
  • single-value association that can only be one-to-one cardinality
  • unlike many-to-one use with foreign keys
  • splits logic across multiple entities (e.g. Contact + Financial Summary)
185
Q

What is required to create a many-to-many relationship?

A
  • a new entity
  • requires a ‘versionable’ type
  • at least two non-nullable foreign keys
  • unique index for all foreign keys

e.g. User <> UserRole <> Role

186
Q

How to configure access to many-to-many relationships?

A

Add array in each entity

e.g. Roles in User, Users in Roles

187
Q

What are circular relationships in the data model?

How are they implemented?

A

When an entity refers to itself. Examples are hierarchical data such as users, groups, etc.

edgeForeignKey

188
Q

What’s the difference between an ETX and ETI file?

A

ETX file extends a base application entity. An ETI defines a new custom entity from scratch.

Entity Type Information
Entity Type eXtension

189
Q

To deploy data model changes, is it required to:

a) regenerate the data dictionary?
b) restart the app server?
c) restart Guidewire Studo

A

a) regenerate the data dictionary?
- no

b) restart the app server?
- yes

c) restart Guidewire Studio
- no

190
Q

What is a List View Panel?

A

A container widget:

  • view info about multiple objects at same time
  • can also edit data displayed
191
Q

What is a Row Iterator?

A

Processes related array and produces row for each entity instance

192
Q

Is the List View’s root object an array?

A

No, but the parent of the array, so that it supports addToXXX and removeFromXXX methods.

193
Q

What are the 4 required properties of a Row Iterator?

A

value - set of elements to process
valueType - type of set e.g. HistoryEnty[]
elementName - variable name of individual elements
editable

194
Q

Can ListViews be reusable? How?

A

Yes, must be defined as a top-level container in a PCF file.

195
Q

What’s the difference between in in-line and externalized ListView?

A

ListViewInput vs PanelRef

196
Q

What 3 things can a toolbar be added to?

A

Screen
Panel Ref
List View Input

197
Q

In a List View:

a) What type of widget displays individual fields of data?
b) What type of widget organizes the individual fields of data?

A

a) cell widgets

b) row widgets

198
Q

Why does a List View require a toolbar, even if read-only?

A

Pagination

199
Q

In Editable List View, when is a Remove button available?

A

1) If action is defined

2) at least one row is selected

200
Q

In Editable List View, when is a new object initialized?

A

When data is entered in the cells.

201
Q

A list view panel with no editable property is _______

A

editable

202
Q

How to make a cell editable?

A

Set row iterator to editable

203
Q

Which buttons are added with an Iterator Buttons widget?

A

Add / Remove

204
Q

What is a typelist?

A

Fixed, predefined list of values.

205
Q

Which typelists do not have physical file definitions?

A

Entity subtypes.

206
Q

What filetype is used for internal typelists

A

TIX

/modules/configuration/config/metadata/typelist

207
Q

Where is the base configuration found?

A

/modules/base.zip

208
Q

What element is used to edfine a typelist on an entity?

A
209
Q

Which typelist folder is read-only?

A

/Metadata

210
Q

What are valid values of a typecode?

A

AlphaNumeric only

211
Q

Which typecode attribute determines order?

A

Priority. After priority, sorted by name.

212
Q

What does a typefilter do?

A

Defines a named subset of typecodes.

213
Q

Why not use browser popups?

A
  • popup blockers
  • ## passing info between windows difficult
214
Q

Popup - how does the parent container become aware of the new object?

A

Popup must commit and return the object to the source container.

215
Q

What are 3 use cases for popups?

A
  1. View/edit existing object
  2. Create new objects
  3. Executing popped searches
216
Q

What happens if a location’s canEdit property evaluates to false?

A

Screen and contents are non-editable.

217
Q

What happens if a location’s canVisit property evaluates to false

A

The widget navigating to the location in not visible or not clickable.

218
Q

What is pattern matching?

A

A field-level validation technique

219
Q

What is a regular expression?

A

An abstract matching pattern

220
Q

What is an input mask?

A

Appears as a watermark in a field. Does not restrict data. Provides a guide.

221
Q

What is a validation expression?

validationExpression

A

Logical Gosu expression associated with a single widget.

  • if null, save is allowed
  • if it returns a string, save is prevented, field is flagged, and a message displayed.
222
Q

How is requestValidationExpression different?

A

Validates user input on update and when navigating to a different page.
- occur with any server call

223
Q

What is a validation rule?

A

Written as a Gosu rule and contain cross-field logic.

224
Q

What are the 3 outcomes of a validation rule?

A
  1. Reject with error
  2. Reject with warning
  3. No rejection
225
Q

When is a validation rule checked?

A

When a Validatable entity is committed to the database?

226
Q

How to configure an entity as Validatable?

A

implementsEntity in ETI/ETX file. Validatable.

227
Q

What is a Delegate?

A

A way to share functionality across unrelated entities.

228
Q

When to use Delegate vs Subtype?

A

When only a small # of fields are shared.

229
Q

What are two examples of a Delegate?

A

Validatable, Assignable

230
Q

What is the triggersValidation attribute?

A

Used to trigger parent validation when a child object is changed.

231
Q

Can input sets contain columns?

A

No

232
Q

What are 3 use cases for an input set?

A
  1. Reuse widgets across panels
  2. Shared logic such as editable and visible
  3. Targeted page update
233
Q

What is an InputSetRef widget?

A

Used to reference a separate, shared, InputSet PCF file.

234
Q

Where is the PCF Format Reference located?

A

/modules/pcf.htm

235
Q

What is dynamic behaviour?

A

Widget property expression valuated on navigation or update.

236
Q

What is a dynamic property

A

While value is changing, property expression is evaluated.

237
Q

What is partial page update: layout re-render?

A

Changes the layout of the screen while data is being changed.

238
Q

Is data committed in a layout re-render?

A

No

239
Q

What is partial page update: data only?

A

Changes values of fields while user interacts. No data committed

240
Q

Name two properties that evaluate expressions.

A
  • editable
  • required
  • visible
  • available
241
Q

How is a partial page update implemented?

A

Enable post on change.

242
Q

What are 3 properties to configure with Post On Change enabled?

A
  • disablePostOnEnter
  • onChange
  • target
243
Q

What does typeof 29 return?

A

java.lang.Integer

244
Q

What is a ClaimCenter transaction?

A

Movement of money into a reserve line or a payment.

245
Q

What is a ClaimCenter incident?

A

Describes damaged or lost property or coverable.

246
Q

What is a PolicyCenter job?

A

Manages a policy transaction which creates or modifies a policy.

247
Q

What is a BillingCenter charge pattern?

A

Used to define billing behaviors for each kind of charge. e.g. installment invoices for premium charges vs. one-time billing for taxes.

248
Q

What is a limitation of relying heavily on subtype hierarchies?

A

Cannot have multiple inheritance.

249
Q

What is a mode?

A

Property used for PCFs to change display based on given business scenario.

250
Q

Name two scenarios which modes might be useful.

A
  1. Different types of contacts

2. Different LOBs

251
Q

What happens if a mode is referenced but doesn’t exist?

A

Default mode is used.