@ProviderType public interface EntryModel extends BaseModel<Entry>, GroupedModel, ShardedModel
This interface and its corresponding implementation com.liferay.contacts.model.impl.EntryModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.contacts.model.impl.EntryImpl
.
Entry
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(Entry entry) |
java.lang.String |
getComments()
Returns the comments of this entry.
|
long |
getCompanyId()
Returns the company ID of this entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this entry.
|
java.lang.String |
getEmailAddress()
Returns the email address of this entry.
|
long |
getEntryId()
Returns the entry ID of this entry.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
java.lang.String |
getFullName()
Returns the full name of this entry.
|
long |
getGroupId()
Returns the group ID of this entry.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this entry.
|
long |
getPrimaryKey()
Returns the primary key of this entry.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getUserId()
Returns the user ID of this entry.
|
java.lang.String |
getUserName()
Returns the user name of this entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this entry.
|
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 |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setComments(java.lang.String comments)
Sets the comments of this entry.
|
void |
setCompanyId(long companyId)
Sets the company ID of this entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this entry.
|
void |
setEmailAddress(java.lang.String emailAddress)
Sets the email address of this entry.
|
void |
setEntryId(long entryId)
Sets the entry ID of this entry.
|
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 |
setFullName(java.lang.String fullName)
Sets the full name of this entry.
|
void |
setGroupId(long groupId)
Sets the group ID of this entry.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this entry.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this entry.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setUserId(long userId)
Sets the user ID of this entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this entry.
|
CacheModel<Entry> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
Entry |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
java.lang.String |
toString() |
Entry |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this entrylong getEntryId()
void setEntryId(long entryId)
entryId
- the entry ID of this entrylong getGroupId()
getGroupId
in interface GroupedModel
void setGroupId(long groupId)
setGroupId
in interface GroupedModel
groupId
- the group ID of this entrylong getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this entrylong getUserId()
getUserId
in interface AuditedModel
void setUserId(long userId)
setUserId
in interface AuditedModel
userId
- the user ID of this entryjava.lang.String getUserUuid()
getUserUuid
in interface AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this entry@AutoEscape java.lang.String getUserName()
getUserName
in interface AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface AuditedModel
userName
- the user name of this entryjava.util.Date getCreateDate()
getCreateDate
in interface AuditedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface AuditedModel
createDate
- the create date of this entryjava.util.Date getModifiedDate()
getModifiedDate
in interface AuditedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface AuditedModel
modifiedDate
- the modified date of this entry@AutoEscape java.lang.String getFullName()
void setFullName(java.lang.String fullName)
fullName
- the full name of this entry@AutoEscape java.lang.String getEmailAddress()
void setEmailAddress(java.lang.String emailAddress)
emailAddress
- the email address of this entry@AutoEscape java.lang.String getComments()
void setComments(java.lang.String comments)
comments
- the comments of this entryboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.void setNew(boolean n)
BaseModel
boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<Entry>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<Entry>
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<Entry>
true
if this model instance is escaped;
false
otherwisejava.io.Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Entry>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Entry>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Entry>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<Entry>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<Entry>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Entry>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
java.lang.Object clone()
BaseModel
int compareTo(Entry entry)
compareTo
in interface java.lang.Comparable<Entry>
int hashCode()
hashCode
in class java.lang.Object
CacheModel<Entry> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Entry>
Entry toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<Entry>
AutoEscapeBeanHandler
Entry toUnescapedModel()
toUnescapedModel
in interface BaseModel<Entry>
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Entry>