public interface StreamBuilderToolKit extends PublicAPI
StreamBuilderToolKit
interface identifies the functionality
available to support the generation of a defined stream, using First-Use
Assembled Java.Type | Property and Description |
---|---|
boolean |
includeShowDeclarative
Deprecated.
use
PegaStreamAPI.isShowMeDeclarativeEnabled() instead |
boolean |
includeShow
Deprecated.
use
PegaStreamAPI.isShowMePropertyEnabled() instead |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
void |
appendCSF(java.lang.String aSource)
Applies StringUtils.crossScriptingFilter() to aSource and adds the
result to the generated stream.
|
void |
appendFormatted(java.lang.String aSource,
byte aFormat)
Applies indicated formatting to specified string and adds result to
generated stream.
|
void |
appendParamCSF(java.lang.String aSource)
Applies StringUtils.crossScriptingFilter() to
tools.getParamValue(aSource) and adds the
result to the generated stream.
|
void |
appendProperty(ClipboardProperty aProperty,
java.lang.String aStreamSpec,
boolean aWantInput)
Adds indicated Rule-HTML-Property display for specified property
instance to generated stream.
|
void |
appendStream(StringMap aKeys)
Adds specified, separately defined, stream to generated stream.
|
void |
appendStream(StringMap aKeys,
ParameterPage aParamPage)
Adds specified, separately defined, stream to generated stream.
|
void |
appendString(java.lang.String aSource)
Adds specified content to generated stream.
|
void |
appendURL(java.lang.String aURL)
Adds specified URL to the stream, possibly modified to support the
directed-work security requirements.
|
void |
disableInput()
Specifies that input is disabled for the remainder of the stream.
|
ClipboardProperty |
getActive()
Identifies the current active property.
|
java.lang.String |
getActiveName()
Identifies the entry handle for the current active property.
|
java.lang.String |
getActiveValue()
Identifies the value of the current active property.
|
java.lang.String |
getCurrentStream()
Returns the value of the stream, and cleans up the builder object
|
java.lang.String |
getEntryHandle(java.lang.String aReference)
Get an entry handle for a property reference.
|
java.lang.String |
getOpposite(java.lang.String aValue)
Identifies the 'opposite' of a specified
String value, used
when a CheckBox becomes unchecked. |
java.lang.String |
getParamValueCSF(java.lang.String aSource)
Returns the value the specified parameter after applying the
cross-site scripting filter.
|
java.lang.String |
getSaveValue(java.lang.String aName)
Identifies the value most recently associated with the specified name (by
a
SAVE directive). |
java.lang.String |
getTargetName()
Identifies the value to use for the NAME attribute of HTML StartTags:
the entry handle for a target property or the name of a target parameter.
|
java.lang.String |
getTargetValue()
Identifies the value of the current target reference.
|
boolean |
hasEditableEnabled() |
boolean |
hasInputEnabled()
Indicates whether input is enabled for this HTML stream.
|
boolean |
includeShowDeclarativeProperty()
Deprecated.
use
PegaStreamAPI.isShowMeDeclarativeEnabled() instead |
boolean |
includeShowMe()
Deprecated.
use
PegaStreamAPI.isShowMeInsertEnabled() instead |
boolean |
includeShowProperty()
Deprecated.
use
PegaStreamAPI.isShowMePropertyEnabled() instead |
ClipboardProperty |
putActive(ClipboardProperty aNewActive)
Establishes the specified instance as the new active property.
|
void |
putSaveValue(java.lang.String aName,
java.lang.String aValue)
Establishes an association between the specified value and the specified
name.
|
void |
putTarget(java.lang.Object aTarget)
Establishes or clears the target reference.
|
java.lang.String |
returnFormatted(java.lang.String aSource,
byte aFormat)
Used by tag library implementations to format a reference
string using the format specified by the input paramter.
|
void |
setEditable(boolean bEditable) |
void |
setInput(boolean aInput)
Sets the input for the remainder of the stream
|
void |
setShowProperty(boolean aValue)
Deprecated.
use
PegaStreamAPI.enableShowMeProperty(boolean) instead |
java.lang.String |
thisSubscript() |
boolean |
useModeInput()
Indicates whether the input-mode display has been requested for the
active property and is appropriate.
|
applyCollection, applyModel, applyModel, checkCachingHeaders, closeHTMLDoc, createPage, doAction, doActivity, editInput, editValidate, entryHandle2Reference, eTagMatches, evaluateWhen, findPage, findPage, findPage, findPage, findPageByHandle, findPageWithException, formatMessage, generateAgentDataPage, getActivityClassName, getActivityStatus, getAgentUtils, getAliasValue, getAliasValue, getAliasValue, getAuthorizationHandle, getCSRFSessionToken, getDatabase, getDateTimeUtils, getDictionary, getEFormUtils, getIfPresent, getImplementation, getInfEngUtils, getLocalizedText, getLocalizedTextForParameterizedString, getLocalizedTextForString, getLocalizedTextForString, getLocalizedTextForString, getLocalizedTextForString, getMetadata, getObfuscationKey, getPAL, getParamAsBigDecimal, getParamAsBoolean, getParamAsDate, getParamAsDouble, getParamAsInteger, getParamCSF, getParameterPage, getParamValue, getParseState, getParseState, getParseUtils, getPDFUtils, getPRCrypto, getPrimaryPage, getProperty, getRequestor, getRuleMessage, getRuleMessage, getRuleSecurityMode, getServiceUtils, getStackFrame, getStepPage, getStepStatus, getStream, getStream, getStructuredUtils, getSystemSettings, getThread, getTracerUserWatchList, getXMLUtils, hasIfNoneMatch, hasImplicitPrivilege, hasImplicitPrivilege, interpretBoolean, isAsciiEncodable, isCSRFMitigationEnabled, isFirstActivity, isNotModifiedSet, isValidDataPage, openHTMLDoc, preventStaleHTTPRequestProcessing, putParamValue, putParamValue, putParamValue, putParamValue, putParamValue, putParamValue, putParamValue, putParamValue, putParamValue, putParamValue, putParamValue, putParamValue, putParamValue, putParamValue, putParamValue, putParamValue, putParamValue, putParamValue, putParamValue, removeDataPage, removeDataPage, resetNotModified, sendFile, sendFile, sendFile, sendFile, sendFile, sendHTTPRedirect, setCachingHeaders, setETag, setNotModified, setNotModified
true
when 'Show-Property' mode is enabledtrue
when 'Show-Property' mode is enabledstatic final java.lang.String VERSION
static final java.lang.String COPYRIGHT
void appendString(java.lang.String aSource)
aSource
- content to add to streamvoid appendFormatted(java.lang.String aSource, byte aFormat)
aSource
- string to be formattedaFormat
- indicates desired formatting, must be one of:
void appendCSF(java.lang.String aSource)
aSource
- string to be filteredvoid appendParamCSF(java.lang.String aSource)
aSource
- name of parameter whose value is to be filteredvoid appendStream(StringMap aKeys)
aKeys
- identifies stream definition to add.void appendStream(StringMap aKeys, ParameterPage aParamPage)
aKeys
- identifies stream definition to add.aParamPage
- new parameter page to use during executionvoid appendProperty(ClipboardProperty aProperty, java.lang.String aStreamSpec, boolean aWantInput)
aProperty
- property instance to be displayedaStreamSpec
- optional Rule-HTML-Property specification. The
instance identified by the corresponding Rule-Obj-Property instance is
used if not explicitly overridden here.aWantInput
- identifies whether the $MODE-INPUT
form
of the display is requestedvoid appendURL(java.lang.String aURL)
aURL
- the URLClipboardProperty putActive(ClipboardProperty aNewActive)
aNewActive
- new active propertyClipboardProperty getActive()
java.lang.String getActiveName()
java.lang.String getActiveValue()
java.lang.String getCurrentStream()
java.lang.String getParamValueCSF(java.lang.String aSource)
aSource
- name of parameter to returnvoid putTarget(java.lang.Object aTarget)
null
target may not be specified when the current target is non-null
.aTarget
- target reference; must be one of:
ClipboardProperty
instance -- the target property;
must be scalarString
instance -- name of the target parameternull
-- clear the target referencejava.lang.String getTargetName()
java.lang.String getTargetValue()
void putSaveValue(java.lang.String aName, java.lang.String aValue)
aName
- name with which the specified value is to be associatedaValue
- value to be associated with the specified nameboolean hasEditableEnabled()
void setEditable(boolean bEditable)
java.lang.String getSaveValue(java.lang.String aName)
SAVE
directive).aName
- name whose associated value is desiredString
if no association has been made for this nameboolean hasInputEnabled()
true
when input is enabled for this streamvoid disableInput()
void setInput(boolean aInput)
aInput
- boolean useModeInput()
true
when the input-mode display has been requestedboolean includeShowMe()
PegaStreamAPI.isShowMeInsertEnabled()
insteadtrue
when 'Show-Me' mode is enabledboolean includeShowProperty()
PegaStreamAPI.isShowMePropertyEnabled()
insteadtrue
when 'Show-Property' mode is enabledvoid setShowProperty(boolean aValue)
PegaStreamAPI.enableShowMeProperty(boolean)
insteadaValue
- true or false value of the 'Show-Property' flag.boolean includeShowDeclarativeProperty()
PegaStreamAPI.isShowMeDeclarativeEnabled()
insteadtrue
when 'Show-Property' mode is enabledjava.lang.String getOpposite(java.lang.String aValue)
String
value, used
when a CheckBox becomes unchecked.aValue
- value of a type=checkbox input tagjava.lang.String returnFormatted(java.lang.String aSource, byte aFormat)
aSource
- the string to formataFormat
- the formatjava.lang.String thisSubscript()
java.lang.String getEntryHandle(java.lang.String aReference)
aReference
- Copyright © 2015 Pegasystems Inc. All Rights Reserved.