Liferay 6.0.3

com.liferay.portal.model
Interface ContactModel

All Superinterfaces:
BaseModel<Contact>, Cloneable, Comparable<Contact>, Serializable
All Known Subinterfaces:
Contact
All Known Implementing Classes:
ContactImpl, ContactModelImpl, ContactWrapper

public interface ContactModel
extends BaseModel<Contact>

This interface is a model that represents the Contact_ table in the database.

See Also:
Contact, ContactImpl, ContactModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(Contact contact)
           
 long getAccountId()
           
 String getAimSn()
           
 Date getBirthday()
           
 long getCompanyId()
           
 long getContactId()
           
 Date getCreateDate()
           
 String getEmployeeNumber()
           
 String getEmployeeStatusId()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 String getFacebookSn()
           
 String getFirstName()
           
 String getHoursOfOperation()
           
 String getIcqSn()
           
 String getJabberSn()
           
 String getJobClass()
           
 String getJobTitle()
           
 String getLastName()
           
 boolean getMale()
           
 String getMiddleName()
           
 Date getModifiedDate()
           
 String getMsnSn()
           
 String getMySpaceSn()
           
 long getParentContactId()
           
 int getPrefixId()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 String getSkypeSn()
           
 String getSmsSn()
           
 int getSuffixId()
           
 String getTwitterSn()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 String getYmSn()
           
 int hashCode()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Determines if this model instance has been wrapped with an HTML auto escape handler.
 boolean isMale()
           
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 void setAccountId(long accountId)
           
 void setAimSn(String aimSn)
           
 void setBirthday(Date birthday)
           
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setCompanyId(long companyId)
           
 void setContactId(long contactId)
           
 void setCreateDate(Date createDate)
           
 void setEmployeeNumber(String employeeNumber)
           
 void setEmployeeStatusId(String employeeStatusId)
           
 void setEscapedModel(boolean escapedModel)
          Sets whether this model instance has been wrapped with an HTML auto escape handler.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setFacebookSn(String facebookSn)
           
 void setFirstName(String firstName)
           
 void setHoursOfOperation(String hoursOfOperation)
           
 void setIcqSn(String icqSn)
           
 void setJabberSn(String jabberSn)
           
 void setJobClass(String jobClass)
           
 void setJobTitle(String jobTitle)
           
 void setLastName(String lastName)
           
 void setMale(boolean male)
           
 void setMiddleName(String middleName)
           
 void setModifiedDate(Date modifiedDate)
           
 void setMsnSn(String msnSn)
           
 void setMySpaceSn(String mySpaceSn)
           
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setParentContactId(long parentContactId)
           
 void setPrefixId(int prefixId)
           
 void setPrimaryKey(long pk)
           
 void setSkypeSn(String skypeSn)
           
 void setSmsSn(String smsSn)
           
 void setSuffixId(int suffixId)
           
 void setTwitterSn(String twitterSn)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 void setYmSn(String ymSn)
           
 Contact toEscapedModel()
           
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 

Method Detail

getPrimaryKey

long getPrimaryKey()

setPrimaryKey

void setPrimaryKey(long pk)

getContactId

long getContactId()

setContactId

void setContactId(long contactId)

getCompanyId

long getCompanyId()

setCompanyId

void setCompanyId(long companyId)

getUserId

long getUserId()

setUserId

void setUserId(long userId)

getUserUuid

String getUserUuid()
                   throws SystemException
Throws:
SystemException

setUserUuid

void setUserUuid(String userUuid)

getUserName

String getUserName()

setUserName

void setUserName(String userName)

getCreateDate

Date getCreateDate()

setCreateDate

void setCreateDate(Date createDate)

getModifiedDate

Date getModifiedDate()

setModifiedDate

void setModifiedDate(Date modifiedDate)

getAccountId

long getAccountId()

setAccountId

void setAccountId(long accountId)

getParentContactId

long getParentContactId()

setParentContactId

void setParentContactId(long parentContactId)

getFirstName

String getFirstName()

setFirstName

void setFirstName(String firstName)

getMiddleName

String getMiddleName()

setMiddleName

void setMiddleName(String middleName)

getLastName

String getLastName()

setLastName

void setLastName(String lastName)

getPrefixId

int getPrefixId()

setPrefixId

void setPrefixId(int prefixId)

getSuffixId

int getSuffixId()

setSuffixId

void setSuffixId(int suffixId)

getMale

boolean getMale()

isMale

boolean isMale()

setMale

void setMale(boolean male)

getBirthday

Date getBirthday()

setBirthday

void setBirthday(Date birthday)

getSmsSn

String getSmsSn()

setSmsSn

void setSmsSn(String smsSn)

getAimSn

String getAimSn()

setAimSn

void setAimSn(String aimSn)

getFacebookSn

String getFacebookSn()

setFacebookSn

void setFacebookSn(String facebookSn)

getIcqSn

String getIcqSn()

setIcqSn

void setIcqSn(String icqSn)

getJabberSn

String getJabberSn()

setJabberSn

void setJabberSn(String jabberSn)

getMsnSn

String getMsnSn()

setMsnSn

void setMsnSn(String msnSn)

getMySpaceSn

String getMySpaceSn()

setMySpaceSn

void setMySpaceSn(String mySpaceSn)

getSkypeSn

String getSkypeSn()

setSkypeSn

void setSkypeSn(String skypeSn)

getTwitterSn

String getTwitterSn()

setTwitterSn

void setTwitterSn(String twitterSn)

getYmSn

String getYmSn()

setYmSn

void setYmSn(String ymSn)

getEmployeeStatusId

String getEmployeeStatusId()

setEmployeeStatusId

void setEmployeeStatusId(String employeeStatusId)

getEmployeeNumber

String getEmployeeNumber()

setEmployeeNumber

void setEmployeeNumber(String employeeNumber)

getJobTitle

String getJobTitle()

setJobTitle

void setJobTitle(String jobTitle)

getJobClass

String getJobClass()

setJobClass

void setJobClass(String jobClass)

getHoursOfOperation

String getHoursOfOperation()

setHoursOfOperation

void setHoursOfOperation(String hoursOfOperation)

toEscapedModel

Contact toEscapedModel()

isNew

boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<Contact>
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<Contact>
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<Contact>
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<Contact>
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance has been wrapped with an HTML auto escape handler.

Specified by:
isEscapedModel in interface BaseModel<Contact>
Returns:
true if this model instance has been wrapped with an HTML auto escape handler; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance has been wrapped with an HTML auto escape handler.

A model instance can be wrapped with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<Contact>
Parameters:
escapedModel - whether this model instance has been wrapped with an HTML auto escape handler
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key for this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<Contact>
Returns:
the primary key

getExpandoBridge

ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<Contact>
Returns:
the expando bridge

setExpandoBridgeAttributes

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>
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<Contact>
Returns:
the clone

compareTo

int compareTo(Contact contact)
Specified by:
compareTo in interface Comparable<Contact>

hashCode

int hashCode()
Overrides:
hashCode in class Object

toString

String toString()
Overrides:
toString in class Object

toXmlString

String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<Contact>
Returns:
the XML representation of this model instance

Liferay 6.0.3