|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sybase.uep.bobclient.actions.Action
com.sybase.uep.bobclient.actions.SyncAction
public class SyncAction
This is the sync action class
This will perform the synchronization of the mobile business objects
Action
Constructor Summary | |
---|---|
SyncAction(java.lang.String mobileAppID)
Constructor to create a sync action |
|
SyncAction(java.lang.String[] mobileAppID)
Constructor to create a sync action |
|
SyncAction(java.lang.String[] mobileAppID,
boolean displayCompleteMsg,
int refreshCompleteMsgRID,
IBOBScreen screen)
Constructor to create a sync action |
|
SyncAction(java.lang.String[] mobileAppID,
boolean displayCompleteMsg,
int refreshCompleteMsgRID,
IBOBScreen screen,
boolean isModalScreen)
Constructor to create a sync action |
|
SyncAction(java.lang.String[] mobileAppID,
boolean displayCompleteMsg,
java.lang.String refreshCompleteMsg,
IBOBScreen screen)
Constructor to create a sync action |
|
SyncAction(java.lang.String[] mobileAppID,
boolean displayCompleteMsg,
java.lang.String refreshCompleteMsg,
IBOBScreen screen,
boolean isModalScreen)
Constructor to create a sync action |
|
SyncAction(java.lang.String mobileAppID,
boolean displayCompleteMsg,
int refreshCompleteMsgRID,
IBOBScreen screen)
Constructor to create a sync action |
|
SyncAction(java.lang.String mobileAppID,
boolean displayCompleteMsg,
int refreshCompleteMsgRID,
IBOBScreen screen,
boolean isModalScreen)
Constructor to create a sync action |
|
SyncAction(java.lang.String mobileAppID,
boolean displayCompleteMsg,
int refreshCompleteMsgRID,
IBOBScreen screen,
boolean isModalScreen,
java.util.Vector parameters,
boolean saveParams)
Constructor to create a sync action |
|
SyncAction(java.lang.String mobileAppID,
boolean displayCompleteMsg,
int refreshCompleteMsgRID,
IBOBScreen screen,
boolean isModalScreen,
java.util.Vector parameters,
int requiredMessageRID,
boolean saveParams)
Constructor to create a sync action |
|
SyncAction(java.lang.String mobileAppID,
boolean displayCompleteMsg,
int refreshCompleteMsgRID,
IBOBScreen screen,
boolean isModalScreen,
java.util.Vector parameters,
int requiredMessageRID,
int tooLongMessageRID,
boolean saveParams)
Constructor to create a sync action |
|
SyncAction(java.lang.String mobileAppID,
boolean displayCompleteMsg,
int refreshCompleteMsgRID,
IBOBScreen screen,
java.util.Vector parameters,
boolean saveParams)
Constructor to create a sync action |
|
SyncAction(java.lang.String mobileAppID,
boolean displayCompleteMsg,
java.lang.String refreshCompleteMsg,
IBOBScreen screen)
Constructor to create a sync action |
|
SyncAction(java.lang.String mobileAppID,
boolean displayCompleteMsg,
java.lang.String refreshCompleteMsg,
IBOBScreen screen,
boolean isModalScreen)
Constructor to create a sync action |
|
SyncAction(java.lang.String mobileAppID,
boolean displayCompleteMsg,
java.lang.String refreshCompleteMsg,
IBOBScreen screen,
boolean isModalScreen,
java.util.Vector parameters,
boolean saveParams)
Constructor to create a sync action |
|
SyncAction(java.lang.String mobileAppID,
boolean displayCompleteMsg,
java.lang.String refreshCompleteMsg,
IBOBScreen screen,
boolean isModalScreen,
java.util.Vector parameters,
int requiredMessageRID,
int tooLongMessageRID,
boolean saveParams)
Constructor to create a sync action |
|
SyncAction(java.lang.String mobileAppID,
boolean displayCompleteMsg,
java.lang.String refreshCompleteMsg,
IBOBScreen screen,
boolean isModalScreen,
java.util.Vector parameters,
java.lang.String requiredMessage,
boolean saveParams)
Constructor to create a sync action |
|
SyncAction(java.lang.String mobileAppID,
boolean displayCompleteMsg,
java.lang.String refreshCompleteMsg,
IBOBScreen screen,
boolean isModalScreen,
java.util.Vector parameters,
java.lang.String requiredMessage,
java.lang.String tooLongMessage,
boolean saveParams)
Constructor to create a sync action |
|
SyncAction(java.lang.String mobileAppID,
boolean displayCompleteMsg,
java.lang.String refreshCompleteMsg,
IBOBScreen screen,
java.util.Vector parameters,
boolean saveParams)
Constructor to create a sync action |
Method Summary | |
---|---|
void |
finish(boolean success)
This gets called when the action is finished |
IBOBScreen |
getScreen()
Retrieves the screen that displays this sync action progress. |
void |
run()
(non-Javadoc) |
void |
setIsModalScreen(boolean bol)
Set if the sync screen should be a modal screen |
void |
setScreen(IBOBScreen screen)
Sets the screen that displays this sync action progress. |
void |
syncDone(java.lang.Exception exception)
This is called when synchronization is completed |
Methods inherited from class com.sybase.uep.bobclient.actions.Action |
---|
hasFailed, isProcessing, setHasFailed, setIsProcessing |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SyncAction(java.lang.String mobileAppID)
mobileAppID
- String
value of the mobile application IDpublic SyncAction(java.lang.String[] mobileAppID)
mobileAppID
- String
array list of mobile application IDspublic SyncAction(java.lang.String mobileAppID, boolean displayCompleteMsg, int refreshCompleteMsgRID, IBOBScreen screen)
mobileAppID
- String
value of the mobile application IDdisplayCompleteMsg
- true
to display the refresh complete message, otherwise false
refreshCompleteMsgRID
- localization resource ID for the refresh complete messagescreen
- IBOBScreen
screen to go to after sycningIBOBScreen
public SyncAction(java.lang.String mobileAppID, boolean displayCompleteMsg, java.lang.String refreshCompleteMsg, IBOBScreen screen)
mobileAppID
- String
value of the mobile application IDdisplayCompleteMsg
- true
to display the refresh complete message, otherwise false
refreshCompleteMsg
- String
value for the complete messagescreen
- IBOBScreen
screen to go to after sycningIBOBScreen
public SyncAction(java.lang.String mobileAppID, boolean displayCompleteMsg, int refreshCompleteMsgRID, IBOBScreen screen, java.util.Vector parameters, boolean saveParams)
mobileAppID
- String
value of the mobile application IDdisplayCompleteMsg
- true
to display the refresh complete message, otherwise false
refreshCompleteMsgRID
- localization resource ID for the complete messagescreen
- IBOBScreen
screen to go to after sycningparameters
- Vector
list of SubmitElement objects for the parameterssaveParams
- true
to save the sync parameters for later sync, otherwise falseIBOBScreen
public SyncAction(java.lang.String mobileAppID, boolean displayCompleteMsg, java.lang.String refreshCompleteMsg, IBOBScreen screen, java.util.Vector parameters, boolean saveParams)
mobileAppID
- String
value of the mobile application IDdisplayCompleteMsg
- true
to display the refresh complete message, otherwise false
refreshCompleteMsg
- String
value for the complete messagescreen
- IBOBScreen
screen to go to after sycningparameters
- Vector
list of SubmitElement objects for the parameterssaveParams
- true
to save the sync parameters for later sync, otherwise falseIBOBScreen
public SyncAction(java.lang.String[] mobileAppID, boolean displayCompleteMsg, int refreshCompleteMsgRID, IBOBScreen screen)
mobileAppID
- String
array list of mobile application IDsdisplayCompleteMsg
- true
to display the refresh complete message, otherwise false
refreshCompleteMsgRID
- localization resource ID for the complete messagescreen
- IBOBScreen
screen to go to after sycningIBOBScreen
public SyncAction(java.lang.String[] mobileAppID, boolean displayCompleteMsg, java.lang.String refreshCompleteMsg, IBOBScreen screen)
mobileAppID
- String
array list of mobile application IDsdisplayCompleteMsg
- true
to display the refresh complete message, otherwise false
refreshCompleteMsg
- String
value for the complete messagescreen
- IBOBScreen
screen to go to after sycningIBOBScreen
public SyncAction(java.lang.String mobileAppID, boolean displayCompleteMsg, int refreshCompleteMsgRID, IBOBScreen screen, boolean isModalScreen)
mobileAppID
- String
value of the mobile application IDdisplayCompleteMsg
- true
to display the refresh complete message, otherwise false
refreshCompleteMsgRID
- localization resource ID for the complete messagescreen
- IBOBScreen
screen to go to after sycningisModalScreen
- true
if sync screen is modal screen, otherwise false
IBOBScreen
public SyncAction(java.lang.String mobileAppID, boolean displayCompleteMsg, java.lang.String refreshCompleteMsg, IBOBScreen screen, boolean isModalScreen)
mobileAppID
- String
value of the mobile application IDdisplayCompleteMsg
- true
to display the refresh complete message, otherwise false
refreshCompleteMsg
- String
value for the complete messagescreen
- IBOBScreen
screen to go to after sycningisModalScreen
- true
if sync screen is modal screen, otherwise false
IBOBScreen
public SyncAction(java.lang.String mobileAppID, boolean displayCompleteMsg, int refreshCompleteMsgRID, IBOBScreen screen, boolean isModalScreen, java.util.Vector parameters, boolean saveParams)
mobileAppID
- String
value of the mobile application IDdisplayCompleteMsg
- true
to display the refresh complete message, otherwise false
refreshCompleteMsgRID
- localization resource ID for the complete messagescreen
- IBOBScreen
screen to go to after sycningisModalScreen
- true
if sync screen is modal screen, otherwise false
parameters
- Vector
list of SubmitElement objects for the parameterssaveParams
- true
to save the sync parameters for later sync, otherwise falseIBOBScreen
public SyncAction(java.lang.String mobileAppID, boolean displayCompleteMsg, java.lang.String refreshCompleteMsg, IBOBScreen screen, boolean isModalScreen, java.util.Vector parameters, boolean saveParams)
mobileAppID
- String
value of the mobile application IDdisplayCompleteMsg
- true
to display the refresh complete message, otherwise false
refreshCompleteMsg
- String
value for the complete messagescreen
- IBOBScreen
screen to go to after sycningisModalScreen
- true
if sync screen is modal screen, otherwise false
parameters
- Vector
list of SubmitElement objects for the parameterssaveParams
- true
to save the sync parameters for later sync, otherwise falseIBOBScreen
public SyncAction(java.lang.String mobileAppID, boolean displayCompleteMsg, int refreshCompleteMsgRID, IBOBScreen screen, boolean isModalScreen, java.util.Vector parameters, int requiredMessageRID, boolean saveParams)
mobileAppID
- String
value of the mobile application IDdisplayCompleteMsg
- true
to display the refresh complete message, otherwise false
refreshCompleteMsgRID
- localization resource ID for the complete messagescreen
- IBOBScreen
screen to go to after sycningisModalScreen
- true
if sync screen is modal screen, otherwise false
parameters
- Vector
list of SubmitElement objects for the parametersrequiredMessageRID
- localization resource ID for the required message that
will be alerted to the user. example "Input \"{0}\" is required."saveParams
- true
to save the sync parameters for later sync, otherwise falseIBOBScreen
public SyncAction(java.lang.String mobileAppID, boolean displayCompleteMsg, java.lang.String refreshCompleteMsg, IBOBScreen screen, boolean isModalScreen, java.util.Vector parameters, java.lang.String requiredMessage, boolean saveParams)
mobileAppID
- String
value of the mobile application IDdisplayCompleteMsg
- true
to display the refresh complete message, otherwise false
refreshCompleteMsg
- String
value for the complete messagescreen
- IBOBScreen
screen to go to after sycningisModalScreen
- true
if sync screen is modal screen, otherwise false
parameters
- Vector
list of SubmitElement objects for the parametersrequiredMessage
- String
value required message that will be alerted to the user.
example "Input \"{0}\" is required."saveParams
- true
to save the sync parameters for later sync, otherwise falseIBOBScreen
public SyncAction(java.lang.String mobileAppID, boolean displayCompleteMsg, java.lang.String refreshCompleteMsg, IBOBScreen screen, boolean isModalScreen, java.util.Vector parameters, int requiredMessageRID, int tooLongMessageRID, boolean saveParams)
mobileAppID
- String
value of the mobile application IDdisplayCompleteMsg
- true
to display the refresh complete message, otherwise false
refreshCompleteMsg
- String
value for the complete messagescreen
- IBOBScreen
screen to go to after sycningisModalScreen
- true
if sync screen is modal screen, otherwise false
parameters
- Vector
list of SubmitElement objects for the parametersrequiredMessageRID
- 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}."saveParams
- true
to save the sync parameters for later sync, otherwise falseIBOBScreen
public SyncAction(java.lang.String mobileAppID, boolean displayCompleteMsg, int refreshCompleteMsgRID, IBOBScreen screen, boolean isModalScreen, java.util.Vector parameters, int requiredMessageRID, int tooLongMessageRID, boolean saveParams)
mobileAppID
- String
value of the mobile application IDdisplayCompleteMsg
- true
to display the refresh complete message, otherwise false
refreshCompleteMsgRID
- localization resource ID for the complete messagescreen
- IBOBScreen
screen to go to after sycningisModalScreen
- true
if sync screen is modal screen, otherwise false
parameters
- Vector
list of SubmitElement objects for the parametersrequiredMessageRID
- 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}."saveParams
- true
to save the sync parameters for later sync, otherwise falseIBOBScreen
public SyncAction(java.lang.String mobileAppID, boolean displayCompleteMsg, java.lang.String refreshCompleteMsg, IBOBScreen screen, boolean isModalScreen, java.util.Vector parameters, java.lang.String requiredMessage, java.lang.String tooLongMessage, boolean saveParams)
mobileAppID
- String
value of the mobile application IDdisplayCompleteMsg
- true
to display the refresh complete message, otherwise false
refreshCompleteMsg
- String
value for the complete messagescreen
- IBOBScreen
screen to go to after sycningisModalScreen
- true
if sync screen is modal screen, otherwise false
parameters
- Vector
list of SubmitElement objects for the parametersrequiredMessage
- String
value of the required message that will be alerted to the user.
example "Input \"{0}\" is required."tooLongmessage
- String
value of the message to alert the user when the entered String exceeds the maximum length.
example "Input {0} exceeds the maximum length of {1}."saveParams
- true
to save the sync parameters for later sync, otherwise falseIBOBScreen
public SyncAction(java.lang.String[] mobileAppID, boolean displayCompleteMsg, int refreshCompleteMsgRID, IBOBScreen screen, boolean isModalScreen)
mobileAppID
- String
array list of the mobile application IDsdisplayCompleteMsg
- true
to display the refresh complete message, otherwise false
refreshCompleteMsgRID
- localization resource ID for the complete messagescreen
- IBOBScreen
screen to go to after sycningisModalScreen
- true
if sync screen is modal screen, otherwise false
IBOBScreen
public SyncAction(java.lang.String[] mobileAppID, boolean displayCompleteMsg, java.lang.String refreshCompleteMsg, IBOBScreen screen, boolean isModalScreen)
mobileAppID
- String
array list of the mobile application IDsdisplayCompleteMsg
- true
to display the refresh complete message, otherwise false
refreshCompleteMsg
- String
value for the complete messagescreen
- IBOBScreen
screen to go to after sycningisModalScreen
- true
if sync screen is modal screen, otherwise false
IBOBScreen
Method Detail |
---|
public void setIsModalScreen(boolean bol)
bol
- true
if this is modal sync screen, otherwise false
public void finish(boolean success)
finish
in interface IBOBAction
finish
in class Action
success
- true
to specify if the action succeeded, otherwise false
IBOBAction.finish(boolean success)
public void run()
Runnable.run()
public void syncDone(java.lang.Exception exception)
exception
- Exception
objectException
public IBOBScreen getScreen()
IBOBScreen
objectIBOBScreen
public void setScreen(IBOBScreen screen)
screen
- IBOBScreen
objectIBOBScreen
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |