Class CompleteContact
- java.lang.Object
-
- org.silverpeas.core.contact.model.CompleteContact
-
- All Implemented Interfaces:
Serializable
,Contact
public class CompleteContact extends Object implements Contact, Serializable
This object contains the description of a complete contact (contact parameter, model detail, info)- Version:
- 1.0
- Author:
- Nicolas Eysseric
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CompleteContact(String instanceId, String modelId)
CompleteContact(ContactDetail contactDetail, String modelId)
Create a new CompleteContact
-
Method Summary
-
-
-
Constructor Detail
-
CompleteContact
public CompleteContact(ContactDetail contactDetail, String modelId)
Create a new CompleteContact- Parameters:
contactDetail
- the contact detailmodelId
- the modeil identifier- Since:
- 1.0
- See Also:
ContactDetail
-
-
Method Detail
-
getContactDetail
public ContactDetail getContactDetail()
Get the contact parameters- Returns:
- a ContactDetail - the contact parameters
- Since:
- 1.0
- See Also:
ContactDetail
-
getModelId
public String getModelId()
- Returns:
- the model identifier
-
setModelId
public void setModelId(String modelId)
- Parameters:
modelId
- the model identifier to set
-
getFirstName
public String getFirstName()
- Specified by:
getFirstName
in interfaceContact
-
getLastName
public String getLastName()
- Specified by:
getLastName
in interfaceContact
-
getCreationDate
public Date getCreationDate()
- Specified by:
getCreationDate
in interfaceContact
-
setCreationDate
public void setCreationDate(Date date)
-
getCreatorId
public String getCreatorId()
- Specified by:
getCreatorId
in interfaceContact
-
setCreatorId
public void setCreatorId(String id)
-
getUserFull
public UserFull getUserFull()
- Specified by:
getUserFull
in interfaceContact
-
getUpdateForm
public Form getUpdateForm()
-
getViewForm
public Form getViewForm()
-
isFormDefined
public boolean isFormDefined()
-
saveForm
public void saveForm() throws PublicationTemplateException, FormException
-
removeForm
public void removeForm() throws PublicationTemplateException, FormException
-
indexForm
public void indexForm(FullIndexEntry indexEntry)
-
setFormItems
public void setFormItems(List<org.apache.commons.fileupload.FileItem> formItems)
-
getFormItems
public List<org.apache.commons.fileupload.FileItem> getFormItems()
-
setCreatorLanguage
public void setCreatorLanguage(String creatorLanguage)
-
getCreatorLanguage
public String getCreatorLanguage()
-
-