Oracle Workflow Guide
Release 2.6.2

Part Number A95265-03
  Go to previous page Go to next page       Go To Table Of Contents Go To Index Go To Table Of Contents

                     Contents  Index  Glossary Master Index Feedback
 

GetAttrInfo

PL/SQL Syntax

procedure GetAttrInfo

(nid in number,
aname in varchar2,
atype out varchar2,
subtype out varchar2,
format out varchar2);

Java Syntax

public static WFTwoDataSource getAttrInfo

 (WFContext wCtx,
BigDecimal nid,
String aName)

Description

Returns information about a notification attribute, such as its type, subtype, and format, if any is specified. The subtype is always SEND or RESPOND to indicate the attribute's source.

Arguments (input)

wCtx Workflow context information. Required for the Java method only. See: Oracle Workflow Context.
nid The notification id.
aname The attribute name.
Example

The following code excerpt shows an example of how to call getAttrInfo() in a Java program. The example code is from the WFTest.java program.

dataSource = WFNotificationAPI.getAttrInfo(ctx, myNid,
myAttr);
displayDataSource(ctx, dataSource);
// the first element is the attribute type
myAttrType = (String) dataSource.getData(0,0);
 
         Previous  Next          Contents  Index  Glossary


Oracle
Copyright © 1996, 2002 Oracle Corporation.

All Rights Reserved.