Class EntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Entry>
com.liferay.contacts.model.EntryWrapper
All Implemented Interfaces:
Entry, EntryModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<Entry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<Entry>, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<Entry>

public class EntryWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Entry> implements Entry, com.liferay.portal.kernel.model.ModelWrapper<Entry>

This class is a wrapper for Entry.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.contacts.model.Entry

    ENTRY_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the comments of this entry.
    long
    Returns the company ID of this entry.
    Returns the create date of this entry.
    Returns the email address of this entry.
    long
    Returns the entry ID of this entry.
    Returns the full name of this entry.
    long
    Returns the group ID of this entry.
     
    Returns the modified date of this entry.
    long
    Returns the primary key of this entry.
    long
    Returns the user ID of this entry.
    Returns the user name of this entry.
    Returns the user uuid of this entry.
    void
     
    void
    setComments(String comments)
    Sets the comments of this entry.
    void
    setCompanyId(long companyId)
    Sets the company ID of this entry.
    void
    setCreateDate(Date createDate)
    Sets the create date of this entry.
    void
    setEmailAddress(String emailAddress)
    Sets the email address of this entry.
    void
    setEntryId(long entryId)
    Sets the entry ID of this entry.
    void
    setFullName(String fullName)
    Sets the full name of this entry.
    void
    setGroupId(long groupId)
    Sets the group ID of this entry.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this entry.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this entry.
    void
    setUserId(long userId)
    Sets the user ID of this entry.
    void
    setUserName(String userName)
    Sets the user name of this entry.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this entry.
     
    protected EntryWrapper
    wrap(Entry entry)
     

    Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel

    Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel

    getModelClass, getModelClassName

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper

    getWrappedModel
  • Constructor Details

    • EntryWrapper

      public EntryWrapper(Entry entry)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<Entry>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<Entry>
    • cloneWithOriginalValues

      public Entry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<Entry>
      Specified by:
      cloneWithOriginalValues in interface EntryModel
    • getComments

      public String getComments()
      Returns the comments of this entry.
      Specified by:
      getComments in interface EntryModel
      Returns:
      the comments of this entry
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this entry.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface EntryModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this entry
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this entry.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface EntryModel
      Returns:
      the create date of this entry
    • getEmailAddress

      public String getEmailAddress()
      Returns the email address of this entry.
      Specified by:
      getEmailAddress in interface EntryModel
      Returns:
      the email address of this entry
    • getEntryId

      public long getEntryId()
      Returns the entry ID of this entry.
      Specified by:
      getEntryId in interface EntryModel
      Returns:
      the entry ID of this entry
    • getFullName

      public String getFullName()
      Returns the full name of this entry.
      Specified by:
      getFullName in interface EntryModel
      Returns:
      the full name of this entry
    • getGroupId

      public long getGroupId()
      Returns the group ID of this entry.
      Specified by:
      getGroupId in interface EntryModel
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this entry
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this entry.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface EntryModel
      Returns:
      the modified date of this entry
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this entry.
      Specified by:
      getPrimaryKey in interface EntryModel
      Returns:
      the primary key of this entry
    • getUserId

      public long getUserId()
      Returns the user ID of this entry.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface EntryModel
      Returns:
      the user ID of this entry
    • getUserName

      public String getUserName()
      Returns the user name of this entry.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface EntryModel
      Returns:
      the user name of this entry
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this entry.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface EntryModel
      Returns:
      the user uuid of this entry
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setComments

      public void setComments(String comments)
      Sets the comments of this entry.
      Specified by:
      setComments in interface EntryModel
      Parameters:
      comments - the comments of this entry
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this entry.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface EntryModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this entry
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this entry.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface EntryModel
      Parameters:
      createDate - the create date of this entry
    • setEmailAddress

      public void setEmailAddress(String emailAddress)
      Sets the email address of this entry.
      Specified by:
      setEmailAddress in interface EntryModel
      Parameters:
      emailAddress - the email address of this entry
    • setEntryId

      public void setEntryId(long entryId)
      Sets the entry ID of this entry.
      Specified by:
      setEntryId in interface EntryModel
      Parameters:
      entryId - the entry ID of this entry
    • setFullName

      public void setFullName(String fullName)
      Sets the full name of this entry.
      Specified by:
      setFullName in interface EntryModel
      Parameters:
      fullName - the full name of this entry
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this entry.
      Specified by:
      setGroupId in interface EntryModel
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this entry
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this entry.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface EntryModel
      Parameters:
      modifiedDate - the modified date of this entry
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this entry.
      Specified by:
      setPrimaryKey in interface EntryModel
      Parameters:
      primaryKey - the primary key of this entry
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this entry.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface EntryModel
      Parameters:
      userId - the user ID of this entry
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this entry.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface EntryModel
      Parameters:
      userName - the user name of this entry
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this entry.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface EntryModel
      Parameters:
      userUuid - the user uuid of this entry
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface EntryModel
    • wrap

      protected EntryWrapper wrap(Entry entry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Entry>