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.
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. |