|
PSE 2000 Group 4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
jobmatch.data.AccountDO
Data core class, used to set, retrieve the AccountDO information.
| Field Summary | |
static jobmatch.data.RDBColumn |
Email
|
protected static boolean |
isView
|
static jobmatch.data.RDBColumn |
LastHost
|
static jobmatch.data.RDBColumn |
LastIP
|
static jobmatch.data.RDBColumn |
LastLogin
|
static jobmatch.data.RDBColumn |
LoginReminder
|
static jobmatch.data.RDBColumn |
Passphrase
|
static jobmatch.data.RDBColumn |
PrimaryKey
|
static jobmatch.data.RDBTable |
table
static final data members name the table and columns for this DO. |
static jobmatch.data.RDBColumn |
Username
|
| Constructor Summary | |
protected |
AccountDO()
Protected constructor. |
protected |
AccountDO(boolean is_view)
Protected constructor. |
protected |
AccountDO(jobmatch.data.ObjectId id)
Protected constructor used by createExisting(ObjectId) above. |
protected |
AccountDO(ResultSet rs)
Protected constructor. |
| Method Summary | |
protected void |
afterAnySet()
|
protected void |
beforeAnyGet()
The developer of a Business Object that derives from this class can override the methods:
beforeAnyGet
beforeAnySet
afterAnySet
to handle any general assertions or cleanup needed
for get and set methods. |
protected void |
beforeAnySet()
|
void |
commit()
Inserts/Updates the DO into its table. |
void |
commit(jobmatch.data.DBTransaction dbt)
Inserts/Updates the DO into its table. |
void |
delete()
Deletes the DO from its table. |
void |
delete(jobmatch.data.DBTransaction dbt)
Deletes the DO from its table. |
String |
getEmail()
Get Email of the Account |
String |
getLastHost()
Get LastHost of the Account |
String |
getLastIP()
Get LastIP of the Account |
Timestamp |
getLastLogin()
Get LastLogin of the Account |
int |
getLoginReminder()
Get LoginReminder of the Account |
String |
getPassphrase()
Get Passphrase of the Account |
protected String |
getTableName()
Return Account as the name of the table in the database which contains AccountDO objects. |
String |
getUsername()
Get Username of the Account |
boolean |
isLoaded()
isLoaded() Returns true if the data for this objects has been retrieved from the database. |
boolean |
isReadOnly()
isReadOnly() Returns true if the data for this object has been marked read-only. |
void |
loadData()
loadData() Load the fields for the DO from the database. |
protected void |
makeIdentical(AccountDO orig)
makeIdentical() Assigns the DataStruct of an existing DO to this DO. |
protected void |
modifyDO(jobmatch.data.DBTransaction dbt,
boolean delete)
Modifies the DO within its table. |
protected void |
okToCommit()
A stub method for implementing pre-commit assertions for this AccountDO. |
protected void |
okToDelete()
A stub method for implementing pre-delete assertions for this AccountDO. |
void |
setEmail(String Email)
Set Email of the Account |
void |
setLastHost(String LastHost)
Set LastHost of the Account |
void |
setLastIP(String LastIP)
Set LastIP of the Account |
void |
setLastLogin(Timestamp LastLogin)
Set LastLogin of the Account |
void |
setLoginReminder(int LoginReminder)
Set LoginReminder of the Account |
void |
setPassphrase(String Passphrase)
Set Passphrase of the Account |
void |
setUsername(String Username)
Set Username of the Account |
String |
toString()
|
String |
toString(int indentCount)
|
| Field Detail |
public static final jobmatch.data.RDBTable table
public static final jobmatch.data.RDBColumn PrimaryKey
protected static final boolean isView
public static final jobmatch.data.RDBColumn Username
public static final jobmatch.data.RDBColumn Email
public static final jobmatch.data.RDBColumn LastLogin
public static final jobmatch.data.RDBColumn LoginReminder
public static final jobmatch.data.RDBColumn Passphrase
public static final jobmatch.data.RDBColumn LastIP
public static final jobmatch.data.RDBColumn LastHost
| Constructor Detail |
protected AccountDO(boolean is_view)
throws jobmatch.data.ObjectIdException,
jobmatch.data.DatabaseManagerException
protected AccountDO()
throws jobmatch.data.ObjectIdException,
jobmatch.data.DatabaseManagerException
protected AccountDO(jobmatch.data.ObjectId id)
throws SQLException,
jobmatch.data.ObjectIdException,
jobmatch.data.DataObjectException,
jobmatch.data.DatabaseManagerException
id - The ObjectId for the object.
protected AccountDO(ResultSet rs)
throws SQLException,
jobmatch.data.ObjectIdException,
jobmatch.data.DataObjectException,
jobmatch.data.DatabaseManagerException
rs - Result set from which to obtain product data.| Method Detail |
protected String getTableName()
CoreDOpublic boolean isReadOnly()
public boolean isLoaded()
public void loadData()
throws SQLException,
jobmatch.data.ObjectIdException,
jobmatch.data.DataObjectException
protected void beforeAnyGet()
beforeAnyGet
beforeAnySet
afterAnySet
to handle any general assertions or cleanup needed
for get and set methods.
protected void beforeAnySet()
throws Exception
protected void afterAnySet()
protected void makeIdentical(AccountDO orig)
orig - The original DO.
public String getUsername()
throws jobmatch.data.DataObjectException
public void setUsername(String Username)
throws jobmatch.data.DataObjectException
Username - of the Account
public String getEmail()
throws jobmatch.data.DataObjectException
public void setEmail(String Email)
throws jobmatch.data.DataObjectException
Email - of the Account
public Timestamp getLastLogin()
throws jobmatch.data.DataObjectException
public void setLastLogin(Timestamp LastLogin)
throws jobmatch.data.DataObjectException
LastLogin - of the Account
public int getLoginReminder()
throws jobmatch.data.DataObjectException
public void setLoginReminder(int LoginReminder)
throws jobmatch.data.DataObjectException
LoginReminder - of the Account
public String getPassphrase()
throws jobmatch.data.DataObjectException
public void setPassphrase(String Passphrase)
throws jobmatch.data.DataObjectException
Passphrase - of the Account
public String getLastIP()
throws jobmatch.data.DataObjectException
public void setLastIP(String LastIP)
throws jobmatch.data.DataObjectException
LastIP - of the Account
public String getLastHost()
throws jobmatch.data.DataObjectException
public void setLastHost(String LastHost)
throws jobmatch.data.DataObjectException
LastHost - of the Accountpublic String toString()
public String toString(int indentCount)
protected void okToCommit()
throws jobmatch.data.RefAssertionException
protected void okToDelete()
throws jobmatch.data.RefAssertionException
public void commit()
throws SQLException,
jobmatch.data.DatabaseManagerException,
jobmatch.data.DataObjectException,
jobmatch.data.RefAssertionException,
jobmatch.data.DBRowUpdateException,
jobmatch.data.QueryException
public void commit(jobmatch.data.DBTransaction dbt)
throws SQLException,
jobmatch.data.DatabaseManagerException,
jobmatch.data.DataObjectException,
jobmatch.data.RefAssertionException,
jobmatch.data.DBRowUpdateException,
jobmatch.data.QueryException
dbt - The transaction object to use for this operation.
public void delete()
throws SQLException,
jobmatch.data.DatabaseManagerException,
jobmatch.data.DataObjectException,
jobmatch.data.RefAssertionException,
jobmatch.data.DBRowUpdateException,
jobmatch.data.QueryException
public void delete(jobmatch.data.DBTransaction dbt)
throws SQLException,
jobmatch.data.DatabaseManagerException,
jobmatch.data.DataObjectException,
jobmatch.data.RefAssertionException,
jobmatch.data.DBRowUpdateException,
jobmatch.data.QueryException
dbt - The transaction object to use for this operation.
protected void modifyDO(jobmatch.data.DBTransaction dbt,
boolean delete)
throws SQLException,
jobmatch.data.DatabaseManagerException,
jobmatch.data.DataObjectException,
jobmatch.data.RefAssertionException,
jobmatch.data.DBRowUpdateException,
jobmatch.data.QueryException
dbt - The transaction object to use for this operation.delete - True if doing a delete, otherwise doing insert/update.
|
PSE 2000 Group 4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||