com.sybase.uep.bobclient.actions
Class Action

java.lang.Object
  extended by com.sybase.uep.bobclient.actions.Action
All Implemented Interfaces:
IBOBAction, java.lang.Runnable
Direct Known Subclasses:
ActionList, AlertAction, AlertErrorAction, AlertQuestionAction, BackAction, CloseScreenAction, DisableScreenSaverAction, EnableScreenSaverAction, ExitAction, GoogleMapAction, LockClientAction, LoginAction, LogoutAction, NamedQueryAction, NoOpAction, PersistAction, RefreshAction, RIMPimAppAction, SaveMobileDataContextAction, ScreenAction, SubmitAction, SyncAction, SyncPublicationAction, TabAction

public abstract class Action
extends java.lang.Object
implements IBOBAction

This is an abstract class which implements the IBOBAction to defined a based implementation for an action used in the BOB Blackberry client.

All of the stock actions extends this class such as AlertAction, ScreenAction, SyncAction, and etc.

Author:
tdang
See Also:
IBOBAction, ActionList, AlertAction, AlertErrorAction, AlertQuestionAction, BinaryDownloadAction, BinaryUploadAction, CloseScreenAction, DisableScreenSaverAction, EnableScreenSaverAction, ExitAction, LockClientAction, LoginAction, LogoutAction, NoOpAction, PersistAction, RefreshAction, RIMPimAppAction, SaveMobileDataContextAction, SubmitAction, SyncAction, SyncPublicationAction, TabAction

Constructor Summary
Action()
           
 
Method Summary
 void finish(boolean success)
          (non-Javadoc)
 boolean hasFailed()
          (non-Javadoc)
 boolean isProcessing()
          (non-Javadoc)
 void setHasFailed(boolean bol)
          (non-Javadoc)
 void setIsProcessing(boolean bol)
          (non-Javadoc)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Runnable
run
 

Constructor Detail

Action

public Action()
Method Detail

hasFailed

public boolean hasFailed()
(non-Javadoc)

Specified by:
hasFailed in interface IBOBAction
Returns:
true if the action failed otherwise false
See Also:
IBOBAction.hasFailed()

setHasFailed

public void setHasFailed(boolean bol)
(non-Javadoc)

Specified by:
setHasFailed in interface IBOBAction
Parameters:
bol - true if the action failed otherwise false
See Also:
IBOBAction.setHasFailed(boolean bol)

isProcessing

public boolean isProcessing()
(non-Javadoc)

Specified by:
isProcessing in interface IBOBAction
Returns:
true if the action is current being processed otherwise false
See Also:
IBOBAction.isProcessing()

setIsProcessing

public void setIsProcessing(boolean bol)
(non-Javadoc)

Specified by:
setIsProcessing in interface IBOBAction
Parameters:
bol - true if action is processing else false
See Also:
IBOBAction.setIsProcessing(boolean bol)

finish

public void finish(boolean success)
(non-Javadoc)

Specified by:
finish in interface IBOBAction
Parameters:
success - true if the action succeeded otherwise false
See Also:
IBOBAction.finish(boolean success)