Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

oracle.apps.fnd.applcore.dt.patterns.binding.validator
Class DialogDetailsColumnValidator

java.lang.Object
  extended by oracle.apps.fnd.applcore.dt.patterns.binding.validator.DialogDetailsColumnValidator
All Implemented Interfaces:
oracle.adfdt.view.common.binding.creator.InsertionValidator

public class DialogDetailsColumnValidator
extends java.lang.Object
implements oracle.adfdt.view.common.binding.creator.InsertionValidator

A validator for column binding types. This class is called as a callback when a drag is initiated from the data control pallette, and it determines whether a particular node is a valid drop target. Basing on the fact that there would be only one dialog details column in a table. This is the case when dropped on a table column.

Author:
Pallavi Palparthy <pallavi.palparthy@oracle.com>

Constructor Summary
DialogDetailsColumnValidator()
           
 
Method Summary
static boolean isTable(org.w3c.dom.Node node)
          Does this Node represent a table jsf element.
 boolean supportsCreate(org.w3c.dom.Node insertParent)
          Method to iterate through the parent node, that would be a table to check and see if an attachments column is already present, if yes, it makes an invalid drop.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogDetailsColumnValidator

public DialogDetailsColumnValidator()
Method Detail

supportsCreate

public boolean supportsCreate(org.w3c.dom.Node insertParent)
Method to iterate through the parent node, that would be a table to check and see if an attachments column is already present, if yes, it makes an invalid drop.

Specified by:
supportsCreate in interface oracle.adfdt.view.common.binding.creator.InsertionValidator
Parameters:
insertParent - parent node
Returns:
if the column type should be displayed

isTable

public static boolean isTable(org.w3c.dom.Node node)
Does this Node represent a table jsf element.

Parameters:
node - node to test
Returns:
true if a table, false otherwise.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.