|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectobject.common.Contact_client
public class Contact_client
Description
Contact_client object
Infos : KLB - IPMC - 12/2005
| Field Summary | |
|---|---|
private int |
client_id
ID of User Object who is the client |
private int |
contact_client_id
ID of Contact_client Object |
private java.util.Date |
date
Date of contact client |
private java.lang.String |
demande
Client question or problem |
private java.lang.String |
reponse
Answer done to the client |
private java.lang.String |
type_contact
Type contact (mail or phone) |
private int |
user_id
ID of User object who get the contatc whith the client |
| Constructor Summary | |
|---|---|
Contact_client()
Default constructor |
|
Contact_client(int contact_client_id)
Constructs a Contact_client object from Contact_client ID |
|
| Method Summary | |
|---|---|
int |
getClient_id()
ID of User Object who is the client |
int |
getContact_client_id()
ID of Contact_client Object |
java.util.Date |
getDate()
Date of contact client |
java.lang.String |
getDemande()
Client question or problem |
java.lang.String |
getReponse()
Answer done to the client |
java.lang.String |
getType_contact()
Type contact (mail or phone) |
int |
getUser_id()
ID of User object who get the contatc whith the client |
void |
loadParams(java.util.Hashtable hashParams)
This function loadParams from HTML form |
boolean |
save()
This function save this Contact_client Object into database Note that all attributes must be not null and not empty |
void |
setClient_id(int client_id)
|
void |
setContact_client_id(int contact_client_id)
|
void |
setDate(java.util.Date date)
|
void |
setDemande(java.lang.String demande)
|
void |
setReponse(java.lang.String reponse)
|
void |
setType_contact(java.lang.String type_contact)
|
void |
setUser_id(int user_id)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int contact_client_id
private int client_id
private int user_id
private java.util.Date date
private java.lang.String type_contact
private java.lang.String demande
private java.lang.String reponse
| Constructor Detail |
|---|
public Contact_client()
public Contact_client(int contact_client_id)
contact_client_id - ID of existing Contact_client| Method Detail |
|---|
public int getContact_client_id()
public void setContact_client_id(int contact_client_id)
public int getClient_id()
public void setClient_id(int client_id)
public int getUser_id()
public void setUser_id(int user_id)
public java.util.Date getDate()
public void setDate(java.util.Date date)
public java.lang.String getType_contact()
public void setType_contact(java.lang.String type_contact)
public java.lang.String getDemande()
public void setDemande(java.lang.String demande)
public java.lang.String getReponse()
public void setReponse(java.lang.String reponse)
public void loadParams(java.util.Hashtable hashParams)
hashParams - Hashtable containspublic boolean save()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||