|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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. |
String |
getAimSn()
Returns the aim sn of this contact. |
Date |
getBirthday()
Returns the birthday 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 |
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 |
getIcqSn()
Returns the icq sn 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. |
String |
getMsnSn()
Returns the msn sn of this contact. |
String |
getMySpaceSn()
Returns the my space sn of this contact. |
long |
getParentContactId()
Returns the parent contact ID of this contact. |
int |
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. |
int |
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. |
String |
getYmSn()
Returns the ym sn 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 |
setAimSn(String aimSn)
Sets the aim sn 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 |
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 |
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 |
setIcqSn(String icqSn)
Sets the icq sn 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 |
setMsnSn(String msnSn)
Sets the msn sn of this contact. |
void |
setMySpaceSn(String mySpaceSn)
Sets the my space sn 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(int 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(int 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. |
void |
setYmSn(String ymSn)
Sets the ym sn 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, 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 getContactId()
void setContactId(long contactId)
contactId
- the contact ID of this contactlong getCompanyId()
getCompanyId
in interface AuditedModel
void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
companyId
- the company ID of this contactlong getUserId()
getUserId
in interface AuditedModel
void setUserId(long userId)
setUserId
in interface AuditedModel
userId
- the user ID of this contactString getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
SystemException
- if a system exception occurredvoid setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this contact@AutoEscape String getUserName()
getUserName
in interface AuditedModel
void setUserName(String userName)
setUserName
in interface AuditedModel
userName
- the user name of this contactDate getCreateDate()
getCreateDate
in interface AuditedModel
void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
createDate
- the create date of this contactDate getModifiedDate()
getModifiedDate
in interface AuditedModel
void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
modifiedDate
- the modified date 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 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 contactint getPrefixId()
void setPrefixId(int prefixId)
prefixId
- the prefix ID of this contactint getSuffixId()
void setSuffixId(int 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 getAimSn()
void setAimSn(String aimSn)
aimSn
- the aim sn of this contact@AutoEscape String getFacebookSn()
void setFacebookSn(String facebookSn)
facebookSn
- the facebook sn of this contact@AutoEscape String getIcqSn()
void setIcqSn(String icqSn)
icqSn
- the icq sn of this contact@AutoEscape String getJabberSn()
void setJabberSn(String jabberSn)
jabberSn
- the jabber sn of this contact@AutoEscape String getMsnSn()
void setMsnSn(String msnSn)
msnSn
- the msn sn of this contact@AutoEscape String getMySpaceSn()
void setMySpaceSn(String mySpaceSn)
mySpaceSn
- the my space 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 getYmSn()
void setYmSn(String ymSn)
ymSn
- the ym 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()
BaseModel
true
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()
BaseModel
true
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 cacheEntityCache
boolean isEscapedModel()
BaseModel
true
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 ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Contact>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Contact>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Contact>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<Contact>
int compareTo(Contact contact)
compareTo
in interface Comparable<Contact>
int hashCode()
hashCode
in class Object
CacheModel<Contact> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Contact>
Contact toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Contact>
AutoEscapeBeanHandler
Contact toUnescapedModel()
toUnescapedModel
in interface BaseModel<Contact>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Contact>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |