Class AccountEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AccountEntry>
com.liferay.account.model.AccountEntryWrapper
All Implemented Interfaces:
AccountEntry, AccountEntryModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<AccountEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.ModelWrapper<AccountEntry>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.WorkflowedModel, Serializable, Cloneable, Comparable<AccountEntry>

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

This class is a wrapper for AccountEntry.

See Also:
Generated:
  • Constructor Details

    • AccountEntryWrapper

      public AccountEntryWrapper(AccountEntry accountEntry)
  • Method Details

    • getModelAttributes

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

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

      public AccountEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface AccountEntryModel
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<AccountEntry>
    • fetchContact

      public com.liferay.portal.kernel.model.Contact fetchContact() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchContact in interface AccountEntry
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchOrganizations

      public List<com.liferay.portal.kernel.model.Organization> fetchOrganizations()
      Specified by:
      fetchOrganizations in interface AccountEntry
    • fetchUsers

      public List<com.liferay.portal.kernel.model.User> fetchUsers()
      Specified by:
      fetchUsers in interface AccountEntry
    • getAccountEntryGroup

      public com.liferay.portal.kernel.model.Group getAccountEntryGroup()
      Specified by:
      getAccountEntryGroup in interface AccountEntry
    • getAccountEntryGroupId

      public long getAccountEntryGroupId()
      Specified by:
      getAccountEntryGroupId in interface AccountEntry
    • getAccountEntryId

      public long getAccountEntryId()
      Returns the account entry ID of this account entry.
      Specified by:
      getAccountEntryId in interface AccountEntryModel
      Returns:
      the account entry ID of this account entry
    • getCompanyId

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

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

      public com.liferay.portal.kernel.model.Address getDefaultBillingAddress()
      Specified by:
      getDefaultBillingAddress in interface AccountEntry
    • getDefaultBillingAddressId

      public long getDefaultBillingAddressId()
      Returns the default billing address ID of this account entry.
      Specified by:
      getDefaultBillingAddressId in interface AccountEntryModel
      Returns:
      the default billing address ID of this account entry
    • getDefaultCPaymentMethodKey

      public String getDefaultCPaymentMethodKey()
      Returns the default c payment method key of this account entry.
      Specified by:
      getDefaultCPaymentMethodKey in interface AccountEntryModel
      Returns:
      the default c payment method key of this account entry
    • getDefaultShippingAddress

      public com.liferay.portal.kernel.model.Address getDefaultShippingAddress()
      Specified by:
      getDefaultShippingAddress in interface AccountEntry
    • getDefaultShippingAddressId

      public long getDefaultShippingAddressId()
      Returns the default shipping address ID of this account entry.
      Specified by:
      getDefaultShippingAddressId in interface AccountEntryModel
      Returns:
      the default shipping address ID of this account entry
    • getDescription

      public String getDescription()
      Returns the description of this account entry.
      Specified by:
      getDescription in interface AccountEntryModel
      Returns:
      the description of this account entry
    • getDomains

      public String getDomains()
      Returns the domains of this account entry.
      Specified by:
      getDomains in interface AccountEntryModel
      Returns:
      the domains of this account entry
    • getDomainsArray

      public String[] getDomainsArray()
      Specified by:
      getDomainsArray in interface AccountEntry
    • getEmailAddress

      public String getEmailAddress()
      Returns the email address of this account entry.
      Specified by:
      getEmailAddress in interface AccountEntryModel
      Returns:
      the email address of this account entry
    • getEmailAddresses

      public List<com.liferay.portal.kernel.model.EmailAddress> getEmailAddresses() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getEmailAddresses in interface AccountEntry
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this account entry.
      Specified by:
      getExternalReferenceCode in interface AccountEntryModel
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this account entry
    • getListTypeAddresses

      public List<com.liferay.portal.kernel.model.Address> getListTypeAddresses(long[] listTypeIds) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getListTypeAddresses in interface AccountEntry
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLogoId

      public long getLogoId()
      Returns the logo ID of this account entry.
      Specified by:
      getLogoId in interface AccountEntryModel
      Returns:
      the logo ID of this account entry
    • getModifiedDate

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

      public long getMvccVersion()
      Returns the mvcc version of this account entry.
      Specified by:
      getMvccVersion in interface AccountEntryModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this account entry
    • getName

      public String getName()
      Returns the name of this account entry.
      Specified by:
      getName in interface AccountEntryModel
      Returns:
      the name of this account entry
    • getParentAccountEntryId

      public long getParentAccountEntryId()
      Returns the parent account entry ID of this account entry.
      Specified by:
      getParentAccountEntryId in interface AccountEntryModel
      Returns:
      the parent account entry ID of this account entry
    • getPhones

      public List<com.liferay.portal.kernel.model.Phone> getPhones() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPhones in interface AccountEntry
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this account entry.
      Specified by:
      getPrimaryKey in interface AccountEntryModel
      Returns:
      the primary key of this account entry
    • getRestrictMembership

      public boolean getRestrictMembership()
      Returns the restrict membership of this account entry.
      Specified by:
      getRestrictMembership in interface AccountEntryModel
      Returns:
      the restrict membership of this account entry
    • getStatus

      public int getStatus()
      Returns the status of this account entry.
      Specified by:
      getStatus in interface AccountEntryModel
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status of this account entry
    • getStatusByUserId

      public long getStatusByUserId()
      Returns the status by user ID of this account entry.
      Specified by:
      getStatusByUserId in interface AccountEntryModel
      Specified by:
      getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user ID of this account entry
    • getStatusByUserName

      public String getStatusByUserName()
      Returns the status by user name of this account entry.
      Specified by:
      getStatusByUserName in interface AccountEntryModel
      Specified by:
      getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user name of this account entry
    • getStatusByUserUuid

      public String getStatusByUserUuid()
      Returns the status by user uuid of this account entry.
      Specified by:
      getStatusByUserUuid in interface AccountEntryModel
      Specified by:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user uuid of this account entry
    • getStatusDate

      public Date getStatusDate()
      Returns the status date of this account entry.
      Specified by:
      getStatusDate in interface AccountEntryModel
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status date of this account entry
    • getTaxExemptionCode

      public String getTaxExemptionCode()
      Returns the tax exemption code of this account entry.
      Specified by:
      getTaxExemptionCode in interface AccountEntryModel
      Returns:
      the tax exemption code of this account entry
    • getTaxIdNumber

      public String getTaxIdNumber()
      Returns the tax ID number of this account entry.
      Specified by:
      getTaxIdNumber in interface AccountEntryModel
      Returns:
      the tax ID number of this account entry
    • getType

      public String getType()
      Returns the type of this account entry.
      Specified by:
      getType in interface AccountEntryModel
      Returns:
      the type of this account entry
    • getUserId

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

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

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

      public String getUuid()
      Returns the uuid of this account entry.
      Specified by:
      getUuid in interface AccountEntryModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this account entry
    • getWebsites

      public List<com.liferay.portal.kernel.model.Website> getWebsites() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getWebsites in interface AccountEntry
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isApproved

      public boolean isApproved()
      Returns true if this account entry is approved.
      Specified by:
      isApproved in interface AccountEntryModel
      Specified by:
      isApproved in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this account entry is approved; false otherwise
    • isBusinessAccount

      public boolean isBusinessAccount()
      Specified by:
      isBusinessAccount in interface AccountEntry
    • isDenied

      public boolean isDenied()
      Returns true if this account entry is denied.
      Specified by:
      isDenied in interface AccountEntryModel
      Specified by:
      isDenied in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this account entry is denied; false otherwise
    • isDraft

      public boolean isDraft()
      Returns true if this account entry is a draft.
      Specified by:
      isDraft in interface AccountEntryModel
      Specified by:
      isDraft in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this account entry is a draft; false otherwise
    • isExpired

      public boolean isExpired()
      Returns true if this account entry is expired.
      Specified by:
      isExpired in interface AccountEntryModel
      Specified by:
      isExpired in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this account entry is expired; false otherwise
    • isGuestAccount

      public boolean isGuestAccount()
      Specified by:
      isGuestAccount in interface AccountEntry
    • isInactive

      public boolean isInactive()
      Returns true if this account entry is inactive.
      Specified by:
      isInactive in interface AccountEntryModel
      Specified by:
      isInactive in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this account entry is inactive; false otherwise
    • isIncomplete

      public boolean isIncomplete()
      Returns true if this account entry is incomplete.
      Specified by:
      isIncomplete in interface AccountEntryModel
      Specified by:
      isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this account entry is incomplete; false otherwise
    • isPending

      public boolean isPending()
      Returns true if this account entry is pending.
      Specified by:
      isPending in interface AccountEntryModel
      Specified by:
      isPending in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this account entry is pending; false otherwise
    • isPersonalAccount

      public boolean isPersonalAccount()
      Specified by:
      isPersonalAccount in interface AccountEntry
    • isRestrictMembership

      public boolean isRestrictMembership()
      Returns true if this account entry is restrict membership.
      Specified by:
      isRestrictMembership in interface AccountEntryModel
      Returns:
      true if this account entry is restrict membership; false otherwise
    • isScheduled

      public boolean isScheduled()
      Returns true if this account entry is scheduled.
      Specified by:
      isScheduled in interface AccountEntryModel
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this account entry is scheduled; false otherwise
    • persist

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

      public void setAccountEntryId(long accountEntryId)
      Sets the account entry ID of this account entry.
      Specified by:
      setAccountEntryId in interface AccountEntryModel
      Parameters:
      accountEntryId - the account entry ID of this account entry
    • setCompanyId

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

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

      public void setDefaultBillingAddressId(long defaultBillingAddressId)
      Sets the default billing address ID of this account entry.
      Specified by:
      setDefaultBillingAddressId in interface AccountEntryModel
      Parameters:
      defaultBillingAddressId - the default billing address ID of this account entry
    • setDefaultCPaymentMethodKey

      public void setDefaultCPaymentMethodKey(String defaultCPaymentMethodKey)
      Sets the default c payment method key of this account entry.
      Specified by:
      setDefaultCPaymentMethodKey in interface AccountEntryModel
      Parameters:
      defaultCPaymentMethodKey - the default c payment method key of this account entry
    • setDefaultShippingAddressId

      public void setDefaultShippingAddressId(long defaultShippingAddressId)
      Sets the default shipping address ID of this account entry.
      Specified by:
      setDefaultShippingAddressId in interface AccountEntryModel
      Parameters:
      defaultShippingAddressId - the default shipping address ID of this account entry
    • setDescription

      public void setDescription(String description)
      Sets the description of this account entry.
      Specified by:
      setDescription in interface AccountEntryModel
      Parameters:
      description - the description of this account entry
    • setDomains

      public void setDomains(String domains)
      Sets the domains of this account entry.
      Specified by:
      setDomains in interface AccountEntryModel
      Parameters:
      domains - the domains of this account entry
    • setEmailAddress

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

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this account entry.
      Specified by:
      setExternalReferenceCode in interface AccountEntryModel
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this account entry
    • setLogoId

      public void setLogoId(long logoId)
      Sets the logo ID of this account entry.
      Specified by:
      setLogoId in interface AccountEntryModel
      Parameters:
      logoId - the logo ID of this account entry
    • setModifiedDate

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

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this account entry.
      Specified by:
      setMvccVersion in interface AccountEntryModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this account entry
    • setName

      public void setName(String name)
      Sets the name of this account entry.
      Specified by:
      setName in interface AccountEntryModel
      Parameters:
      name - the name of this account entry
    • setParentAccountEntryId

      public void setParentAccountEntryId(long parentAccountEntryId)
      Sets the parent account entry ID of this account entry.
      Specified by:
      setParentAccountEntryId in interface AccountEntryModel
      Parameters:
      parentAccountEntryId - the parent account entry ID of this account entry
    • setPrimaryKey

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

      public void setRestrictMembership(boolean restrictMembership)
      Sets whether this account entry is restrict membership.
      Specified by:
      setRestrictMembership in interface AccountEntryModel
      Parameters:
      restrictMembership - the restrict membership of this account entry
    • setStatus

      public void setStatus(int status)
      Sets the status of this account entry.
      Specified by:
      setStatus in interface AccountEntryModel
      Specified by:
      setStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      status - the status of this account entry
    • setStatusByUserId

      public void setStatusByUserId(long statusByUserId)
      Sets the status by user ID of this account entry.
      Specified by:
      setStatusByUserId in interface AccountEntryModel
      Specified by:
      setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserId - the status by user ID of this account entry
    • setStatusByUserName

      public void setStatusByUserName(String statusByUserName)
      Sets the status by user name of this account entry.
      Specified by:
      setStatusByUserName in interface AccountEntryModel
      Specified by:
      setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserName - the status by user name of this account entry
    • setStatusByUserUuid

      public void setStatusByUserUuid(String statusByUserUuid)
      Sets the status by user uuid of this account entry.
      Specified by:
      setStatusByUserUuid in interface AccountEntryModel
      Specified by:
      setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserUuid - the status by user uuid of this account entry
    • setStatusDate

      public void setStatusDate(Date statusDate)
      Sets the status date of this account entry.
      Specified by:
      setStatusDate in interface AccountEntryModel
      Specified by:
      setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusDate - the status date of this account entry
    • setTaxExemptionCode

      public void setTaxExemptionCode(String taxExemptionCode)
      Sets the tax exemption code of this account entry.
      Specified by:
      setTaxExemptionCode in interface AccountEntryModel
      Parameters:
      taxExemptionCode - the tax exemption code of this account entry
    • setTaxIdNumber

      public void setTaxIdNumber(String taxIdNumber)
      Sets the tax ID number of this account entry.
      Specified by:
      setTaxIdNumber in interface AccountEntryModel
      Parameters:
      taxIdNumber - the tax ID number of this account entry
    • setType

      public void setType(String type)
      Sets the type of this account entry.
      Specified by:
      setType in interface AccountEntryModel
      Parameters:
      type - the type of this account entry
    • setUserId

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

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

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

      public void setUuid(String uuid)
      Sets the uuid of this account entry.
      Specified by:
      setUuid in interface AccountEntryModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this account entry
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface AccountEntryModel
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected AccountEntryWrapper wrap(AccountEntry accountEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AccountEntry>