com.liferay.portal.model.impl
Class ContactModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<Contact>
com.liferay.portal.model.impl.ContactModelImpl
- All Implemented Interfaces:
- BaseModel<Contact>, ContactModel, Serializable, Cloneable, Comparable<Contact>
- Direct Known Subclasses:
- ContactImpl
public class ContactModelImpl
- extends BaseModelImpl<Contact>
- implements ContactModel
This interface is a model that represents the Contact_ table in the
database.
- See Also:
ContactImpl,
Contact,
ContactModel,
Serialized Form- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final Object[][] TABLE_COLUMNS
TABLE_SQL_CREATE
public static final String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final String TABLE_SQL_DROP
- See Also:
- Constant Field Values
DATA_SOURCE
public static final String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final String TX_MANAGER
- See Also:
- Constant Field Values
ENTITY_CACHE_ENABLED
public static final boolean ENTITY_CACHE_ENABLED
FINDER_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
ContactModelImpl
public ContactModelImpl()
toModel
public static Contact toModel(ContactSoap soapModel)
toModels
public static List<Contact> toModels(ContactSoap[] soapModels)
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface ContactModel
setPrimaryKey
public void setPrimaryKey(long pk)
- Specified by:
setPrimaryKey in interface ContactModel
getPrimaryKeyObj
public Serializable getPrimaryKeyObj()
- Description copied from interface:
BaseModel
- Gets the primary key for this model instance.
- Specified by:
getPrimaryKeyObj in interface BaseModel<Contact>- Specified by:
getPrimaryKeyObj in interface ContactModel
- Returns:
- the primary key
getContactId
public long getContactId()
- Specified by:
getContactId in interface ContactModel
setContactId
public void setContactId(long contactId)
- Specified by:
setContactId in interface ContactModel
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId in interface ContactModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface ContactModel
getUserId
public long getUserId()
- Specified by:
getUserId in interface ContactModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId in interface ContactModel
getUserUuid
public String getUserUuid()
throws SystemException
- Specified by:
getUserUuid in interface ContactModel
- Throws:
SystemException
setUserUuid
public void setUserUuid(String userUuid)
- Specified by:
setUserUuid in interface ContactModel
getUserName
public String getUserName()
- Specified by:
getUserName in interface ContactModel
setUserName
public void setUserName(String userName)
- Specified by:
setUserName in interface ContactModel
getCreateDate
public Date getCreateDate()
- Specified by:
getCreateDate in interface ContactModel
setCreateDate
public void setCreateDate(Date createDate)
- Specified by:
setCreateDate in interface ContactModel
getModifiedDate
public Date getModifiedDate()
- Specified by:
getModifiedDate in interface ContactModel
setModifiedDate
public void setModifiedDate(Date modifiedDate)
- Specified by:
setModifiedDate in interface ContactModel
getAccountId
public long getAccountId()
- Specified by:
getAccountId in interface ContactModel
setAccountId
public void setAccountId(long accountId)
- Specified by:
setAccountId in interface ContactModel
getParentContactId
public long getParentContactId()
- Specified by:
getParentContactId in interface ContactModel
setParentContactId
public void setParentContactId(long parentContactId)
- Specified by:
setParentContactId in interface ContactModel
getFirstName
public String getFirstName()
- Specified by:
getFirstName in interface ContactModel
setFirstName
public void setFirstName(String firstName)
- Specified by:
setFirstName in interface ContactModel
getMiddleName
public String getMiddleName()
- Specified by:
getMiddleName in interface ContactModel
setMiddleName
public void setMiddleName(String middleName)
- Specified by:
setMiddleName in interface ContactModel
getLastName
public String getLastName()
- Specified by:
getLastName in interface ContactModel
setLastName
public void setLastName(String lastName)
- Specified by:
setLastName in interface ContactModel
getPrefixId
public int getPrefixId()
- Specified by:
getPrefixId in interface ContactModel
setPrefixId
public void setPrefixId(int prefixId)
- Specified by:
setPrefixId in interface ContactModel
getSuffixId
public int getSuffixId()
- Specified by:
getSuffixId in interface ContactModel
setSuffixId
public void setSuffixId(int suffixId)
- Specified by:
setSuffixId in interface ContactModel
getMale
public boolean getMale()
- Specified by:
getMale in interface ContactModel
isMale
public boolean isMale()
- Specified by:
isMale in interface ContactModel
setMale
public void setMale(boolean male)
- Specified by:
setMale in interface ContactModel
getBirthday
public Date getBirthday()
- Specified by:
getBirthday in interface ContactModel
setBirthday
public void setBirthday(Date birthday)
- Specified by:
setBirthday in interface ContactModel
getSmsSn
public String getSmsSn()
- Specified by:
getSmsSn in interface ContactModel
setSmsSn
public void setSmsSn(String smsSn)
- Specified by:
setSmsSn in interface ContactModel
getAimSn
public String getAimSn()
- Specified by:
getAimSn in interface ContactModel
setAimSn
public void setAimSn(String aimSn)
- Specified by:
setAimSn in interface ContactModel
getFacebookSn
public String getFacebookSn()
- Specified by:
getFacebookSn in interface ContactModel
setFacebookSn
public void setFacebookSn(String facebookSn)
- Specified by:
setFacebookSn in interface ContactModel
getIcqSn
public String getIcqSn()
- Specified by:
getIcqSn in interface ContactModel
setIcqSn
public void setIcqSn(String icqSn)
- Specified by:
setIcqSn in interface ContactModel
getJabberSn
public String getJabberSn()
- Specified by:
getJabberSn in interface ContactModel
setJabberSn
public void setJabberSn(String jabberSn)
- Specified by:
setJabberSn in interface ContactModel
getMsnSn
public String getMsnSn()
- Specified by:
getMsnSn in interface ContactModel
setMsnSn
public void setMsnSn(String msnSn)
- Specified by:
setMsnSn in interface ContactModel
getMySpaceSn
public String getMySpaceSn()
- Specified by:
getMySpaceSn in interface ContactModel
setMySpaceSn
public void setMySpaceSn(String mySpaceSn)
- Specified by:
setMySpaceSn in interface ContactModel
getSkypeSn
public String getSkypeSn()
- Specified by:
getSkypeSn in interface ContactModel
setSkypeSn
public void setSkypeSn(String skypeSn)
- Specified by:
setSkypeSn in interface ContactModel
getTwitterSn
public String getTwitterSn()
- Specified by:
getTwitterSn in interface ContactModel
setTwitterSn
public void setTwitterSn(String twitterSn)
- Specified by:
setTwitterSn in interface ContactModel
getYmSn
public String getYmSn()
- Specified by:
getYmSn in interface ContactModel
setYmSn
public void setYmSn(String ymSn)
- Specified by:
setYmSn in interface ContactModel
getEmployeeStatusId
public String getEmployeeStatusId()
- Specified by:
getEmployeeStatusId in interface ContactModel
setEmployeeStatusId
public void setEmployeeStatusId(String employeeStatusId)
- Specified by:
setEmployeeStatusId in interface ContactModel
getEmployeeNumber
public String getEmployeeNumber()
- Specified by:
getEmployeeNumber in interface ContactModel
setEmployeeNumber
public void setEmployeeNumber(String employeeNumber)
- Specified by:
setEmployeeNumber in interface ContactModel
getJobTitle
public String getJobTitle()
- Specified by:
getJobTitle in interface ContactModel
setJobTitle
public void setJobTitle(String jobTitle)
- Specified by:
setJobTitle in interface ContactModel
getJobClass
public String getJobClass()
- Specified by:
getJobClass in interface ContactModel
setJobClass
public void setJobClass(String jobClass)
- Specified by:
setJobClass in interface ContactModel
getHoursOfOperation
public String getHoursOfOperation()
- Specified by:
getHoursOfOperation in interface ContactModel
setHoursOfOperation
public void setHoursOfOperation(String hoursOfOperation)
- Specified by:
setHoursOfOperation in interface ContactModel
toEscapedModel
public Contact toEscapedModel()
- Specified by:
toEscapedModel in interface ContactModel
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Description copied from interface:
BaseModel
- Gets the expando bridge for this model instance.
- Specified by:
getExpandoBridge in interface BaseModel<Contact>- Specified by:
getExpandoBridge in interface ContactModel- Overrides:
getExpandoBridge in class BaseModelImpl<Contact>
- Returns:
- the expando bridge
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Description copied from interface:
BaseModel
- Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
- Specified by:
setExpandoBridgeAttributes in interface BaseModel<Contact>- Specified by:
setExpandoBridgeAttributes in interface ContactModel- Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<Contact>
- Parameters:
serviceContext - the service context to retrieve the expando bridge
attributes from- See Also:
ServiceContext.getExpandoBridgeAttributes(
)
clone
public Object clone()
- Description copied from interface:
BaseModel
- Creates a shallow clone of this model instance.
- Specified by:
clone in interface BaseModel<Contact>- Specified by:
clone in interface ContactModel- Specified by:
clone in class BaseModelImpl<Contact>
- Returns:
- the clone
compareTo
public int compareTo(Contact contact)
- Specified by:
compareTo in interface ContactModel- Specified by:
compareTo in interface Comparable<Contact>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface ContactModel- Overrides:
hashCode in class Object
toString
public String toString()
- Specified by:
toString in interface ContactModel- Overrides:
toString in class Object
toXmlString
public String toXmlString()
- Description copied from interface:
BaseModel
- Gets the XML representation of this model instance.
- Specified by:
toXmlString in interface BaseModel<Contact>- Specified by:
toXmlString in interface ContactModel
- Returns:
- the XML representation of this model instance