|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This class serves as the intermediary interface between a distributed * application's GUI and communication components. Implementors of this * interface become the channel through which a GUI component makes * requests of the associated server piece.
| Method Summary | |
void |
alert(java.lang.String msg,
java.lang.String title)
Pop up a message to the user * @param msg Message to present to user * @param title Dialog title |
void |
cancel(ApplicationPanel ap)
Method for receiving a Cancel event from an * ApplicationPanel object. |
boolean |
custom(ApplicationPanel ap)
Method for receiving a Custom event from an * ApplicationPanel object. |
boolean |
delete(ApplicationPanel ap)
Method for receiving a Delete event from an * ApplicationPanel object. |
void |
exit()
End client connection with server |
java.lang.String |
getEmployerID()
|
java.awt.Frame |
getFrame()
Obtain the frame housing this client. |
java.lang.String |
getPassword()
|
Relation |
getRelation()
Obtain the resulting Relation from the most recent
* request to the server. |
Relation |
getRequestResult()
Obtain the resulting Relation from the most recent
* request. |
java.lang.String |
getUserID()
|
java.lang.String |
getUserLogon()
Obtain the username portion of the logon for this user * @return User's logon name |
java.lang.String |
getUserName()
|
java.lang.String |
getWhyInvalid()
Obtain why the latest request was not satisfied * @return Reason a request was not satisfied |
boolean |
insert(ApplicationPanel ap)
Method for receiving an Insert event from an * ApplicationPanel object. |
void |
login()
Custom login method that an ApplicationLogon object
* calls for application specific login functionality. |
boolean |
register(java.lang.String logonName,
java.lang.String logonPassword,
boolean isLogon)
Method for initial user logon and valid use registration with * server * @param logonName User's logon name * @param logonPassword User's logon password * @param isLogon True for initial logon, False for registering * a valid user * @return True for a successful logon * @deprecated use register(String, String) instead. |
boolean |
save(ApplicationPanel ap)
Write the contents of the ApplicationPanel provided to the database * @param ap ApplicationPanel containing the data
* to be written to the database
* @return True when data has been successfully saved |
boolean |
select(ApplicationPanel ap,
boolean newList)
Method for receiving a Select event from an * ApplicationPanel or TCPClientMenu
* object. |
boolean |
selectRecord(ApplicationPanel ap,
boolean isNew)
Stub function for receiving a SelectRecord event from an * ApplicationPanel object. |
boolean |
update(ApplicationPanel ap)
Method for receiving a Update event from an * ApplicationPanel object. |
| Methods inherited from interface gov.virginia.dcjs.gui.GridRowProvider |
getGroup, getMetaData, getRowSource, isNewRequest |
| Method Detail |
public boolean register(java.lang.String logonName,
java.lang.String logonPassword,
boolean isLogon)
register(String, String) instead.
* isLogon functionality no longer supported.
public void login()
ApplicationLogon object
* calls for application specific login functionality.
* @deprecated use register() instead.
public void exit()
public java.lang.String getWhyInvalid()
public boolean select(ApplicationPanel ap,
boolean newList)
ApplicationPanel or TCPClientMenu
* object.
* @param ap Application Panel object making the request
* @param newList True if the request is for a new listing,
* False for obtaining a sublist for an existing record.
* @return True for a successful operation
public boolean selectRecord(ApplicationPanel ap,
boolean isNew)
ApplicationPanel object.
* @param ap Application Panel object making the request
* @param isNew True if the request is for a new record,
* False for obtaining an existing record.
* @return True for a successful operation
public boolean save(ApplicationPanel ap)
ApplicationPanel containing the data
* to be written to the database
* @return True when data has been successfully saved
public boolean insert(ApplicationPanel ap)
ApplicationPanel object.
* @param ap Application Panel object making the request
* @return True for a successful operation
public boolean update(ApplicationPanel ap)
ApplicationPanel object.
* @param ap Application Panel object making the request
* @return True for a successful operation
public boolean delete(ApplicationPanel ap)
ApplicationPanel object.
* @param ap Application Panel object making the request
* @return True for a successful operation
public void cancel(ApplicationPanel ap)
ApplicationPanel object.
* @param ap Application Panel object making the request
public boolean custom(ApplicationPanel ap)
ApplicationPanel object.
* @param ap Application Panel object making the request
public void alert(java.lang.String msg,
java.lang.String title)
public Relation getRelation()
Relation from the most recent
* request to the server.
* @return Resulting data from last SQL request to server.
public Relation getRequestResult()
Relation from the most recent
* request.
* @deprecated Use getRelation() instead.
public java.lang.String getUserName()
public java.lang.String getUserLogon()
public java.lang.String getPassword()
public java.lang.String getUserID()
public java.lang.String getEmployerID()
public java.awt.Frame getFrame()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||