Using the E1ADFUtils Helper Class to Access EnterpriseOne ADF Container Features

E1ADFUtils is a helper class included in the E1UserSession.jar that provides several static methods for accessing functionality available through the EnterpriseOne ADF Container, including launching an EnterpriseOne menu task, launching an EnterpriseOne application, and displaying error and warning messages using the EnterpriseOne ADF Container's message popup dialog.

Note: These features are only available when the EnterpriseOne ADF application launches from an EnterpriseOne Solution Explorer task or external form (Release 9.2.1) and executes in the EnterpriseOne ADF Container. If the EnterpriseOne ADF application is run on JDeveloper's Integrated Oracle WebLogic Server, the application code to utilize these features will execute without error, but the EnterpriseOne ADF Container is not available to provide the desired functionality.

Return Type

Method

Description

void

launchE1Task(String taskId)

Launches the EnterpriseOne object associated with the specified task ID.

void

launchE1Application(E1FormInterconnect formInterconnect)

Launches the specified EnterpriseOne application.

void

addErrorMessages(List<E1Message> messages)

Adds a list of E1Message objects to the JDEADFContainer's error message list.

void

addErrorMessage(String message)

Adds a single message to the JDEADFContainer's error message list.

void

addWarningMessages(List<E1Message> messages)

Adds a list of E1Message objects to the JDEADFContainer's warning message list.

void

addWarningMessage(String message)

Adds a single message to the JDEADFContainer's warning message list.

void

addInformationMessages(List<E1Message> messages)

Adds a list of E1Message objects to the JDEADFContainer's information message list.

void

addInformationMessage(String message)

Adds a single message to the JDEADFContainer's information message list.

void

launchMessagePopup()

Displays the JDEADFContainer's message popup dialog. Once the dialog is displayed, the message lists are cleared.

void

initializeAppInstance(String path)

Retrieves values from the About.properties file for the EnterpriseOne ADF application to display in the About dialog.