Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center
11g Release 1 (11.1.1.7.0)
E14128-06

oracle.alm.connector.model
Interface WorkItemFieldFeature


public interface WorkItemFieldFeature

The WorkItemFieldFeature interface defines APIs that provide work item field specific operator set, URL to use, and default operator.

WorkItemFieldFeature interface supersedes the WorkItemWebReference and should be used in any new connector development.

Since:
11.1.1.1.0

Method Summary
 java.lang.String getDefaultOperator(java.lang.String fieldName)
          Retrieves the default operator to use
 java.util.Map<java.lang.String,java.lang.String> getOperators(java.lang.String fieldName)
          Retrieves the operators to use for the specified field name
 java.net.URL getURL(java.util.Map session, java.lang.String fieldName, java.lang.Object fieldValue, WorkItem workitem)
          Retrieves the URL to use for the specified field
 

Method Detail

getURL

java.net.URL getURL(java.util.Map session,
                    java.lang.String fieldName,
                    java.lang.Object fieldValue,
                    WorkItem workitem)
Retrieves the URL to use for the specified field

Parameters:
session - the current connector session context
fieldName - the Work item field name
fieldValue - the passed value for the work item field
workitem - the passed work item object
Returns:
The URL to use for the specified field

getOperators

java.util.Map<java.lang.String,java.lang.String> getOperators(java.lang.String fieldName)
Retrieves the operators to use for the specified field name

Parameters:
fieldName -
Returns:
A map that contains the operator list

getDefaultOperator

java.lang.String getDefaultOperator(java.lang.String fieldName)
Retrieves the default operator to use

Parameters:
fieldName -
Returns:
the default operator

Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center
11g Release 1 (11.1.1.7.0)
E14128-06

Copyright © 1999, 2013, Oracle. All rights reserved.