Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.trees.ui.managed
Class CommonTreeRangeModel

java.lang.Object
  extended by org.apache.myfaces.trinidad.model.BoundedRangeModel
      extended by oracle.apps.fnd.applcore.trees.ui.managed.CommonTreeRangeModel
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AuditRangeModel, FlatteningRangeModel

public class CommonTreeRangeModel
extends org.apache.myfaces.trinidad.model.BoundedRangeModel
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  java.lang.Boolean _isProcessing
           
protected  java.lang.Boolean _isValidating
           
protected  int currentPercentage
           
protected  int END_PERCENTAGE
           
protected  boolean error
           
protected  int finishedCount
           
protected  int MAX_PERCENTAGE
           
protected static java.lang.String POLL_STATUS_CONFIRM
           
protected static java.lang.String POLL_STATUS_ERROR
           
protected static java.lang.String POLL_STATUS_PROCESS
           
protected static java.lang.String POLL_STATUS_WARN
           
protected  java.lang.String pollStatus
           
protected  int START_PERCENTAGE
           
protected  int totalCount
           
 
Constructor Summary
CommonTreeRangeModel()
           
 
Method Summary
 void addLogMessage(java.lang.String logMessage)
           
protected  void addToCount()
           
 int getInterval()
          Gets the current value for the polling interval
 java.util.ArrayList<java.lang.String> getLogMessage()
           
 long getMaximum()
          Gets maximum value of the Progress Indicator
protected  java.lang.String getMlsString(java.lang.String key)
           
 java.lang.String getPollIcon()
           
 java.lang.String getPollIndicator()
           
 java.lang.String getPollMessage()
          Gets the current polling message
 java.lang.String getPollTitle()
           
 long getValue()
          Gets initial value of the Progress Indicator
 boolean isProcessing()
          Returns true if current status is Processing.
protected  void logThrowable(java.lang.Throwable t)
           
protected  void processError(java.lang.String errMsg)
           
protected  void processError(java.lang.Throwable throwable)
           
 void processPoll(org.apache.myfaces.trinidad.event.PollEvent env)
          Checks to see if validators processed to update the popup diaglog title.
 void setInterval(int interval)
          Sets the polling interval
 void setPollIcon(java.lang.String pollIcon)
           
 void setPollMessage(java.lang.String pollMessage)
          Sets the polling message
protected  void setPollStatus(java.lang.String stateStatus)
           
 void setPollTitle(java.lang.String pollTitle)
           
protected  java.lang.String stopPoll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_PERCENTAGE

protected final int MAX_PERCENTAGE
See Also:
Constant Field Values

currentPercentage

protected int currentPercentage

START_PERCENTAGE

protected final int START_PERCENTAGE
See Also:
Constant Field Values

END_PERCENTAGE

protected final int END_PERCENTAGE
See Also:
Constant Field Values

finishedCount

protected int finishedCount

totalCount

protected int totalCount

error

protected boolean error

pollStatus

protected java.lang.String pollStatus

POLL_STATUS_PROCESS

protected static java.lang.String POLL_STATUS_PROCESS

POLL_STATUS_WARN

protected static java.lang.String POLL_STATUS_WARN

POLL_STATUS_CONFIRM

protected static java.lang.String POLL_STATUS_CONFIRM

POLL_STATUS_ERROR

protected static java.lang.String POLL_STATUS_ERROR

_isProcessing

protected java.lang.Boolean _isProcessing

_isValidating

protected java.lang.Boolean _isValidating
Constructor Detail

CommonTreeRangeModel

public CommonTreeRangeModel()
Method Detail

getMaximum

public long getMaximum()
Gets maximum value of the Progress Indicator

Specified by:
getMaximum in class org.apache.myfaces.trinidad.model.BoundedRangeModel
Returns:
max percentage

getValue

public long getValue()
Gets initial value of the Progress Indicator

Specified by:
getValue in class org.apache.myfaces.trinidad.model.BoundedRangeModel
Returns:
current percentage value

getInterval

public int getInterval()
Gets the current value for the polling interval

Returns:
polling interval value

setInterval

public void setInterval(int interval)
Sets the polling interval

Parameters:
interval -

getMlsString

protected java.lang.String getMlsString(java.lang.String key)

getPollMessage

public java.lang.String getPollMessage()
Gets the current polling message

Returns:
poll message

setPollMessage

public void setPollMessage(java.lang.String pollMessage)
Sets the polling message

Parameters:
pollMessage -

logThrowable

protected void logThrowable(java.lang.Throwable t)

getPollIndicator

public java.lang.String getPollIndicator()

processPoll

public void processPoll(org.apache.myfaces.trinidad.event.PollEvent env)
Checks to see if validators processed to update the popup diaglog title.

Parameters:
env - as Poll event

isProcessing

public boolean isProcessing()
Returns true if current status is Processing.

Returns:

getPollTitle

public java.lang.String getPollTitle()

setPollTitle

public void setPollTitle(java.lang.String pollTitle)

getPollIcon

public java.lang.String getPollIcon()

setPollIcon

public void setPollIcon(java.lang.String pollIcon)

addLogMessage

public void addLogMessage(java.lang.String logMessage)

getLogMessage

public java.util.ArrayList<java.lang.String> getLogMessage()

processError

protected void processError(java.lang.Throwable throwable)

processError

protected void processError(java.lang.String errMsg)

setPollStatus

protected void setPollStatus(java.lang.String stateStatus)

stopPoll

protected java.lang.String stopPoll()

addToCount

protected void addToCount()

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.