java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SAPEntry>
com.liferay.portal.security.service.access.policy.model.SAPEntryWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<SAPEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.ModelWrapper<SAPEntry>, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, SAPEntry, SAPEntryModel, Serializable, Cloneable, Comparable<SAPEntry>

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

This class is a wrapper for SAPEntry.

See Also:
Generated:
  • Constructor Details

    • SAPEntryWrapper

      public SAPEntryWrapper(SAPEntry sapEntry)
  • Method Details

    • getModelAttributes

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

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

      public SAPEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<SAPEntry>
      Specified by:
      cloneWithOriginalValues in interface SAPEntryModel
    • getAllowedServiceSignatures

      public String getAllowedServiceSignatures()
      Returns the allowed service signatures of this sap entry.
      Specified by:
      getAllowedServiceSignatures in interface SAPEntryModel
      Returns:
      the allowed service signatures of this sap entry
    • getAllowedServiceSignaturesList

      public List<String> getAllowedServiceSignaturesList()
      Specified by:
      getAllowedServiceSignaturesList in interface SAPEntry
    • getAvailableLanguageIds

      public String[] getAvailableLanguageIds()
      Specified by:
      getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModel
      Specified by:
      getAvailableLanguageIds in interface SAPEntryModel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this sap entry.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface SAPEntryModel
      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 sap entry
    • getCreateDate

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

      public String getDefaultLanguageId()
      Specified by:
      getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModel
      Specified by:
      getDefaultLanguageId in interface SAPEntryModel
    • getDefaultSAPEntry

      public boolean getDefaultSAPEntry()
      Returns the default sap entry of this sap entry.
      Specified by:
      getDefaultSAPEntry in interface SAPEntryModel
      Returns:
      the default sap entry of this sap entry
    • getEnabled

      public boolean getEnabled()
      Returns the enabled of this sap entry.
      Specified by:
      getEnabled in interface SAPEntryModel
      Returns:
      the enabled of this sap entry
    • getModifiedDate

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

      public String getName()
      Returns the name of this sap entry.
      Specified by:
      getName in interface SAPEntryModel
      Returns:
      the name of this sap entry
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this sap entry.
      Specified by:
      getPrimaryKey in interface SAPEntryModel
      Returns:
      the primary key of this sap entry
    • getSapEntryId

      public long getSapEntryId()
      Returns the sap entry ID of this sap entry.
      Specified by:
      getSapEntryId in interface SAPEntryModel
      Returns:
      the sap entry ID of this sap entry
    • getTitle

      public String getTitle()
      Returns the title of this sap entry.
      Specified by:
      getTitle in interface SAPEntryModel
      Returns:
      the title of this sap entry
    • getTitle

      public String getTitle(Locale locale)
      Returns the localized title of this sap entry in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getTitle in interface SAPEntryModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized title of this sap entry
    • getTitle

      public String getTitle(Locale locale, boolean useDefault)
      Returns the localized title of this sap entry in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getTitle in interface SAPEntryModel
      Parameters:
      locale - the local of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized title of this sap entry. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getTitle

      public String getTitle(String languageId)
      Returns the localized title of this sap entry in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getTitle in interface SAPEntryModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized title of this sap entry
    • getTitle

      public String getTitle(String languageId, boolean useDefault)
      Returns the localized title of this sap entry in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getTitle in interface SAPEntryModel
      Parameters:
      languageId - the ID of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized title of this sap entry
    • getTitleCurrentLanguageId

      public String getTitleCurrentLanguageId()
      Specified by:
      getTitleCurrentLanguageId in interface SAPEntryModel
    • getTitleCurrentValue

      public String getTitleCurrentValue()
      Specified by:
      getTitleCurrentValue in interface SAPEntryModel
    • getTitleMap

      public Map<Locale,String> getTitleMap()
      Returns a map of the locales and localized titles of this sap entry.
      Specified by:
      getTitleMap in interface SAPEntryModel
      Returns:
      the locales and localized titles of this sap entry
    • getUserId

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

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

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

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

      public boolean isDefaultSAPEntry()
      Returns true if this sap entry is default sap entry.
      Specified by:
      isDefaultSAPEntry in interface SAPEntryModel
      Returns:
      true if this sap entry is default sap entry; false otherwise
    • isEnabled

      public boolean isEnabled()
      Returns true if this sap entry is enabled.
      Specified by:
      isEnabled in interface SAPEntryModel
      Returns:
      true if this sap entry is enabled; false otherwise
    • isSystem

      public boolean isSystem() throws com.liferay.portal.kernel.module.configuration.ConfigurationException
      Specified by:
      isSystem in interface SAPEntry
      Throws:
      com.liferay.portal.kernel.module.configuration.ConfigurationException
    • persist

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

      public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Specified by:
      prepareLocalizedFieldsForImport in interface SAPEntryModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • prepareLocalizedFieldsForImport

      public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Specified by:
      prepareLocalizedFieldsForImport in interface SAPEntryModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • setAllowedServiceSignatures

      public void setAllowedServiceSignatures(String allowedServiceSignatures)
      Sets the allowed service signatures of this sap entry.
      Specified by:
      setAllowedServiceSignatures in interface SAPEntryModel
      Parameters:
      allowedServiceSignatures - the allowed service signatures of this sap entry
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this sap entry.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface SAPEntryModel
      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 sap entry
    • setCreateDate

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

      public void setDefaultSAPEntry(boolean defaultSAPEntry)
      Sets whether this sap entry is default sap entry.
      Specified by:
      setDefaultSAPEntry in interface SAPEntryModel
      Parameters:
      defaultSAPEntry - the default sap entry of this sap entry
    • setEnabled

      public void setEnabled(boolean enabled)
      Sets whether this sap entry is enabled.
      Specified by:
      setEnabled in interface SAPEntryModel
      Parameters:
      enabled - the enabled of this sap entry
    • setModifiedDate

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

      public void setName(String name)
      Sets the name of this sap entry.
      Specified by:
      setName in interface SAPEntryModel
      Parameters:
      name - the name of this sap entry
    • setPrimaryKey

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

      public void setSapEntryId(long sapEntryId)
      Sets the sap entry ID of this sap entry.
      Specified by:
      setSapEntryId in interface SAPEntryModel
      Parameters:
      sapEntryId - the sap entry ID of this sap entry
    • setTitle

      public void setTitle(String title)
      Sets the title of this sap entry.
      Specified by:
      setTitle in interface SAPEntryModel
      Parameters:
      title - the title of this sap entry
    • setTitle

      public void setTitle(String title, Locale locale)
      Sets the localized title of this sap entry in the language.
      Specified by:
      setTitle in interface SAPEntryModel
      Parameters:
      title - the localized title of this sap entry
      locale - the locale of the language
    • setTitle

      public void setTitle(String title, Locale locale, Locale defaultLocale)
      Sets the localized title of this sap entry in the language, and sets the default locale.
      Specified by:
      setTitle in interface SAPEntryModel
      Parameters:
      title - the localized title of this sap entry
      locale - the locale of the language
      defaultLocale - the default locale
    • setTitleCurrentLanguageId

      public void setTitleCurrentLanguageId(String languageId)
      Specified by:
      setTitleCurrentLanguageId in interface SAPEntryModel
    • setTitleMap

      public void setTitleMap(Map<Locale,String> titleMap)
      Sets the localized titles of this sap entry from the map of locales and localized titles.
      Specified by:
      setTitleMap in interface SAPEntryModel
      Parameters:
      titleMap - the locales and localized titles of this sap entry
    • setTitleMap

      public void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
      Sets the localized titles of this sap entry from the map of locales and localized titles, and sets the default locale.
      Specified by:
      setTitleMap in interface SAPEntryModel
      Parameters:
      titleMap - the locales and localized titles of this sap entry
      defaultLocale - the default locale
    • setUserId

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

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

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

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

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

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

      protected SAPEntryWrapper wrap(SAPEntry sapEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SAPEntry>