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

E22562-03

oracle.apps.fnd.applcore.flex.ui.bean
Class DeploymentProgressIndicator

java.lang.Object
  extended by org.apache.myfaces.trinidad.model.BoundedRangeModel
      extended by oracle.apps.fnd.applcore.flex.ui.bean.DeploymentProgressIndicator

public class DeploymentProgressIndicator
extends org.apache.myfaces.trinidad.model.BoundedRangeModel


Constructor Summary
DeploymentProgressIndicator()
          Constructor for Deployment Progress Indicator Popup.
 
Method Summary
 void addLogMessage(java.lang.String logMessage)
           
 void closePollDialog(javax.faces.component.UIComponent popup)
          close the poll popup
static java.lang.String getComponentAbsoluteId1(javax.faces.component.UIComponent appsComp, java.lang.String componentId)
          Returns the absolute id of the component.
static java.lang.String getEntityUsageKey(java.lang.Object tableName, java.lang.Object tableUsageCode, java.lang.Object entityObjectName)
          Gets the Key for the row in the local table
 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
 java.lang.String getPollIcon()
           
 java.lang.String getPollIndicator()
           
 java.lang.String getPollMessage()
          Gets the current polling message
 java.lang.String getPollStatus()
          Gets the current poll status.
 java.lang.String getPollTitle()
           
 java.lang.String getSandboxName()
           
 java.util.List getTableModel()
          Gets the local copy of the table
 long getValue()
          Gets initial value of the Progress Indicator
 boolean isProcessing()
          Returns true if current status is Processing.
 boolean isValidationProcessing()
          Returns true if current validation status is Processing.
 void notifyProgress(FlexDeploymentTaskInfo u, FlexDeploymentUsageResult r)
          Method for debugging purpose and testing the flow.
 void openSandboxPopup(javax.faces.event.ActionEvent actionEvent)
           
 void processDialog(oracle.adf.view.rich.event.DialogEvent env)
          Method called when the dialog is closed.
 void processDialogOK(javax.faces.event.ActionEvent env)
          Method called when the dialog is closed.
 void processPoll(org.apache.myfaces.trinidad.event.PollEvent env)
          Checks to see if all the usages have been deployed to update the popup diaglog title.
 void processPopupAction(javax.faces.event.ActionEvent actionEvent)
          open poll dialog
 void processValidateAllFlexDialogOK(javax.faces.event.ActionEvent env)
          Method called to close validateAllFlex dialog is closed.
 void processValidateFlexDialogOK(javax.faces.event.ActionEvent env)
          Method called to close validateFlex dialog is closed.
 void setInterval(int interval)
          Sets the polling interval
 void setLogMessage(java.util.ArrayList<java.lang.String> messages)
           
 void setPollIcon(java.lang.String pollIcon)
           
 void setPollMessage(java.lang.String pollMessage)
          Sets the polling message
 void setPollTitle(java.lang.String pollTitle)
           
 void setSandboxName(java.lang.String sandboxName)
           
 void setTableModel(java.util.List tableModel)
          Sets the local copy of the table
 void startDeployAction(javax.faces.event.ActionEvent actionEvent)
          Starts deployment to production.
 void startSandboxDeployment(javax.faces.event.ActionEvent actionEvent)
          Starts deployment to sandbox.
 void validateAllFlexfield(javax.faces.event.ActionEvent actionEvent)
           
 void validateFlexfield(javax.faces.event.ActionEvent actionEvent)
           
 void warningSandboxDeployment(javax.faces.event.ActionEvent actionEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentProgressIndicator

public DeploymentProgressIndicator()
Constructor for Deployment Progress Indicator Popup.

Method Detail

isProcessing

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

Returns:

isValidationProcessing

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

Returns:

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 -

getPollStatus

public java.lang.String getPollStatus()
Gets the current poll status. It will be either "In Progress..." or "Done" It is displayed as part of the popup title

Returns:
status for polling

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 -

getTableModel

public java.util.List getTableModel()
Gets the local copy of the table

Returns:
List as tableModel

setTableModel

public void setTableModel(java.util.List tableModel)
Sets the local copy of the table

Parameters:
tableModel -

getPollIcon

public java.lang.String getPollIcon()

setPollIcon

public void setPollIcon(java.lang.String pollIcon)

getPollIndicator

public java.lang.String getPollIndicator()

getPollTitle

public java.lang.String getPollTitle()

setPollTitle

public void setPollTitle(java.lang.String pollTitle)

getEntityUsageKey

public static java.lang.String getEntityUsageKey(java.lang.Object tableName,
                                                 java.lang.Object tableUsageCode,
                                                 java.lang.Object entityObjectName)
Gets the Key for the row in the local table

Parameters:
tableName -
tableUsageCode -
entityObjectName -
Returns:

warningSandboxDeployment

public void warningSandboxDeployment(javax.faces.event.ActionEvent actionEvent)

openSandboxPopup

public void openSandboxPopup(javax.faces.event.ActionEvent actionEvent)

startSandboxDeployment

public void startSandboxDeployment(javax.faces.event.ActionEvent actionEvent)
Starts deployment to sandbox.

Parameters:
actionEvent - the action event

startDeployAction

public void startDeployAction(javax.faces.event.ActionEvent actionEvent)
Starts deployment to production.

Parameters:
actionEvent - the action event

setSandboxName

public void setSandboxName(java.lang.String sandboxName)

getSandboxName

public java.lang.String getSandboxName()

addLogMessage

public void addLogMessage(java.lang.String logMessage)

getLogMessage

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

setLogMessage

public void setLogMessage(java.util.ArrayList<java.lang.String> messages)

notifyProgress

public void notifyProgress(FlexDeploymentTaskInfo u,
                           FlexDeploymentUsageResult r)
Method for debugging purpose and testing the flow. It should be commented out once the code is integrated.

Parameters:
u - as Flexfield Deployment Task Info
r - as Deployment result bean

processPopupAction

public void processPopupAction(javax.faces.event.ActionEvent actionEvent)
open poll dialog

Parameters:
actionEvent -

getComponentAbsoluteId1

public static java.lang.String getComponentAbsoluteId1(javax.faces.component.UIComponent appsComp,
                                                       java.lang.String componentId)
Returns the absolute id of the component.

Parameters:
appsComp - UIComponent containing the component.
componentId - of the component
Returns:
absolute id of the component.

closePollDialog

public void closePollDialog(javax.faces.component.UIComponent popup)
close the poll popup

Parameters:
popup -

processDialog

public void processDialog(oracle.adf.view.rich.event.DialogEvent env)
Method called when the dialog is closed. This should stop the polling.

Parameters:
env -

processDialogOK

public void processDialogOK(javax.faces.event.ActionEvent env)
Method called when the dialog is closed. This should stop the polling.

Parameters:
env - as actionEvent

processPoll

public void processPoll(org.apache.myfaces.trinidad.event.PollEvent env)
Checks to see if all the usages have been deployed to update the popup diaglog title.

Parameters:
env - as Poll event

processValidateFlexDialogOK

public void processValidateFlexDialogOK(javax.faces.event.ActionEvent env)
Method called to close validateFlex dialog is closed.

Parameters:
env - as actionEvent

processValidateAllFlexDialogOK

public void processValidateAllFlexDialogOK(javax.faces.event.ActionEvent env)
Method called to close validateAllFlex dialog is closed.

Parameters:
env - as actionEvent

validateFlexfield

public void validateFlexfield(javax.faces.event.ActionEvent actionEvent)

validateAllFlexfield

public void validateAllFlexfield(javax.faces.event.ActionEvent actionEvent)

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

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.