|
Liferay 6.0.4 | |||||||||
| 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.
Never modify or reference this interface directly. All methods that expect a contact model instance should use the Contact interface instead.
Contact,
ContactImpl,
ContactModelImpl| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Contact contact)
|
long |
getAccountId()
Gets the account id of this contact. |
String |
getAimSn()
Gets the aim sn of this contact. |
Date |
getBirthday()
Gets the birthday of this contact. |
long |
getCompanyId()
Gets the company id of this contact. |
long |
getContactId()
Gets the contact id of this contact. |
Date |
getCreateDate()
Gets the create date of this contact. |
String |
getEmployeeNumber()
Gets the employee number of this contact. |
String |
getEmployeeStatusId()
Gets the employee status id of this contact. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getFacebookSn()
Gets the facebook sn of this contact. |
String |
getFirstName()
Gets the first name of this contact. |
String |
getHoursOfOperation()
Gets the hours of operation of this contact. |
String |
getIcqSn()
Gets the icq sn of this contact. |
String |
getJabberSn()
Gets the jabber sn of this contact. |
String |
getJobClass()
Gets the job class of this contact. |
String |
getJobTitle()
Gets the job title of this contact. |
String |
getLastName()
Gets the last name of this contact. |
boolean |
getMale()
Gets the male of this contact. |
String |
getMiddleName()
Gets the middle name of this contact. |
Date |
getModifiedDate()
Gets the modified date of this contact. |
String |
getMsnSn()
Gets the msn sn of this contact. |
String |
getMySpaceSn()
Gets the my space sn of this contact. |
long |
getParentContactId()
Gets the parent contact id of this contact. |
int |
getPrefixId()
Gets the prefix id of this contact. |
long |
getPrimaryKey()
Gets the primary key of this contact. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
String |
getSkypeSn()
Gets the skype sn of this contact. |
String |
getSmsSn()
Gets the sms sn of this contact. |
int |
getSuffixId()
Gets the suffix id of this contact. |
String |
getTwitterSn()
Gets the twitter sn of this contact. |
long |
getUserId()
Gets the user id of this contact. |
String |
getUserName()
Gets the user name of this contact. |
String |
getUserUuid()
Gets the user uuid of this contact. |
String |
getYmSn()
Gets the ym sn of this contact. |
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isMale()
Determines whether this contact is male. |
boolean |
isNew()
Determines 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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 {$entity.humanName} 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 pk)
Sets the primary key of this contact |
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. |
Contact |
toEscapedModel()
Gets a copy of this contact as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long pk)
pk - the primary key of this contactlong getContactId()
void setContactId(long contactId)
contactId - the contact id of this contactlong getCompanyId()
void setCompanyId(long companyId)
companyId - the company id of this contactlong getUserId()
void setUserId(long userId)
userId - the user id of this contact
String getUserUuid()
throws SystemException
SystemException - if a system exception occurredvoid setUserUuid(String userUuid)
userUuid - the user uuid of this contact@AutoEscape String getUserName()
void setUserName(String userName)
userName - the user name of this contactDate getCreateDate()
void setCreateDate(Date createDate)
createDate - the create date of this contactDate getModifiedDate()
void setModifiedDate(Date modifiedDate)
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()
void 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 contactContact toEscapedModel()
AutoEscapeBeanHandler.
AutoEscapeBeanHandlerboolean isNew()
BaseModel
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
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()
BaseModel
isEscapedModel in interface BaseModel<Contact>true if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<Contact>escapedModel - whether this model instance is escapedAutoEscapeBeanHandlerSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Contact>ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Contact>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Contact>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)Object clone()
BaseModel
clone in interface BaseModel<Contact>int compareTo(Contact contact)
compareTo in interface Comparable<Contact>int hashCode()
hashCode in class ObjectString toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<Contact>
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||