|
|
||||
| Package com.dassault_systemes.catjwebapplicationcomposer.catjwacruntime |
Class CATJWACHelper
|
| Class Hierarchy |
java.lang.Object | +-com.dassault_systemes.catjwebapplicationcomposer.catjwacruntime.CATJWACHelper
| Class Location |
| Class Description |
public class CATJWACHelper
Class for all helpers definitions used through the WebApplicationBuilder interactive tool. All public static methods can be used as helpers in a WebApplication.
| Field Summary |
| String | DISPLAY_MESSAGE |
| String | STACK_COMMAND |
| String | STACK_EAPP_COMMAND |
| String | SEND_NOTIF_HOOKUP |
| int | ACTION_CONTINUE |
| int | ACTION_FINISH |
| int | ACTION_CANCEL |
| Constructor Summary |
| CATJWACHelper() |
| Method Summary |
| void | gotoPage(String iPageName) |
| void | startProcess(String iProcessName) |
| String | getArgByName(String[] inputArguments, String argName) |
| String | buildMessageOutput(String iTitle, String iMessageText, int isev) |
| String | buildJDialogCommandOutputWithStringArg(String iCommand, String iParam) |
| String[] | buildJDialogCommandOutputWithStringTableArg(String iCommand, String[] iParam) |
| String | buildJDialogCommandOutputWithPortalUIDArg(String iCommand, PortalUID iParam) |
| String[] | buildJDialogCommandOutputWithPortalUIDTableArg(String iCommand, PortalUID[] iParam) |
| String | buildEAppCommandOutputWithStringArg(String iCommand, String iParam) |
| String[] | buildEAppCommandOutputWithStringTableArg(String iCommand, String[] iParam) |
| String | buildEAppCommandOutputWithPortalUIDArg(String iCommand, PortalUID iParam) |
| String[] | buildEAppCommandOutputWithPortalUIDTableArg(String iCommand, PortalUID[] iParam) |
| String | buildHookupNotifOutput(String iNotifClassName, String iNotifObject) |
| void | displayError(CATDialog iDialog, String iTitle, String iMessageText, int iSeverity) |
| CATKeyTableModel | createKeyTableModelSimpleString(String[] input, String title) |
| String | convertPortalUIDtoString(PortalUID portalUID) |
| String[] | convertPortalUIDtoStringForTable(PortalUID[] portalUID) |
| PortalUID | convertStringToPortalUID(String portalUIDAsString) |
| PortalUID[] | convertStringToPortalUIDForTable(String[] portalUIDAsString) |
| boolean | sendOpenDocsIn3DViewerNotif(CATDialog iDialog, PortalUID[] iUids) |
| boolean | sendAddDocsIn3DViewerNotif(CATDialog iDialog, PortalUID[] iUids) |
| boolean | sendOpenDocIn2DViewerNotif(CATDialog iDialog, PortalUID iUid) |
| Field Detail |
String DISPLAY_MESSAGE
String STACK_COMMAND
String STACK_EAPP_COMMAND
String SEND_NOTIF_HOOKUP
int ACTION_CONTINUE
int ACTION_FINISH
int ACTION_CANCEL
| Constructor Detail |
CATJWACHelper()
| Method Detail |
void gotoPage(String iPageName)
Helper for jump to a specific page of the WebApplication
iPageName
void startProcess(String iProcessName)
Helper to start a subprocess during the WebApplication execution
iProcessName
String getArgByName(String[] inputArguments, String argName)
Helper to get the value of an argument identified by its name.
inputArgumentsargName
String buildMessageOutput(String iTitle, String iMessageText, int isev)
Helper to format output string to send a message as output
of the WebApplication
iTitleiMessageTextisev
String buildJDialogCommandOutputWithStringArg(String iCommand, String iParam)
Helper to format output string to send a JDialog command as output
of the WebApplication
iCommandiParam
String[] buildJDialogCommandOutputWithStringTableArg(String iCommand, String[] iParam)
Helper to format output string[] to send a JDialog command as output
of the WebApplication
iCommandiParam
String buildJDialogCommandOutputWithPortalUIDArg(String iCommand, PortalUID iParam)
Helper to format output string to send a JDialog command as output
of the WebApplication
iCommandiParam
String[] buildJDialogCommandOutputWithPortalUIDTableArg(String iCommand, PortalUID[] iParam)
Helper to format output string[] to send a JDialog command as output
of the WebApplication
iCommandiParam
String buildEAppCommandOutputWithStringArg(String iCommand, String iParam)
Helper to format output string to send a EApp command as output
of the WebApplication
iCommandiParam
String[] buildEAppCommandOutputWithStringTableArg(String iCommand, String[] iParam)
Helper to format output string[] to send a JDialog command as output
of the WebApplication
iCommandiParam
String buildEAppCommandOutputWithPortalUIDArg(String iCommand, PortalUID iParam)
Helper to format output string to send a JDialog command as output
of the WebApplication
iCommandiParam
String[] buildEAppCommandOutputWithPortalUIDTableArg(String iCommand, PortalUID[] iParam)
Helper to format output string[] to send a JDialog command as output
of the WebApplication
iCommandiParam
String buildHookupNotifOutput(String iNotifClassName, String iNotifObject)
Helper to format output string to send an event to the hookup as output
of the WebApplication
iNotifClassNameiNotifObject
void displayError(CATDialog iDialog, String iTitle, String iMessageText, int iSeverity)
Helper to display an error during Webapplication execution
iDialogiTitleiMessageTextiSeverity
CATKeyTableModel createKeyTableModelSimpleString(String[] input, String title)
Helper to retrieve a predefined KeyTableModel to fill a single column
CATTable with a list of string
inputtitle
String convertPortalUIDtoString(PortalUID portalUID)
Helper to convert a PortalUID to a String
portalUID
String[] convertPortalUIDtoStringForTable(PortalUID[] portalUID)
Helper to convert a PortalUID table to a String table
portalUID
PortalUID convertStringToPortalUID(String portalUIDAsString)
Helper to convert a PortalUID string format to a PortalUID object
portalUIDAsString
PortalUID[] convertStringToPortalUIDForTable(String[] portalUIDAsString)
Helper to convert a table of string PortalUID table to a PortalUID table object
portalUIDAsString
boolean sendOpenDocsIn3DViewerNotif(CATDialog iDialog, PortalUID[] iUids)
boolean sendAddDocsIn3DViewerNotif(CATDialog iDialog, PortalUID[] iUids)
boolean sendOpenDocIn2DViewerNotif(CATDialog iDialog, PortalUID iUid)