Interface | Description |
---|---|
ClipboardPage |
ClipboardPage provides a common interface to PegaRULES pages.
|
ClipboardProperty |
Represents a single property.
|
ClipboardPropertyCollection |
Collection type specific to the aggregate functions.
|
FilteredClipboardProperty |
Marker interface to assort the Clipboard properties which provide
filtered data of a Clipboard Property.
|
IComparePagesAPI |
Provides constants for use in conjunction with the ComparePages logic.
|
JavaPropertyTransform |
This is the interface to use for building Java Property Transforms.
|
PRObjectWrapper |
Interface used to define methods expected by Java Pages.
|
Class | Description |
---|---|
PRStringFormat |
PRStringFormat contains methods that convert between Java types and
PegaRULES standard String formats used in conjunction with ClipboardProperty
values.
|
Exception | Description |
---|---|
IncompatibleClassException |
Exception thrown by clipboard classes when a method fails because
the two page classes are incompatible.
|
InvalidIdentifierException |
Exception thrown by clipboard classes when a method fails because
an identifier (page name, property name, or group subscript) is not
valid.
|
InvalidParameterException |
Exception thrown by clipboard classes when a method fails because
an identifier (page name, property name, or group subscript) is not
valid.
|
InvalidReferenceException |
Exception thrown by clipboard classes when a method fails because
a property reference is syntactically incorrect.
|
InvalidStreamError |
Exception thrown by clipboard classes when a method fails because
an identifier (page name, property name, or group subscript) is not
valid.
|
InvalidValueException |
Exception thrown by ClipboardProperty when one of the to*() methods fail because
the ClipboardProperty had a value that could not be interpreted as the requested
type.
|
JavaObjectSerializationException |
Exception thrown when a problem is encountered during
serialization/deserialization of Java Object values.
|
LightweightPropertyException |
Exception thrown by clipboard classes when a method fails due to a
method requiring or disallowing Lightweight Properties.
|
LoadOnlyException |
Exception thrown by clipboard classes when a method fails because
the page is defined as Load Only.
|
NoSuchParentForReferenceException |
Exception thrown by clipboard classes when a method fails because
a syntactically correct reference to a parent property did not resolve
to anything.
|
NoSuchReferenceException |
Exception thrown by clipboard classes when a method fails because
a syntactically correct property reference did not resolve
to anything.
|
PegaArchiveException |
Exception thrown by PegaArchive classes when a method fails because
it is unable to read from or write to the archive.
|
PRDataPagePoolException |
Exception class related to Data Page Pool.
|
PRDeclarePageException |
Generic Exception thrown by DeclarePage classes.
|
PRDeclarePageInvalidAccessException |
Exception thrown by clipboard classes when a declarative page
that is a used by Auto-Populate properties is accessed outside
the auto-populate property itself.
|
PRDeclarePageLoadException |
Exception thrown when declare page load has a problem.
|
PRObjectWrapperException |
PRObjectWrapperException is thrown when the wrapper generator is
asked to generate a class not that appears to be a custom wrapper.
|
ReadOnlyException |
Exception thrown by clipboard classes when a method fails because
the page is defined as Read Only.
|
StalePropertyReferenceException |
Exception thrown by clipboard classes when a method fails because
a clipboard page or property's contents have been deleted
(typically as a result of a call to removeFromClipboard).
|
UnmodifiablePropertyException |
Exception thrown by clipboard classes when a method fails because
the a property is unmodifiable.
|
VirtualPropertyException |
Exception thrown when a problem is encountered during
usage of virtual clipboard properties, which are based on
references to a database row set.
|
WrongModeException |
Exception thrown by clipboard classes when a method fails because
the mode of a property does not support the operation using the
given parameters.
|
Pages consist of a set of named properties each of which may contain a value. The kind of data that a property may contain is defined by its mode. The most basic values a property can contain are strings and pages. Properties can also contain aggregates: lists and groups. Lists are ordered collections of a specific kind of value. Thus, a list property can be of mode string list or page list. The other aggregate is the group. A group is a set of named properties that all have the same mode. A string group can contain only string properties, while a page group can contain only page properties.
There is a third kind of basic value a property may have: java object. Java object values can consist of any kind of Java object. Unlike String or Page, properties cannot be defined by the dictionary to be of mode Java Object. It is a mode used only internally. Java Object lists and groups may also be created. Java object values cannot be serialized to XML or storage stream forms; they are internal to the engine and only present in memory.
A property that contains a page is the page's parent. A property that is contained in a page is the page's child.
The clipboard is a repository for pages. A page on the clipboard always has a name and is not contained by a property. Such pages are sometimes referred to as User Named Pages. Other pages don't themselves have names-they are referred to by their parent property.
The clipboard is segmented into three levels of visibility. At the node level, all users in the same system node have visibility to the pages. At the requestor level, all threads in a the requestor (one user's session) have visibility to the pages. At the thread level, only the owning thread has visibility to the pages. The vast majority of pages are at the thread level.
Property and page names (identifiers) have some basic rules and guidelines. Identifiers created and used by the system may have prefixes. Identifiers that are prefixed with pz are created and maintained by the system and cannot be modified by users. The prefix px indicates a reserved page or property that should not be modified except by the system. Finally, py indicates a property that may be modified by anyone. A prefix is not required for public pages or properties.
Every page is an instance of an object. Most objects have a class defined by a Rule-Obj-Class instance. All classed pages have a property named pxObjClass which contains the name of the class (a key to Rule-Obj-Class).
Pages and properties may have messages attached to them. A message typically gives details on a problem with the page or property, such as the reason why it is invalid.
ImmutablePropertyInfo.MODE_UNKNOWN
ImmutablePropertyInfo.MODE_JAVAOBJECT
ImmutablePropertyInfo.MODE_JAVAOBJECT_LIST
ImmutablePropertyInfo.MODE_JAVAOBJECT_GROUP
ImmutablePropertyInfo.MODE_JAVAPROPERTY
ImmutablePropertyInfo.MODE_JAVAPROPERTY_LIST
ImmutablePropertyInfo.MODE_STRING
ImmutablePropertyInfo.MODE_STRING_LIST
ImmutablePropertyInfo.MODE_STRING_GROUP
ImmutablePropertyInfo.MODE_PAGE
ImmutablePropertyInfo.MODE_PAGE_LIST
ImmutablePropertyInfo.MODE_PAGE_GROUP
ImmutablePropertyInfo.TYPE_UNKNOWN
ImmutablePropertyInfo.TYPE_FREEFORM
ImmutablePropertyInfo.TYPE_TEXT
ImmutablePropertyInfo.TYPE_IDENTIFIER
ImmutablePropertyInfo.TYPE_PASSWORD
ImmutablePropertyInfo.TYPE_DATETIME
ImmutablePropertyInfo.TYPE_DATE
ImmutablePropertyInfo.TYPE_TIMEOFDAY
ImmutablePropertyInfo.TYPE_TRUEFALSE
ImmutablePropertyInfo.TYPE_NUMBER
ImmutablePropertyInfo.TYPE_DECIMAL
ImmutablePropertyInfo.TYPE_AMOUNT
ImmutablePropertyInfo.TYPE_TOPLEVEL_PAGE
ImmutablePropertyInfo.TYPE_INCLUDED_PAGE
ImmutablePropertyInfo.TYPE_DISTINCT_PAGE
Each element of a reference is separated from the rest with periods. If a reference does not start with a period, it is an absolute reference. The first element of the reference is the name of a page on the clipboard. If the first element is empty (the reference starts with a period), then the reference is relative to a provided page.
Elements after the first are all property names. Property names may have a subscript enclosed in parentheses. A numeric subscript indicates that the property is a list. Otherwise it is a group.
All properties in a reference must contain a page value. This means that any lists or groups in the reference must be Page Lists or Page Groups. The only exception is the final property, which may have any mode.
Some examples:
CustomerPage.pyAddresses(Home).pyCity
InvoicePage.ItemList(3).Cost
.ColorList(6)
CustomerPage
must be the name of a page on the clipboard.
pyAddresses
must be a Page Group property on CustomerPage
with a Home
member.
The page contained in pyAddress(Home)
must contain a property named pyCity
.
pyCity
can be of any mode (string, page, string list, java object, etc).
Example 2) shows the use of a Page List property named ItemList
.
Example 3) shows a relative reference. ColorList
is a list property.
Since it is the final property, we can't tell just what kind of list from the
reference. In addition, since this is a relative reference, the user must
specify a page when resolving it.
Copyright © 2018 Pegasystems Inc. All Rights Reserved.