Oracle Fusion Middleware extensions for Enterprise Scheduler Service
11g Release 1 (11.1.1.5)

E22563-01

oracle.apps.fnd.applcp.monitor.ui.bean
Class MonitorProcessesPageDef

java.lang.Object
  extended by oracle.apps.fnd.applcp.monitor.ui.bean.MonitorProcessesPageDef
All Implemented Interfaces:
java.io.Serializable

public class MonitorProcessesPageDef
extends java.lang.Object
implements java.io.Serializable

A simple bean that manages the various definition objects that are used on a page and specifically by the query component. For e.g.,

See Also:
Serialized Form

Nested Class Summary
 class MonitorProcessesPageDef.AttributeDef
          Represents the definition of a single attribute on a page - type, label, format etc.
static class MonitorProcessesPageDef.OperatorDef
          List of all available operators.
 class MonitorProcessesPageDef.SavedSearchDef
          Represents the definition for a saved search and contains a list of DemoSearchFieldDef objects, each DemoSearchFieldDef being a kind of DemoAttributeDef.
 class MonitorProcessesPageDef.SearchFieldDef
          DemoSearchFieldDef represents a search field that embellishes an attributeDef by providing info such as the default operator to use for the attribute when it is used is a search criteria etc.
 
Constructor Summary
MonitorProcessesPageDef()
           
 
Method Summary
 MonitorProcessesPageDef.AttributeDef addAttributeDef(java.lang.String name, java.lang.String label, java.lang.Class dataType, oracle.adf.view.rich.model.AttributeDescriptor.ComponentType componentType, boolean isLOV, java.lang.Object[] lovValues, boolean isMandatory, boolean isUpdateable)
          Adds an attribute definition.
 MonitorProcessesPageDef.AttributeDef addAttributeDef(java.lang.String name, java.lang.String label, java.lang.String description, java.lang.Class dataType, oracle.adf.view.rich.model.AttributeDescriptor.ComponentType componentType, boolean isLOV, java.lang.Object[] lovValues, boolean isMandatory, boolean isUpdateable, boolean isIndexed)
          Adds an attribute definition.
 MonitorProcessesPageDef.SavedSearchDef addSavedSearchDef(java.lang.String name, boolean autoExecute, oracle.adf.view.rich.model.QueryDescriptor.QueryMode mode, boolean saveResultsLayout, boolean showInList, boolean readOnly)
          Creates and returns a new DemoSavedSearchDef object.
 MonitorProcessesPageDef.SavedSearchDef cloneSavedSearchDef(java.lang.String name, MonitorProcessesPageDef.SavedSearchDef savedSearchDef)
          Clones the savedSearchDef into a new definition.
 MonitorProcessesPageDef.AttributeDef getAttributeDescriptor(java.lang.String attrName)
          Gets the AttributeDescriptor object by its name.
 java.util.List<MonitorProcessesPageDef.AttributeDef> getAttributeDescriptors()
          Gets the AttributeDescriptor objects by its name.
static java.util.Map<java.lang.String,MonitorProcessesPageDef.AttributeDef> getAttributes()
           
 void setDateTimeFormatter(java.text.SimpleDateFormat formatter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitorProcessesPageDef

public MonitorProcessesPageDef()
Method Detail

setDateTimeFormatter

public void setDateTimeFormatter(java.text.SimpleDateFormat formatter)

addAttributeDef

public MonitorProcessesPageDef.AttributeDef addAttributeDef(java.lang.String name,
                                                            java.lang.String label,
                                                            java.lang.Class dataType,
                                                            oracle.adf.view.rich.model.AttributeDescriptor.ComponentType componentType,
                                                            boolean isLOV,
                                                            java.lang.Object[] lovValues,
                                                            boolean isMandatory,
                                                            boolean isUpdateable)
Adds an attribute definition. This method should be called once for a page as it represents an attribute defintion. Also is an AttributeDef with the same name is found, it will be deleted and a new AttributeDef created.

Parameters:
name -
label -
dataType -
componentType -
isLOV -
lovValues - an Object[] of values based on its type. IOW, if type is String, it's a String[], date type is a Date[], number type is a Number[]
isMandatory -
isUpdateable -
Returns:

addAttributeDef

public MonitorProcessesPageDef.AttributeDef addAttributeDef(java.lang.String name,
                                                            java.lang.String label,
                                                            java.lang.String description,
                                                            java.lang.Class dataType,
                                                            oracle.adf.view.rich.model.AttributeDescriptor.ComponentType componentType,
                                                            boolean isLOV,
                                                            java.lang.Object[] lovValues,
                                                            boolean isMandatory,
                                                            boolean isUpdateable,
                                                            boolean isIndexed)
Adds an attribute definition. This method should be called once for a page as it represents an attribute defintion. Also is an AttributeDef with the same name is found, it will be deleted and a new AttributeDef created.

Parameters:
name -
label -
description -
dataType -
componentType -
isLOV -
lovValues - an Object[] of values based on its type. IOW, if type is String, it's a String[], date type is a Date[], number type is a Number[]
isMandatory -
isUpdateable -
isIndexed - if it is an indexed field
Returns:

addSavedSearchDef

public MonitorProcessesPageDef.SavedSearchDef addSavedSearchDef(java.lang.String name,
                                                                boolean autoExecute,
                                                                oracle.adf.view.rich.model.QueryDescriptor.QueryMode mode,
                                                                boolean saveResultsLayout,
                                                                boolean showInList,
                                                                boolean readOnly)
Creates and returns a new DemoSavedSearchDef object. A valid name is expected.

Parameters:
name -
autoExecute -
mode -
saveResultsLayout -
showInList -
readOnly -
Returns:

cloneSavedSearchDef

public MonitorProcessesPageDef.SavedSearchDef cloneSavedSearchDef(java.lang.String name,
                                                                  MonitorProcessesPageDef.SavedSearchDef savedSearchDef)
Clones the savedSearchDef into a new definition. Adds all its search fields to the new one. Its values become the clone's default values. Cloning a saved search always makes it editable.

Parameters:
name -
savedSearchDef -
Returns:

getAttributeDescriptor

public MonitorProcessesPageDef.AttributeDef getAttributeDescriptor(java.lang.String attrName)
Gets the AttributeDescriptor object by its name.

Parameters:
attrName -
Returns:

getAttributeDescriptors

public java.util.List<MonitorProcessesPageDef.AttributeDef> getAttributeDescriptors()
Gets the AttributeDescriptor objects by its name.

Returns:

getAttributes

public static java.util.Map<java.lang.String,MonitorProcessesPageDef.AttributeDef> getAttributes()

Oracle Fusion Middleware extensions for Enterprise Scheduler Service
11g Release 1 (11.1.1.5)

E22563-01

Copyright © 2011 Oracle. All Rights Reserved.