com.sybase.uep.bobclient.actions
Class SubmitAction

java.lang.Object
  extended by com.sybase.uep.bobclient.actions.Action
      extended by com.sybase.uep.bobclient.actions.SubmitAction
All Implemented Interfaces:
IBOBAction, java.lang.Runnable

public class SubmitAction
extends Action

This is the submit action class

This will create a update/insert/delete/others operation action

Author:
tdang
See Also:
Action

Constructor Summary
SubmitAction(java.lang.String mobileAppID, IBOBScreen screen, int operationType, java.util.Vector submitElements, boolean sendToServer, int requiredMessageRID, int tooLongMessageRID, java.lang.String operationName)
          Constructor to create a submit action
SubmitAction(java.lang.String mobileAppID, IBOBScreen screen, int operationType, java.util.Vector submitElements, boolean sendToServer, int requiredMessageRID, java.lang.String operationName)
          Constructor to create a submit action
SubmitAction(java.lang.String mobileAppID, IBOBScreen screen, int operationType, java.util.Vector submitElements, boolean sendToServer, java.lang.String operationName)
          Constructor to create a submit action
SubmitAction(java.lang.String mobileAppID, IBOBScreen screen, int operationType, java.util.Vector submitElements, boolean sendToServer, java.lang.String requiredMessage, java.lang.String operationName)
          Constructor to create a submit action
SubmitAction(java.lang.String mobileAppID, IBOBScreen screen, int operationType, java.util.Vector submitElements, boolean sendToServer, java.lang.String requiredMessage, java.lang.String tooLongMessage, java.lang.String operationName)
          Constructor to create a submit action
SubmitAction(java.lang.String mobileAppID, IBOBScreen screen, int operationType, java.util.Vector submitElements, java.lang.String operationName)
          Constructor to create a submit action
 
Method Summary
 void run()
          (non-Javadoc)
 
Methods inherited from class com.sybase.uep.bobclient.actions.Action
finish, hasFailed, isProcessing, setHasFailed, setIsProcessing
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubmitAction

public SubmitAction(java.lang.String mobileAppID,
                    IBOBScreen screen,
                    int operationType,
                    java.util.Vector submitElements,
                    java.lang.String operationName)
Constructor to create a submit action

Parameters:
mobileAppID - String value of the mobile application ID
screen - IBOBScreen screen object which contains input controls
operationType - int value for the operation type
submitElements - Vector list of submit elements
operationName - String value for the name of the operaiton to be invoked when run this action.
See Also:
OperationTypes, IBOBScreen

SubmitAction

public SubmitAction(java.lang.String mobileAppID,
                    IBOBScreen screen,
                    int operationType,
                    java.util.Vector submitElements,
                    boolean sendToServer,
                    java.lang.String operationName)
Constructor to create a submit action

Parameters:
mobileAppID - String value of the mobile application ID
screen - IBOBScreen screen object which contains input controls
operationType - int value for the operation type
submitElements - Vector list of submit elements
sendToServer - true to send the operations to the server after submit action is performed
operationName - String value for the name of the operaiton to be invoked when run this action.
See Also:
OperationTypes, IBOBScreen

SubmitAction

public SubmitAction(java.lang.String mobileAppID,
                    IBOBScreen screen,
                    int operationType,
                    java.util.Vector submitElements,
                    boolean sendToServer,
                    int requiredMessageRID,
                    java.lang.String operationName)
Constructor to create a submit action

Parameters:
mobileAppID - String value of the mobile application ID
screen - IBOBScreen screen object which contains input controls
operationType - int value for the operation type
submitElements - Vector list of submit elements
sendToServer - true to send the operations to the server after submit action is performed
requiredMessageRID - localization resource ID for the required message that will be alerted to the user. example "Input \"{0}\" is required."
operationName - String value for the name of the operaiton to be invoked when run this action.
See Also:
OperationTypes, IBOBScreen

SubmitAction

public SubmitAction(java.lang.String mobileAppID,
                    IBOBScreen screen,
                    int operationType,
                    java.util.Vector submitElements,
                    boolean sendToServer,
                    java.lang.String requiredMessage,
                    java.lang.String operationName)
Constructor to create a submit action

Parameters:
mobileAppID - String value of the mobile application ID
screen - IBOBScreen screen object which contains input controls
operationType - int value for the operation type
submitElements - Vector list of submit elements
sendToServer - true to send the operations to the server after submit action is performed
requiredMessage - String value for the required message that will be alerted to the user. example "Input \"{0}\" is required."
operationName - String value for the name of the operaiton to be invoked when run this action.
See Also:
OperationTypes, IBOBScreen

SubmitAction

public SubmitAction(java.lang.String mobileAppID,
                    IBOBScreen screen,
                    int operationType,
                    java.util.Vector submitElements,
                    boolean sendToServer,
                    int requiredMessageRID,
                    int tooLongMessageRID,
                    java.lang.String operationName)
Constructor to create a submit action

Parameters:
mobileAppID - String value of the mobile application ID
screen - IBOBScreen screen object which contains input controls
operationType - int value for the operation type
submitElements - Vector list of submit elements
sendToServer - true to send the operations to the server after submit action is performed
requiredMessageRID - localization resource ID for the required message that will be alerted to the user. example "Input \"{0}\" is required."
tooLongmessageRID - localization resource ID for the message to alert the user when the entered String exceeds the maximum length. example "Input {0} exceeds the maximum length of {1}."
operationName - String value for the name of the operaiton to be invoked when run this action.
See Also:
OperationTypes, IBOBScreen

SubmitAction

public SubmitAction(java.lang.String mobileAppID,
                    IBOBScreen screen,
                    int operationType,
                    java.util.Vector submitElements,
                    boolean sendToServer,
                    java.lang.String requiredMessage,
                    java.lang.String tooLongMessage,
                    java.lang.String operationName)
Constructor to create a submit action

Parameters:
mobileAppID - String value of the mobile application ID
screen - IBOBScreen screen object which contains input controls
operationType - int value for the operation type
submitElements - Vector list of submit elements
sendToServer - true to send the operations to the server after submit action is performed
requiredMessage - String value for the required message that will be alerted to the user. example "Input \"{0}\" is required."
tooLongmessage - String value for the message to alert the user when the entered String exceeds the maximum length. example "Input {0} exceeds the maximum length of {1}."
operationName - String value for the name of the operaiton to be invoked when run this action.
See Also:
OperationTypes, IBOBScreen
Method Detail

run

public void run()
(non-Javadoc)

See Also:
Runnable.run()