First Previous Next Last

Rules Guide  

Contents

About This Book

Purpose
Audience
Prerequisites
Organization

Part I    Concepts

Chapter 1    About Rules

About the Rule subsystem
What is a rule?
Rule Editor features
Rule API
Why use rules?
Planning a rules-based application
Design guidelines

Chapter 2    Rule Development Basics

How rules work
Rule samples
Working with conditions and actions
Using whiteboard values
Accessing and firing rules
Methods for firing rules
Firing rules from the context object
Firing rules from a rule manager
Firing rules from a JSP page
Firing temporary rules
Handling the result of a rule
Context methods for accessing HTTP response values
Context methods for accessing the whiteboard
Examples of handling return values
Using pipelines
Benefits of pipelines
How pipelines work
Validating a pipeline

Chapter 3    Developing Custom Conditions and Actions

About custom conditions and actions
Designing a condition or action
Defining logic
Defining logic for a condition
Defining logic for an action
Defining a condition or action rule descriptor
Defining properties
Defining JavaBeans
Defining runtime properties
Using generic property panels
Creating a custom property panel
Writing a BeanInfo class
Using resource bundles

Part II    Tools

Chapter 4    Rule and Macro Editors

Accessing the Rule Editor
About the rule tree view
Naming a rule
Using conditions
Editing and deleting conditions
Deactivating a condition
Using actions
Editing and deleting actions
Deactivating an action
Using cases
Adding case descriptions
Using other case commands
Testing, editing, and saving rules
Testing rules
Saving and editing rules
Working with condition and action macros
Using condition macros
Using action macros

Chapter 5    Condition and Action Wizards

Creating conditions and actions
Using the code templates
Condition template
Action template
About the template methods
About condition and action properties
Using custom conditions and actions
Deploying support files

Chapter 6    Pipeline and Binding Editors

How to set up a pipeline
Creating and editing a pipeline
Editing a pipeline
Binding rules to a user, group, or pipeline
Creating a rule binding
Editing a rule binding

Part III    Reference

Chapter 7    Installed Conditions

Condition definitions
Check Component Parameter
Check Date
Check Date Within Range
Check Day
Check For Cookie
Check Month
Check Request Data
Check Time
Check User
Check User Group
Check User Property
Check Whiteboard
Check Whiteboard Value
Check Whiteboard Value Is Empty
Check Workitem Value
Default
Is Form Get Data Available
Is New Session
Save Cookies To Whiteboard
Save Form Get Data To Whiteboard
Save Request Data To Whiteboard
Set Action Off
Set Action On
Set Action On Or Off
SQL Check For Column
SQL String

Chapter 8    Installed Actions

Accessing condition and action sources
Properties that support the !valueOf template
Properties that support database drivers and URLs
Action definitions
Add
Add Eraser
Calculate Age
Clear Request Data From Whiteboard
Create Collection Of Objects From SQL
Default
Delete Cookie
Deny Access
Display Component
Display Cookies
Display Request Headers
Display Whiteboard
Divide
Drop Cookie User ID
Fire Rule
Flush
Format Date
Get Cookie Value
Get User Property
Log User Off
Multiply
Query
Remove From Whiteboard
Return As Decimal Format
Return As Html Body
Return As Html Bold
Return As Html Break
Return As Html Checkbox
Return As Html File Upload
Return As Html Hidden Field
Return As Html JavaScript
Return As Html Option List
Return As Html Password
Return As Html Radio Button
Return As Html Reset Button
Return As Html Scripted Button
Return As Html Submit Button
Return As Html Table
Return As Html Text Area
Return As Html Text Field
Return As XML
Return Authentication Required
Return False
Return Response
Return Response With Default
Return True
Save Cookies To Whiteboard
Save Form Get Data To Whiteboard
Save Request Data To Whiteboard
Save To Whiteboard
Send Mailer SMTP
Set Component Parameter
Set Cookie Value
Set Date On Whiteboard
Set Expired
Set Next Activity
Set Pipeline Status
Set Response Header
Set Response Status
Set User Property
Set Workitem Priority
Set Workitem Value
SQL Hierarchy
SQL String
Stop Rule Processing
Subtract

Chapter 9    Rule JSP Tag Library

doAction
doCondition
conditionalRule
fireRule
    First Previous Next Last

Rules Guide  

Copyright © 2002, SilverStream Software, LLC, a wholly owned subsidiary of Novell, Inc. All rights reserved.