ui.command
Class Command

java.lang.Object
  extended by ui.command.Command
Direct Known Subclasses:
BuildBackupArtifactCommand, DeleteBackupCommand, DeleteClientWorkstationCommand, DeleteEAddressCommand, DeleteExpiredBackupCommand, DeleteNAddressCommand, DeletePhoneNumberCommand, DeleteServerWorkstationCommand, DeleteServiceCommand, DeleteSessionCommand, DeleteUserCommand, ExitCommand, ExitCommand, ExportSessionListCommand, ExportUserAsVCardCommand, ExportUserListCommand, ImportUserFromVCardCommand, InfoOnClientWorkstationCommand, InfoOnEAddressCommand, InfoOnNAddressCommand, InfoOnPhoneNumberCommand, InfoOnServerWorkstationCommand, InfoOnServiceCommand, InfoOnSessionCommand, InfoOnUserCommand, LoadBackupCommand, LoadDBCommand, LogOutAdministratorCommand, NewBackupCommand, RestoreBackupArtifactCommand, SaveBackupCommand, SaveClientWorkstationCommand, SaveDBAsCommand, SaveDBCommand, SaveEAddressCommand, SaveNAddressCommand, SaveNewSessionCommand, SavePhoneNumberCommand, SaveServiceCommand, SaveUserCommand, SaveUserDocumentCommand, SearchSessionCommand, ShowAboutFrameCommand, ShowMessageFrameCommand, ShowNewBackupCommand, ShowNewClientWorkstationDialogCommand, ShowNewEAddressDialogCommand, ShowNewNAddressDialogCommand, ShowNewPhoneNumberDialogCommand, ShowNewServerWorkstationDialogCommand, ShowNewServiceDialogCommand, ShowNewSessionDialogCommand, ShowNewUserDialogCommand, ShowTextFileDialogCommand, ShowUserAddressBookDialogCommand, ShowUserDocumentDialogCommand

public abstract class Command
extends java.lang.Object


Field Summary
static int ABORT_STATUS
           
static int ERROR_STATUS
           
static int EXECUTE_STATUS
           
static int SUCCESS_STATUS
           
static int UNDEFINED_STATUS
           
static int VETOED_STATUS
           
 
Constructor Summary
Command()
           
 
Method Summary
protected  void epilogue()
           
protected abstract  void execution()
           
 int getStatus()
           
protected abstract  void prologo()
           
protected  void setStatus(int status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNDEFINED_STATUS

public static final int UNDEFINED_STATUS
See Also:
Constant Field Values

SUCCESS_STATUS

public static final int SUCCESS_STATUS
See Also:
Constant Field Values

ABORT_STATUS

public static final int ABORT_STATUS
See Also:
Constant Field Values

ERROR_STATUS

public static final int ERROR_STATUS
See Also:
Constant Field Values

VETOED_STATUS

public static final int VETOED_STATUS
See Also:
Constant Field Values

EXECUTE_STATUS

public static final int EXECUTE_STATUS
See Also:
Constant Field Values
Constructor Detail

Command

public Command()
Method Detail

prologo

protected abstract void prologo()

execution

protected abstract void execution()
                           throws java.lang.Exception
Throws:
java.lang.Exception

epilogue

protected void epilogue()

getStatus

public int getStatus()
Returns:
Returns the status.

setStatus

protected void setStatus(int status)
Parameters:
status - The status to set.


Copyright © 2006 SF.net. All Rights Reserved.