com.stratelia.webactiv.util.contact.model
Class ContactDetail

java.lang.Object
  extended by com.stratelia.webactiv.util.contact.model.ContactDetail
All Implemented Interfaces:
Contact, Serializable

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
ContactDetail(ContactPK pk)
           
ContactDetail(ContactPK pk, String firstName, String lastName, String email, String phone, String fax, String userId, Date creationDate, String creatorId)
           
ContactDetail(String id, String firstName, String lastName, String email, String phone, String fax, String userId, Date creationDate, String creatorId)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

getPK

public ContactPK getPK()
Specified by:
getPK in interface Contact

getFirstName

public String getFirstName()
Specified by:
getFirstName in interface Contact

setFirstName

public void setFirstName(String firstName)

getLastName

public String getLastName()
Specified by:
getLastName in interface Contact

setLastName

public void setLastName(String lastName)

getEmail

public String getEmail()
Specified by:
getEmail in interface Contact

setEmail

public void setEmail(String email)

getPhone

public String getPhone()
Specified by:
getPhone in interface Contact

setPhone

public void setPhone(String phone)

getFax

public String getFax()
Specified by:
getFax in interface Contact

setFax

public void setFax(String fax)

getCreationDate

public Date getCreationDate()
Specified by:
getCreationDate in interface Contact

getCreatorId

public String getCreatorId()
Specified by:
getCreatorId in interface Contact

getUserId

public String getUserId()
Specified by:
getUserId in interface Contact

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 interface Contact

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2016 Silverpeas. All Rights Reserved.