Liferay 7.0-ce-b4

com.liferay.portal.model.impl
Class ContactModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<Contact>
      extended by com.liferay.portal.model.impl.ContactModelImpl
All Implemented Interfaces:
AttachedModel, AuditedModel, BaseModel<Contact>, ClassedModel, ContactModel, MVCCModel, ShardedModel, TypedModel, Serializable, Cloneable, Comparable<Contact>
Direct Known Subclasses:
ContactBaseImpl

@JSON(strict=true)
@ProviderType
public class ContactModelImpl
extends BaseModelImpl<Contact>
implements ContactModel

The base model implementation for the Contact service. Represents a row in the "Contact_" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface ContactModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ContactImpl.

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

Field Summary
static long ACCOUNTID_COLUMN_BITMASK
           
static long CLASSNAMEID_COLUMN_BITMASK
           
static long CLASSPK_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static long CONTACTID_COLUMN_BITMASK
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static Map<String,Integer> TABLE_COLUMNS_MAP
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
ContactModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(Contact contact)
           
 boolean equals(Object obj)
           
 long getAccountId()
          Returns the account ID of this contact.
 Date getBirthday()
          Returns the birthday of this contact.
 String getClassName()
          Returns the fully qualified class name of this contact.
 long getClassNameId()
          Returns the class name ID of this contact.
 long getClassPK()
          Returns the class p k of this contact.
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this contact.
 long getContactId()
          Returns the contact ID of this contact.
 Date getCreateDate()
          Returns the create date of this contact.
 String getEmailAddress()
          Returns the email address of this contact.
 String getEmployeeNumber()
          Returns the employee number of this contact.
 String getEmployeeStatusId()
          Returns the employee status ID of this contact.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 String getFacebookSn()
          Returns the facebook sn of this contact.
 String getFirstName()
          Returns the first name of this contact.
 String getHoursOfOperation()
          Returns the hours of operation of this contact.
 String getJabberSn()
          Returns the jabber sn of this contact.
 String getJobClass()
          Returns the job class of this contact.
 String getJobTitle()
          Returns the job title of this contact.
 String getLastName()
          Returns the last name of this contact.
 boolean getMale()
          Returns the male of this contact.
 String getMiddleName()
          Returns the middle name of this contact.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this contact.
 long getMvccVersion()
          Returns the mvcc version of this contact.
 long getOriginalAccountId()
           
 long getOriginalClassNameId()
           
 long getOriginalClassPK()
           
 long getOriginalCompanyId()
           
 long getParentContactId()
          Returns the parent contact ID of this contact.
 long getPrefixId()
          Returns the prefix ID of this contact.
 long getPrimaryKey()
          Returns the primary key of this contact.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 String getSkypeSn()
          Returns the skype sn of this contact.
 String getSmsSn()
          Returns the sms sn of this contact.
 long getSuffixId()
          Returns the suffix ID of this contact.
 String getTwitterSn()
          Returns the twitter sn of this contact.
 long getUserId()
          Returns the user ID of this contact.
 String getUserName()
          Returns the user name of this contact.
 String getUserUuid()
          Returns the user uuid of this contact.
 int hashCode()
           
 boolean hasSetModifiedDate()
           
 boolean isEntityCacheEnabled()
          Returns true if this model's entity cache is enabled.
 boolean isFinderCacheEnabled()
          Returns true if this model's finder cache is enabled.
 boolean isMale()
          Returns true if this contact is male.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setAccountId(long accountId)
          Sets the account ID of this contact.
 void setBirthday(Date birthday)
          Sets the birthday of this contact.
 void setClassName(String className)
           
 void setClassNameId(long classNameId)
          Sets the class name ID of this contact.
 void setClassPK(long classPK)
          Sets the class p k of this contact.
 void setCompanyId(long companyId)
          Sets the company ID of this contact.
 void setContactId(long contactId)
          Sets the contact ID of this contact.
 void setCreateDate(Date createDate)
          Sets the create date of this contact.
 void setEmailAddress(String emailAddress)
          Sets the email address of this contact.
 void setEmployeeNumber(String employeeNumber)
          Sets the employee number of this contact.
 void setEmployeeStatusId(String employeeStatusId)
          Sets the employee status ID of this contact.
 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)
          Sets the facebook sn of this contact.
 void setFirstName(String firstName)
          Sets the first name of this contact.
 void setHoursOfOperation(String hoursOfOperation)
          Sets the hours of operation of this contact.
 void setJabberSn(String jabberSn)
          Sets the jabber sn of this contact.
 void setJobClass(String jobClass)
          Sets the job class of this contact.
 void setJobTitle(String jobTitle)
          Sets the job title of this contact.
 void setLastName(String lastName)
          Sets the last name of this contact.
 void setMale(boolean male)
          Sets whether this contact is male.
 void setMiddleName(String middleName)
          Sets the middle name of this contact.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this contact.
 void setMvccVersion(long mvccVersion)
          Sets the mvcc version of this contact.
 void setParentContactId(long parentContactId)
          Sets the parent contact ID of this contact.
 void setPrefixId(long prefixId)
          Sets the prefix ID of this contact.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this contact.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setSkypeSn(String skypeSn)
          Sets the skype sn of this contact.
 void setSmsSn(String smsSn)
          Sets the sms sn of this contact.
 void setSuffixId(long suffixId)
          Sets the suffix ID of this contact.
 void setTwitterSn(String twitterSn)
          Sets the twitter sn of this contact.
 void setUserId(long userId)
          Sets the user ID of this contact.
 void setUserName(String userName)
          Sets the user name of this contact.
 void setUserUuid(String userUuid)
          Sets the user uuid of this contact.
 CacheModel<Contact> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 Contact toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static Contact toModel(ContactSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<Contact> toModels(ContactSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.ContactModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_COLUMNS_MAP

public static final Map<String,Integer> TABLE_COLUMNS_MAP

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

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
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

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

ACCOUNTID_COLUMN_BITMASK

public static final long ACCOUNTID_COLUMN_BITMASK
See Also:
Constant Field Values

CLASSNAMEID_COLUMN_BITMASK

public static final long CLASSNAMEID_COLUMN_BITMASK
See Also:
Constant Field Values

CLASSPK_COLUMN_BITMASK

public static final long CLASSPK_COLUMN_BITMASK
See Also:
Constant Field Values

COMPANYID_COLUMN_BITMASK

public static final long COMPANYID_COLUMN_BITMASK
See Also:
Constant Field Values

CONTACTID_COLUMN_BITMASK

public static final long CONTACTID_COLUMN_BITMASK
See Also:
Constant Field Values

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

ContactModelImpl

public ContactModelImpl()
Method Detail

toModel

public static Contact toModel(ContactSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<Contact> toModels(ContactSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: ContactModel
Returns the primary key of this contact.

Specified by:
getPrimaryKey in interface ContactModel
Returns:
the primary key of this contact

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: ContactModel
Sets the primary key of this contact.

Specified by:
setPrimaryKey in interface ContactModel
Parameters:
primaryKey - the primary key of this contact

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<Contact>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface ContactModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<Contact>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface ContactModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<Contact>
Overrides:
getModelAttributes in class BaseModelImpl<Contact>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<Contact>
Overrides:
setModelAttributes in class BaseModelImpl<Contact>

getMvccVersion

@JSON
public long getMvccVersion()
Description copied from interface: ContactModel
Returns the mvcc version of this contact.

Specified by:
getMvccVersion in interface ContactModel
Specified by:
getMvccVersion in interface MVCCModel
Returns:
the mvcc version of this contact

setMvccVersion

public void setMvccVersion(long mvccVersion)
Description copied from interface: ContactModel
Sets the mvcc version of this contact.

Specified by:
setMvccVersion in interface ContactModel
Specified by:
setMvccVersion in interface MVCCModel
Parameters:
mvccVersion - the mvcc version of this contact

getContactId

@JSON
public long getContactId()
Description copied from interface: ContactModel
Returns the contact ID of this contact.

Specified by:
getContactId in interface ContactModel
Returns:
the contact ID of this contact

setContactId

public void setContactId(long contactId)
Description copied from interface: ContactModel
Sets the contact ID of this contact.

Specified by:
setContactId in interface ContactModel
Parameters:
contactId - the contact ID of this contact

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: ContactModel
Returns the company ID of this contact.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface ContactModel
Specified by:
getCompanyId in interface ShardedModel
Returns:
the company ID of this contact

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: ContactModel
Sets the company ID of this contact.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface ContactModel
Specified by:
setCompanyId in interface ShardedModel
Parameters:
companyId - the company ID of this contact

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

@JSON
public long getUserId()
Description copied from interface: ContactModel
Returns the user ID of this contact.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface ContactModel
Returns:
the user ID of this contact

setUserId

public void setUserId(long userId)
Description copied from interface: ContactModel
Sets the user ID of this contact.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface ContactModel
Parameters:
userId - the user ID of this contact

getUserUuid

public String getUserUuid()
Description copied from interface: ContactModel
Returns the user uuid of this contact.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface ContactModel
Returns:
the user uuid of this contact

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: ContactModel
Sets the user uuid of this contact.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface ContactModel
Parameters:
userUuid - the user uuid of this contact

getUserName

@JSON
public String getUserName()
Description copied from interface: ContactModel
Returns the user name of this contact.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface ContactModel
Returns:
the user name of this contact

setUserName

public void setUserName(String userName)
Description copied from interface: ContactModel
Sets the user name of this contact.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface ContactModel
Parameters:
userName - the user name of this contact

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: ContactModel
Returns the create date of this contact.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface ContactModel
Returns:
the create date of this contact

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: ContactModel
Sets the create date of this contact.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface ContactModel
Parameters:
createDate - the create date of this contact

getModifiedDate

@JSON
public Date getModifiedDate()
Description copied from interface: ContactModel
Returns the modified date of this contact.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface ContactModel
Returns:
the modified date of this contact

hasSetModifiedDate

public boolean hasSetModifiedDate()

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: ContactModel
Sets the modified date of this contact.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface ContactModel
Parameters:
modifiedDate - the modified date of this contact

getClassName

public String getClassName()
Description copied from interface: ContactModel
Returns the fully qualified class name of this contact.

Specified by:
getClassName in interface ContactModel
Specified by:
getClassName in interface TypedModel
Returns:
the fully qualified class name of this contact

setClassName

public void setClassName(String className)
Specified by:
setClassName in interface ContactModel

getClassNameId

@JSON
public long getClassNameId()
Description copied from interface: ContactModel
Returns the class name ID of this contact.

Specified by:
getClassNameId in interface ContactModel
Specified by:
getClassNameId in interface TypedModel
Returns:
the class name ID of this contact

setClassNameId

public void setClassNameId(long classNameId)
Description copied from interface: ContactModel
Sets the class name ID of this contact.

Specified by:
setClassNameId in interface ContactModel
Specified by:
setClassNameId in interface TypedModel
Parameters:
classNameId - the class name ID of this contact

getOriginalClassNameId

public long getOriginalClassNameId()

getClassPK

@JSON
public long getClassPK()
Description copied from interface: ContactModel
Returns the class p k of this contact.

Specified by:
getClassPK in interface AttachedModel
Specified by:
getClassPK in interface ContactModel
Returns:
the class p k of this contact

setClassPK

public void setClassPK(long classPK)
Description copied from interface: ContactModel
Sets the class p k of this contact.

Specified by:
setClassPK in interface AttachedModel
Specified by:
setClassPK in interface ContactModel
Parameters:
classPK - the class p k of this contact

getOriginalClassPK

public long getOriginalClassPK()

getAccountId

@JSON
public long getAccountId()
Description copied from interface: ContactModel
Returns the account ID of this contact.

Specified by:
getAccountId in interface ContactModel
Returns:
the account ID of this contact

setAccountId

public void setAccountId(long accountId)
Description copied from interface: ContactModel
Sets the account ID of this contact.

Specified by:
setAccountId in interface ContactModel
Parameters:
accountId - the account ID of this contact

getOriginalAccountId

public long getOriginalAccountId()

getParentContactId

@JSON
public long getParentContactId()
Description copied from interface: ContactModel
Returns the parent contact ID of this contact.

Specified by:
getParentContactId in interface ContactModel
Returns:
the parent contact ID of this contact

setParentContactId

public void setParentContactId(long parentContactId)
Description copied from interface: ContactModel
Sets the parent contact ID of this contact.

Specified by:
setParentContactId in interface ContactModel
Parameters:
parentContactId - the parent contact ID of this contact

getEmailAddress

@JSON
public String getEmailAddress()
Description copied from interface: ContactModel
Returns the email address of this contact.

Specified by:
getEmailAddress in interface ContactModel
Returns:
the email address of this contact

setEmailAddress

public void setEmailAddress(String emailAddress)
Description copied from interface: ContactModel
Sets the email address of this contact.

Specified by:
setEmailAddress in interface ContactModel
Parameters:
emailAddress - the email address of this contact

getFirstName

@JSON
public String getFirstName()
Description copied from interface: ContactModel
Returns the first name of this contact.

Specified by:
getFirstName in interface ContactModel
Returns:
the first name of this contact

setFirstName

public void setFirstName(String firstName)
Description copied from interface: ContactModel
Sets the first name of this contact.

Specified by:
setFirstName in interface ContactModel
Parameters:
firstName - the first name of this contact

getMiddleName

@JSON
public String getMiddleName()
Description copied from interface: ContactModel
Returns the middle name of this contact.

Specified by:
getMiddleName in interface ContactModel
Returns:
the middle name of this contact

setMiddleName

public void setMiddleName(String middleName)
Description copied from interface: ContactModel
Sets the middle name of this contact.

Specified by:
setMiddleName in interface ContactModel
Parameters:
middleName - the middle name of this contact

getLastName

@JSON
public String getLastName()
Description copied from interface: ContactModel
Returns the last name of this contact.

Specified by:
getLastName in interface ContactModel
Returns:
the last name of this contact

setLastName

public void setLastName(String lastName)
Description copied from interface: ContactModel
Sets the last name of this contact.

Specified by:
setLastName in interface ContactModel
Parameters:
lastName - the last name of this contact

getPrefixId

@JSON
public long getPrefixId()
Description copied from interface: ContactModel
Returns the prefix ID of this contact.

Specified by:
getPrefixId in interface ContactModel
Returns:
the prefix ID of this contact

setPrefixId

public void setPrefixId(long prefixId)
Description copied from interface: ContactModel
Sets the prefix ID of this contact.

Specified by:
setPrefixId in interface ContactModel
Parameters:
prefixId - the prefix ID of this contact

getSuffixId

@JSON
public long getSuffixId()
Description copied from interface: ContactModel
Returns the suffix ID of this contact.

Specified by:
getSuffixId in interface ContactModel
Returns:
the suffix ID of this contact

setSuffixId

public void setSuffixId(long suffixId)
Description copied from interface: ContactModel
Sets the suffix ID of this contact.

Specified by:
setSuffixId in interface ContactModel
Parameters:
suffixId - the suffix ID of this contact

getMale

@JSON
public boolean getMale()
Description copied from interface: ContactModel
Returns the male of this contact.

Specified by:
getMale in interface ContactModel
Returns:
the male of this contact

isMale

public boolean isMale()
Description copied from interface: ContactModel
Returns true if this contact is male.

Specified by:
isMale in interface ContactModel
Returns:
true if this contact is male; false otherwise

setMale

public void setMale(boolean male)
Description copied from interface: ContactModel
Sets whether this contact is male.

Specified by:
setMale in interface ContactModel
Parameters:
male - the male of this contact

getBirthday

@JSON
public Date getBirthday()
Description copied from interface: ContactModel
Returns the birthday of this contact.

Specified by:
getBirthday in interface ContactModel
Returns:
the birthday of this contact

setBirthday

public void setBirthday(Date birthday)
Description copied from interface: ContactModel
Sets the birthday of this contact.

Specified by:
setBirthday in interface ContactModel
Parameters:
birthday - the birthday of this contact

getSmsSn

@JSON
public String getSmsSn()
Description copied from interface: ContactModel
Returns the sms sn of this contact.

Specified by:
getSmsSn in interface ContactModel
Returns:
the sms sn of this contact

setSmsSn

public void setSmsSn(String smsSn)
Description copied from interface: ContactModel
Sets the sms sn of this contact.

Specified by:
setSmsSn in interface ContactModel
Parameters:
smsSn - the sms sn of this contact

getFacebookSn

@JSON
public String getFacebookSn()
Description copied from interface: ContactModel
Returns the facebook sn of this contact.

Specified by:
getFacebookSn in interface ContactModel
Returns:
the facebook sn of this contact

setFacebookSn

public void setFacebookSn(String facebookSn)
Description copied from interface: ContactModel
Sets the facebook sn of this contact.

Specified by:
setFacebookSn in interface ContactModel
Parameters:
facebookSn - the facebook sn of this contact

getJabberSn

@JSON
public String getJabberSn()
Description copied from interface: ContactModel
Returns the jabber sn of this contact.

Specified by:
getJabberSn in interface ContactModel
Returns:
the jabber sn of this contact

setJabberSn

public void setJabberSn(String jabberSn)
Description copied from interface: ContactModel
Sets the jabber sn of this contact.

Specified by:
setJabberSn in interface ContactModel
Parameters:
jabberSn - the jabber sn of this contact

getSkypeSn

@JSON
public String getSkypeSn()
Description copied from interface: ContactModel
Returns the skype sn of this contact.

Specified by:
getSkypeSn in interface ContactModel
Returns:
the skype sn of this contact

setSkypeSn

public void setSkypeSn(String skypeSn)
Description copied from interface: ContactModel
Sets the skype sn of this contact.

Specified by:
setSkypeSn in interface ContactModel
Parameters:
skypeSn - the skype sn of this contact

getTwitterSn

@JSON
public String getTwitterSn()
Description copied from interface: ContactModel
Returns the twitter sn of this contact.

Specified by:
getTwitterSn in interface ContactModel
Returns:
the twitter sn of this contact

setTwitterSn

public void setTwitterSn(String twitterSn)
Description copied from interface: ContactModel
Sets the twitter sn of this contact.

Specified by:
setTwitterSn in interface ContactModel
Parameters:
twitterSn - the twitter sn of this contact

getEmployeeStatusId

@JSON
public String getEmployeeStatusId()
Description copied from interface: ContactModel
Returns the employee status ID of this contact.

Specified by:
getEmployeeStatusId in interface ContactModel
Returns:
the employee status ID of this contact

setEmployeeStatusId

public void setEmployeeStatusId(String employeeStatusId)
Description copied from interface: ContactModel
Sets the employee status ID of this contact.

Specified by:
setEmployeeStatusId in interface ContactModel
Parameters:
employeeStatusId - the employee status ID of this contact

getEmployeeNumber

@JSON
public String getEmployeeNumber()
Description copied from interface: ContactModel
Returns the employee number of this contact.

Specified by:
getEmployeeNumber in interface ContactModel
Returns:
the employee number of this contact

setEmployeeNumber

public void setEmployeeNumber(String employeeNumber)
Description copied from interface: ContactModel
Sets the employee number of this contact.

Specified by:
setEmployeeNumber in interface ContactModel
Parameters:
employeeNumber - the employee number of this contact

getJobTitle

@JSON
public String getJobTitle()
Description copied from interface: ContactModel
Returns the job title of this contact.

Specified by:
getJobTitle in interface ContactModel
Returns:
the job title of this contact

setJobTitle

public void setJobTitle(String jobTitle)
Description copied from interface: ContactModel
Sets the job title of this contact.

Specified by:
setJobTitle in interface ContactModel
Parameters:
jobTitle - the job title of this contact

getJobClass

@JSON
public String getJobClass()
Description copied from interface: ContactModel
Returns the job class of this contact.

Specified by:
getJobClass in interface ContactModel
Returns:
the job class of this contact

setJobClass

public void setJobClass(String jobClass)
Description copied from interface: ContactModel
Sets the job class of this contact.

Specified by:
setJobClass in interface ContactModel
Parameters:
jobClass - the job class of this contact

getHoursOfOperation

@JSON
public String getHoursOfOperation()
Description copied from interface: ContactModel
Returns the hours of operation of this contact.

Specified by:
getHoursOfOperation in interface ContactModel
Returns:
the hours of operation of this contact

setHoursOfOperation

public void setHoursOfOperation(String hoursOfOperation)
Description copied from interface: ContactModel
Sets the hours of operation of this contact.

Specified by:
setHoursOfOperation in interface ContactModel
Parameters:
hoursOfOperation - the hours of operation of this contact

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<Contact>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface ContactModel
Overrides:
getExpandoBridge in class BaseModelImpl<Contact>
Returns:
the expando bridge for this model instance

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 be applied
See Also:
ServiceContext.getExpandoBridgeAttributes()

toEscapedModel

public Contact toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<Contact>
Specified by:
toEscapedModel in interface ContactModel
Overrides:
toEscapedModel in class BaseModelImpl<Contact>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

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 shallow clone of this model instance

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

isEntityCacheEnabled

public boolean isEntityCacheEnabled()
Description copied from interface: BaseModel
Returns true if this model's entity cache is enabled.

Specified by:
isEntityCacheEnabled in interface BaseModel<Contact>
Returns:
true if this model's entity cache is enabled; false otherwise

isFinderCacheEnabled

public boolean isFinderCacheEnabled()
Description copied from interface: BaseModel
Returns true if this model's finder cache is enabled.

Specified by:
isFinderCacheEnabled in interface BaseModel<Contact>
Returns:
true if this model's finder cache is enabled; false otherwise

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<Contact>
Overrides:
resetOriginalValues in class BaseModelImpl<Contact>

toCacheModel

public CacheModel<Contact> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<Contact>
Specified by:
toCacheModel in interface ContactModel
Overrides:
toCacheModel in class BaseModelImpl<Contact>
Returns:
the cache model 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
Returns 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

Liferay 7.0-ce-b4