|
|||||||||
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.NamedQueryAction
public class NamedQueryAction
This is the named query action class
This will perform a named query on a specific mobile application
Action
Constructor Summary | |
---|---|
NamedQueryAction(java.lang.String mobileAppID,
java.lang.String namedQuery,
IBOBScreen screen,
java.util.Vector parameters,
boolean saveParams)
Constructor to create a named query action |
|
NamedQueryAction(java.lang.String mobileAppID,
java.lang.String namedQuery,
IBOBScreen screen,
java.util.Vector parameters,
int requiredMessageRID,
int tooLongMessageRID,
boolean saveParams)
Constructor to create a named query action |
|
NamedQueryAction(java.lang.String mobileAppID,
java.lang.String namedQuery,
IBOBScreen screen,
java.util.Vector parameters,
java.lang.String requiredMessage,
java.lang.String tooLongMessage,
boolean saveParams)
Constructor to create a named query action |
Method Summary | |
---|---|
void |
finish(boolean finished)
This gets called when the action is finished |
IBOBScreen |
getScreen()
Retrieves the screen that displays this named query action progress. |
void |
run()
(non-Javadoc) |
void |
setScreen(IBOBScreen screen)
Sets the screen that displays this named query action progress. |
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 NamedQueryAction(java.lang.String mobileAppID, java.lang.String namedQuery, IBOBScreen screen, java.util.Vector parameters, int requiredMessageRID, int tooLongMessageRID, boolean saveParams)
mobileAppID
- String
value of the mobile application IDnamedQuery
- String
value of the named queryscreen
- IBOBScreen
screen to go to after performing the named queryparameters
- 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 named query parameters for later, otherwise falseIBOBScreen
public NamedQueryAction(java.lang.String mobileAppID, java.lang.String namedQuery, IBOBScreen screen, java.util.Vector parameters, java.lang.String requiredMessage, java.lang.String tooLongMessage, boolean saveParams)
mobileAppID
- String
value of the mobile application IDnamedQuery
- String
value of the named queryscreen
- IBOBScreen
screen to go to after performing the named queryparameters
- 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 named query parameters for later, otherwise falseIBOBScreen
public NamedQueryAction(java.lang.String mobileAppID, java.lang.String namedQuery, IBOBScreen screen, java.util.Vector parameters, boolean saveParams)
mobileAppID
- String
value of the mobile application IDnamedQuery
- String
value of the named queryscreen
- IBOBScreen
screen to go to after performing the named queryparameters
- Vector
list of SubmitElement objects for the parameterssaveParams
- true
to save the named query parameters for later, otherwise falseIBOBScreen
Method Detail |
---|
public void finish(boolean finished)
finish
in interface IBOBAction
finish
in class Action
finished
- true
to specify if the action finished, otherwise false
IBOBAction.finish(boolean success)
public void run()
Runnable.run()
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 |