Oracle Data-aware Controls Reference

oracle.dacf.control
Interface LOVInterface


public interface LOVInterface

defines the LOV interface

Version:
Internal

Method Summary
 void executeReturnItems()
          execute return items
 boolean getAutomaticRefresh()
          Return if the LOV has been configured to refresh before displaying
 java.lang.String getDataItemName()
          Return the data item name to which we are currently bound to
 java.lang.Object[] getReturnItems()
          get Return items in use.
 java.lang.String getTitle()
          get title for the LOV dialog
 void runQuery(boolean bIgnoreQueryCondition)
          run the query.
 void setAutomaticRefresh(boolean bRefresh)
          determines if the dataset has to be Queried before displaying the LOV
 void setDataItemName(java.lang.String dataItemName)
          specify a InfoBus based dataset.
 void setLocation(int x, int y)
          set Location for the dialog
 void setRestrictedQuery(java.lang.String dataItemName, java.lang.Object value)
          define a restricted query ( a column value pair)
 void setReturnItems(java.lang.Object[] returnItems)
          specify return items for the query
 void setSize(int w, int h)
          set size for the dialog
 void setTitle(java.lang.String title)
          specify title for the LOV dialog
 void show()
          display the LOV Dialog
 void validate(java.lang.String columnName, java.lang.Object value)
          validate the data item.
 

Method Detail

show

public void show()
display the LOV Dialog


setTitle

public void setTitle(java.lang.String title)
specify title for the LOV dialog


getTitle

public java.lang.String getTitle()
get title for the LOV dialog


setLocation

public void setLocation(int x,
                        int y)
set Location for the dialog


setSize

public void setSize(int w,
                    int h)
set size for the dialog


setDataItemName

public void setDataItemName(java.lang.String dataItemName)
specify a InfoBus based dataset. Specify a data item name

Parameters:
dataItemName - - data item name to bind to

getDataItemName

public java.lang.String getDataItemName()
Return the data item name to which we are currently bound to


setAutomaticRefresh

public void setAutomaticRefresh(boolean bRefresh)
determines if the dataset has to be Queried before displaying the LOV

Parameters:
bRefresh - boolean value to indicate if refresh should occur or not

getAutomaticRefresh

public boolean getAutomaticRefresh()
Return if the LOV has been configured to refresh before displaying


setReturnItems

public void setReturnItems(java.lang.Object[] returnItems)
specify return items for the query


getReturnItems

public java.lang.Object[] getReturnItems()
get Return items in use.


setRestrictedQuery

public void setRestrictedQuery(java.lang.String dataItemName,
                               java.lang.Object value)
define a restricted query ( a column value pair)


runQuery

public void runQuery(boolean bIgnoreQueryCondition)
run the query.


executeReturnItems

public void executeReturnItems()
execute return items


validate

public void validate(java.lang.String columnName,
                     java.lang.Object value)
              throws ValidationException
validate the data item. Users may catch the Validation Exception and pop the LovDialog.

Parameters:
columnName - - name of the column to validate
value - - value to be validated
Throws:
ValidationException

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.