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

E22562-05

oracle.apps.fnd.applcore.flex.ui.deployment
Class EFFAsyncDeploymentQueue

java.lang.Object
  extended by oracle.apps.fnd.applcore.flex.ui.deployment.EFFAsyncDeploymentQueue

public class EFFAsyncDeploymentQueue
extends java.lang.Object


Constructor Summary
EFFAsyncDeploymentQueue()
          Constructor for EFFAsyncDeploymentQueue
 
Method Summary
 boolean addJob(java.lang.String[] job)
          Adds the flexfield to the queue for deployment
 void cancelJob(java.lang.String flexfieldCode, java.lang.Long applicationId)
           
static boolean checkEFFInDB(java.lang.Long applicationId, java.lang.String flexfieldCode)
          Returns whether the flexfield is being deployed by an user or queued by an user
 boolean checkJobExistsInQueue(java.lang.String flexfieldCode, java.lang.Long applicationId)
           
 void clearOrphanedQueue()
           
 void deleteJob(java.lang.String[] job)
          Removes the flexfield from the user queue.
 java.lang.String[] getElementAt(int index)
          returns the element at the specified index in the queue
 java.lang.String[] getNextJob()
          Returns the first element in the queue
 int queueSize()
          Returns the size of the queue
 java.lang.String[] removeJob()
          Removes the first element in the queue
 void updateJob(java.lang.String[] job)
          Updates the flexfield async deployment status in the DB.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EFFAsyncDeploymentQueue

public EFFAsyncDeploymentQueue()
Constructor for EFFAsyncDeploymentQueue

Method Detail

getNextJob

public java.lang.String[] getNextJob()
Returns the first element in the queue


getElementAt

public java.lang.String[] getElementAt(int index)
returns the element at the specified index in the queue

Parameters:
index -

removeJob

public java.lang.String[] removeJob()
Removes the first element in the queue


addJob

public boolean addJob(java.lang.String[] job)
Adds the flexfield to the queue for deployment

Parameters:
job - a String array containing the flexfield code, application id and other attributes

queueSize

public int queueSize()
Returns the size of the queue


updateJob

public void updateJob(java.lang.String[] job)
Updates the flexfield async deployment status in the DB.

Parameters:
job - a String array containing the flexfield code, application id and other attributes

checkEFFInDB

public static boolean checkEFFInDB(java.lang.Long applicationId,
                                   java.lang.String flexfieldCode)
Returns whether the flexfield is being deployed by an user or queued by an user


deleteJob

public void deleteJob(java.lang.String[] job)
Removes the flexfield from the user queue.


cancelJob

public void cancelJob(java.lang.String flexfieldCode,
                      java.lang.Long applicationId)

checkJobExistsInQueue

public boolean checkJobExistsInQueue(java.lang.String flexfieldCode,
                                     java.lang.Long applicationId)

clearOrphanedQueue

public void clearOrphanedQueue()

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

E22562-05

Copyright © 2012 Oracle. All Rights Reserved.