|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface ContactModel
The base model interface for the Contact service. Represents a row in the "Contact_" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation ContactModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ContactImpl.
Contact,
ContactImpl,
ContactModelImpl| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Contact contact)
|
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 |
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. |
Date |
getModifiedDate()
Returns the modified date of this contact. |
long |
getMvccVersion()
Returns the mvcc version of this contact. |
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 |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isMale()
Returns true if this contact is male. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
setAccountId(long accountId)
Sets the account ID of this contact. |
void |
setBirthday(Date birthday)
Sets the birthday of this contact. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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 |
setModifiedDate(Date modifiedDate)
Sets the modified date of this contact. |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this contact. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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. |
String |
toString()
|
Contact |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from interface com.liferay.portal.model.BaseModel |
|---|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes |
| Methods inherited from interface com.liferay.portal.model.ClassedModel |
|---|
getModelClass, getModelClassName |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this contactlong getMvccVersion()
getMvccVersion in interface MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this contactlong getContactId()
void setContactId(long contactId)
contactId - the contact ID of this contactlong getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this contactlong getUserId()
getUserId in interface AuditedModelvoid setUserId(long userId)
setUserId in interface AuditedModeluserId - the user ID of this contactString getUserUuid()
getUserUuid in interface AuditedModelvoid setUserUuid(String userUuid)
setUserUuid in interface AuditedModeluserUuid - the user uuid of this contact@AutoEscape String getUserName()
getUserName in interface AuditedModelvoid setUserName(String userName)
setUserName in interface AuditedModeluserName - the user name of this contactDate getCreateDate()
getCreateDate in interface AuditedModelvoid setCreateDate(Date createDate)
setCreateDate in interface AuditedModelcreateDate - the create date of this contactDate getModifiedDate()
getModifiedDate in interface AuditedModelvoid setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelmodifiedDate - the modified date of this contactString getClassName()
getClassName in interface TypedModelvoid setClassName(String className)
long getClassNameId()
getClassNameId in interface TypedModelvoid setClassNameId(long classNameId)
setClassNameId in interface TypedModelclassNameId - the class name ID of this contactlong getClassPK()
getClassPK in interface AttachedModelvoid setClassPK(long classPK)
setClassPK in interface AttachedModelclassPK - the class p k of this contactlong getAccountId()
void setAccountId(long accountId)
accountId - the account ID of this contactlong getParentContactId()
void setParentContactId(long parentContactId)
parentContactId - the parent contact ID of this contact@AutoEscape String getEmailAddress()
void setEmailAddress(String emailAddress)
emailAddress - the email address of this contact@AutoEscape String getFirstName()
void setFirstName(String firstName)
firstName - the first name of this contact@AutoEscape String getMiddleName()
void setMiddleName(String middleName)
middleName - the middle name of this contact@AutoEscape String getLastName()
void setLastName(String lastName)
lastName - the last name of this contactlong getPrefixId()
void setPrefixId(long prefixId)
prefixId - the prefix ID of this contactlong getSuffixId()
void setSuffixId(long suffixId)
suffixId - the suffix ID of this contactboolean getMale()
boolean isMale()
true if this contact is male.
true if this contact is male; false otherwisevoid setMale(boolean male)
male - the male of this contactDate getBirthday()
void setBirthday(Date birthday)
birthday - the birthday of this contact@AutoEscape String getSmsSn()
void setSmsSn(String smsSn)
smsSn - the sms sn of this contact@AutoEscape String getFacebookSn()
void setFacebookSn(String facebookSn)
facebookSn - the facebook sn of this contact@AutoEscape String getJabberSn()
void setJabberSn(String jabberSn)
jabberSn - the jabber sn of this contact@AutoEscape String getSkypeSn()
void setSkypeSn(String skypeSn)
skypeSn - the skype sn of this contact@AutoEscape String getTwitterSn()
void setTwitterSn(String twitterSn)
twitterSn - the twitter sn of this contact@AutoEscape String getEmployeeStatusId()
void setEmployeeStatusId(String employeeStatusId)
employeeStatusId - the employee status ID of this contact@AutoEscape String getEmployeeNumber()
void setEmployeeNumber(String employeeNumber)
employeeNumber - the employee number of this contact@AutoEscape String getJobTitle()
void setJobTitle(String jobTitle)
jobTitle - the job title of this contact@AutoEscape String getJobClass()
void setJobClass(String jobClass)
jobClass - the job class of this contact@AutoEscape String getHoursOfOperation()
void setHoursOfOperation(String hoursOfOperation)
hoursOfOperation - the hours of operation of this contactboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<Contact>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<Contact>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<Contact>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Contact>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<Contact>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Contact>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Contact>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Contact>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<Contact>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<Contact>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Contact>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModel
clone in interface BaseModel<Contact>int compareTo(Contact contact)
compareTo in interface Comparable<Contact>int hashCode()
hashCode in class ObjectCacheModel<Contact> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Contact>Contact toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Contact>AutoEscapeBeanHandlerContact toUnescapedModel()
toUnescapedModel in interface BaseModel<Contact>String toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<Contact>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||