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

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

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
CompleteContact(ContactDetail pubDetail, String modelId)
          Create a new CompleteContact
CompleteContact(String instanceId, String modelId)
           
 
Method Summary
 ContactDetail getContactDetail()
          Get the contact parameters
 Date getCreationDate()
           
 String getCreatorId()
           
 String getCreatorLanguage()
           
 String getEmail()
           
 String getFax()
           
 String getFirstName()
           
 List<org.apache.commons.fileupload.FileItem> getFormItems()
           
 Map<String,String> getFormNamedValues()
           
 List<String> getFormValues()
           
 Map<String,String> getFormValues(String language, boolean onlyDefinedValues)
           
 String getLastName()
           
 String getModelId()
           
 String getPhone()
           
 ContactPK getPK()
           
 Form getUpdateForm()
           
 UserFull getUserFull()
           
 String getUserId()
           
 Form getViewForm()
           
 void indexForm(FullIndexEntry indexEntry)
           
 boolean isFormDefined()
           
 void removeForm()
           
 void saveForm()
           
 void setCreationDate(Date date)
           
 void setCreatorId(String id)
           
 void setCreatorLanguage(String creatorLanguage)
           
 void setFormItems(List<org.apache.commons.fileupload.FileItem> formItems)
           
 void setFormNamedValues(Map<String,String> formNamedValues)
           
 void setFormValues(List<String> formValues)
           
 void setModelId(String modelId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompleteContact

public CompleteContact(ContactDetail pubDetail,
                       String modelId)
Create a new CompleteContact

Parameters:
pubDetail -
modelId -
Since:
1.0
See Also:
com.stratelia.webactiv.util.contact.model.PulicationDetail

CompleteContact

public CompleteContact(String instanceId,
                       String modelId)
Method Detail

getContactDetail

public ContactDetail getContactDetail()
Get the contact parameters

Returns:
a ContactDetail - the contact parameters
Since:
1.0
See Also:
com.stratelia.webactiv.util.contact.model.PulicationDetail

getModelId

public String getModelId()
Returns:

setModelId

public void setModelId(String modelId)
Parameters:
modelId -

getPK

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

getFirstName

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

getLastName

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

getEmail

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

getPhone

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

getFax

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

getCreationDate

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

setCreationDate

public void setCreationDate(Date date)

getCreatorId

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

setCreatorId

public void setCreatorId(String id)

getUserId

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

getUserFull

public UserFull getUserFull()
Specified by:
getUserFull in interface Contact

getUpdateForm

public Form getUpdateForm()

getViewForm

public Form getViewForm()

isFormDefined

public boolean isFormDefined()

saveForm

public void saveForm()
              throws PublicationTemplateException,
                     FormException
Throws:
PublicationTemplateException
FormException

removeForm

public void removeForm()
                throws PublicationTemplateException,
                       FormException
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()

setFormValues

public void setFormValues(List<String> formValues)

getFormValues

public List<String> getFormValues()

getFormValues

public Map<String,String> getFormValues(String language,
                                        boolean onlyDefinedValues)

setFormNamedValues

public void setFormNamedValues(Map<String,String> formNamedValues)

getFormNamedValues

public Map<String,String> getFormNamedValues()

setCreatorLanguage

public void setCreatorLanguage(String creatorLanguage)

getCreatorLanguage

public String getCreatorLanguage()


Copyright © 2016 Silverpeas. All Rights Reserved.