|
|
|||||
| 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 |
| public static final int | ACTION_CANCEL
|
| public static final int | ACTION_CONTINUE
|
| public static final int | ACTION_FINISH
|
| public static final String | DISPLAY_MESSAGE
|
| public static final String | SEND_NOTIF_HOOKUP
|
| public static final String | STACK_COMMAND
|
| public static final String | STACK_EAPP_COMMAND
|
| Constructor Summary |
| CATJWACHelper()
|
| Method Summary |
| public static String | buildEAppCommandOutputWithPortalUIDArg(String iCommand, PortalUID iParam)
Helper to format output string to send a JDialog command as output of the WebApplication |
| public static String[] | buildEAppCommandOutputWithPortalUIDTableArg(String iCommand, PortalUID[] iParam)
Helper to format output string[] to send a JDialog command as output of the WebApplication |
| public static String | buildEAppCommandOutputWithStringArg(String iCommand, String iParam)
Helper to format output string to send a EApp command as output of the WebApplication |
| public static String[] | buildEAppCommandOutputWithStringTableArg(String iCommand, String[] iParam)
Helper to format output string[] to send a JDialog command as output of the WebApplication |
| public static String | buildHookupNotifOutput(String iNotifClassName, String iNotifObject)
Helper to format output string to send an event to the hookup as output of the WebApplication |
| public static String | buildJDialogCommandOutputWithPortalUIDArg(String iCommand, PortalUID iParam)
Helper to format output string to send a JDialog command as output of the WebApplication |
| public static String[] | buildJDialogCommandOutputWithPortalUIDTableArg(String iCommand, PortalUID[] iParam)
Helper to format output string[] to send a JDialog command as output of the WebApplication |
| public static String | buildJDialogCommandOutputWithStringArg(String iCommand, String iParam)
Helper to format output string to send a JDialog command as output of the WebApplication |
| public static String[] | buildJDialogCommandOutputWithStringTableArg(String iCommand, String[] iParam)
Helper to format output string[] to send a JDialog command as output of the WebApplication |
| public static String | buildMessageOutput(String iTitle, String iMessageText, int isev)
Helper to format output string to send a message as output of the WebApplication |
| public static String | convertPortalUIDtoString(PortalUID portalUID)
Helper to convert a PortalUID to a String |
| public static String[] | convertPortalUIDtoStringForTable(PortalUID[] portalUID)
Helper to convert a PortalUID table to a String table |
| public static PortalUID | convertStringToPortalUID(String portalUIDAsString)
Helper to convert a PortalUID string format to a PortalUID object |
| public static PortalUID[] | convertStringToPortalUIDForTable(String[] portalUIDAsString)
Helper to convert a table of string PortalUID table to a PortalUID table object |
| public static CATKeyTableModel | createKeyTableModelSimpleString(String[] input, String title)
Helper to retrieve a predefined KeyTableModel to fill a single column CATTable with a list of string |
| public static void | displayError(CATDialog iDialog, String iTitle, String iMessageText, int iSeverity)
Helper to display an error during Webapplication execution |
| public static String | getArgByName(String[] inputArguments, String argName)
Helper to get the value of an argument identified by its name. |
| public static void | gotoPage(String iPageName)
Helper for jump to a specific page of the WebApplication |
| public static boolean | sendAddDocsIn3DViewerNotif(CATDialog iDialog, PortalUID[] iUids)
|
| public static boolean | sendOpenDocIn2DViewerNotif(CATDialog iDialog, PortalUID iUid)
|
| public static boolean | sendOpenDocsIn3DViewerNotif(CATDialog iDialog, PortalUID[] iUids)
|
| public static void | startProcess(String iProcessName)
Helper to start a subprocess during the WebApplication execution |
| Field Detail |
public static final int ACTION_CANCEL
public static final int ACTION_CONTINUE
public static final int ACTION_FINISH
public static final String DISPLAY_MESSAGE
public static final String SEND_NOTIF_HOOKUP
public static final String STACK_COMMAND
public static final String STACK_EAPP_COMMAND
| Constructor Detail |
CATJWACHelper()
| Method Detail |
public static String buildEAppCommandOutputWithPortalUIDArg(String iCommand, PortalUID iParam)
Helper to format output string to send a JDialog command as output
of the WebApplication
iCommandiParam
public static String[] buildEAppCommandOutputWithPortalUIDTableArg(String iCommand, PortalUID[] iParam)
Helper to format output string[] to send a JDialog command as output
of the WebApplication
iCommandiParam
public static String buildEAppCommandOutputWithStringArg(String iCommand, String iParam)
Helper to format output string to send a EApp command as output
of the WebApplication
iCommandiParam
public static String[] buildEAppCommandOutputWithStringTableArg(String iCommand, String[] iParam)
Helper to format output string[] to send a JDialog command as output
of the WebApplication
iCommandiParam
public static String buildHookupNotifOutput(String iNotifClassName, String iNotifObject)
Helper to format output string to send an event to the hookup as output
of the WebApplication
iNotifClassNameiNotifObject
public static String buildJDialogCommandOutputWithPortalUIDArg(String iCommand, PortalUID iParam)
Helper to format output string to send a JDialog command as output
of the WebApplication
iCommandiParam
public static String[] buildJDialogCommandOutputWithPortalUIDTableArg(String iCommand, PortalUID[] iParam)
Helper to format output string[] to send a JDialog command as output
of the WebApplication
iCommandiParam
public static String buildJDialogCommandOutputWithStringArg(String iCommand, String iParam)
Helper to format output string to send a JDialog command as output
of the WebApplication
iCommandiParam
public static String[] buildJDialogCommandOutputWithStringTableArg(String iCommand, String[] iParam)
Helper to format output string[] to send a JDialog command as output
of the WebApplication
iCommandiParam
public static String buildMessageOutput(String iTitle, String iMessageText, int isev)
Helper to format output string to send a message as output
of the WebApplication
iTitleiMessageTextisev
public static String convertPortalUIDtoString(PortalUID portalUID)
Helper to convert a PortalUID to a String
portalUID
public static String[] convertPortalUIDtoStringForTable(PortalUID[] portalUID)
Helper to convert a PortalUID table to a String table
portalUID
public static PortalUID convertStringToPortalUID(String portalUIDAsString)
Helper to convert a PortalUID string format to a PortalUID object
portalUIDAsString
public static PortalUID[] convertStringToPortalUIDForTable(String[] portalUIDAsString)
Helper to convert a table of string PortalUID table to a PortalUID table object
portalUIDAsString
public static CATKeyTableModel createKeyTableModelSimpleString(String[] input, String title)
Helper to retrieve a predefined KeyTableModel to fill a single column
CATTable with a list of string
inputtitle
public static void displayError(CATDialog iDialog, String iTitle, String iMessageText, int iSeverity)
Helper to display an error during Webapplication execution
iDialogiTitleiMessageTextiSeverity
public static String getArgByName(String[] inputArguments, String argName)
Helper to get the value of an argument identified by its name.
inputArgumentsargName
public static void gotoPage(String iPageName)
Helper for jump to a specific page of the WebApplication
iPageName
public static boolean sendAddDocsIn3DViewerNotif(CATDialog iDialog, PortalUID[] iUids)
public static boolean sendOpenDocIn2DViewerNotif(CATDialog iDialog, PortalUID iUid)
public static boolean sendOpenDocsIn3DViewerNotif(CATDialog iDialog, PortalUID[] iUids)
public static void startProcess(String iProcessName)
Helper to start a subprocess during the WebApplication execution
iProcessName