Class ContactDetail
- java.lang.Object
-
- org.silverpeas.core.contact.model.ContactDetail
-
- All Implemented Interfaces:
Serializable
,Contact
public class ContactDetail extends Object implements Contact, Serializable
This object contains the description of a contact- Version:
- 1.0
- Author:
- Nicolas Eysseric
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContactDetail(String id, String firstName, String lastName, String email, String phone, String fax, String userId, Date creationDate, String creatorId)
ContactDetail(ContactPK pk)
ContactDetail(ContactPK pk, String firstName, String lastName, String email, String phone, String fax, String userId, Date creationDate, String creatorId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreationDate()
String
getCreatorId()
String
getEmail()
String
getFax()
String
getFirstName()
String
getLastName()
String
getPhone()
ContactPK
getPK()
UserFull
getUserFull()
String
getUserId()
void
setCreationDate(Date creationDate)
void
setCreatorId(String creatorId)
void
setEmail(String email)
void
setFax(String fax)
void
setFirstName(String firstName)
void
setLastName(String lastName)
void
setPhone(String phone)
void
setUserExtraDataRequired(boolean userExtraDataRequired)
Sets the indicator that permits to handle the loading of user extra data when necessary.void
setUserId(String userId)
String
toString()
-
-
-
Constructor Detail
-
ContactDetail
public ContactDetail(ContactPK pk, String firstName, String lastName, String email, String phone, String fax, String userId, Date creationDate, String creatorId)
-
ContactDetail
public ContactDetail(String id, String firstName, String lastName, String email, String phone, String fax, String userId, Date creationDate, String creatorId)
-
ContactDetail
public ContactDetail(ContactPK pk)
-
-
Method Detail
-
getFirstName
public String getFirstName()
- Specified by:
getFirstName
in interfaceContact
-
setFirstName
public void setFirstName(String firstName)
-
getLastName
public String getLastName()
- Specified by:
getLastName
in interfaceContact
-
setLastName
public void setLastName(String lastName)
-
setEmail
public void setEmail(String email)
-
setPhone
public void setPhone(String phone)
-
setFax
public void setFax(String fax)
-
getCreationDate
public Date getCreationDate()
- Specified by:
getCreationDate
in interfaceContact
-
getCreatorId
public String getCreatorId()
- Specified by:
getCreatorId
in interfaceContact
-
setUserId
public void setUserId(String userId)
-
setCreationDate
public void setCreationDate(Date creationDate)
-
setCreatorId
public void setCreatorId(String creatorId)
-
setUserExtraDataRequired
public void setUserExtraDataRequired(boolean userExtraDataRequired)
Sets the indicator that permits to handle the loading of user extra data when necessary. (lazy loading).- Parameters:
userExtraDataRequired
- true if required, false otherwise.
-
getUserFull
public UserFull getUserFull()
- Specified by:
getUserFull
in interfaceContact
-
-