Class SAPEntryWrapper
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:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.security.service.access.policy.model.SAPEntry
SAP_ENTRY_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the allowed service signatures of this sap entry.String[]
long
Returns the company ID of this sap entry.Returns the create date of this sap entry.boolean
Returns the default sap entry of this sap entry.boolean
Returns the enabled of this sap entry.Returns the modified date of this sap entry.getName()
Returns the name of this sap entry.long
Returns the primary key of this sap entry.long
Returns the sap entry ID of this sap entry.com.liferay.exportimport.kernel.lar.StagedModelType
getTitle()
Returns the title of this sap entry.Returns the localized title of this sap entry in the language.Returns the localized title of this sap entry in the language, optionally using the default language if no localization exists for the requested language.Returns the localized title of this sap entry in the language.Returns the localized title of this sap entry in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized titles of this sap entry.long
Returns the user ID of this sap entry.Returns the user name of this sap entry.Returns the user uuid of this sap entry.getUuid()
Returns the uuid of this sap entry.boolean
Returnstrue
if this sap entry is default sap entry.boolean
Returnstrue
if this sap entry is enabled.boolean
isSystem()
void
persist()
void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setAllowedServiceSignatures
(String allowedServiceSignatures) Sets the allowed service signatures of this sap entry.void
setCompanyId
(long companyId) Sets the company ID of this sap entry.void
setCreateDate
(Date createDate) Sets the create date of this sap entry.void
setDefaultSAPEntry
(boolean defaultSAPEntry) Sets whether this sap entry is default sap entry.void
setEnabled
(boolean enabled) Sets whether this sap entry is enabled.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this sap entry.void
Sets the name of this sap entry.void
setPrimaryKey
(long primaryKey) Sets the primary key of this sap entry.void
setSapEntryId
(long sapEntryId) Sets the sap entry ID of this sap entry.void
Sets the title of this sap entry.void
Sets the localized title of this sap entry in the language.void
Sets the localized title of this sap entry in the language, and sets the default locale.void
setTitleCurrentLanguageId
(String languageId) void
setTitleMap
(Map<Locale, String> titleMap) Sets the localized titles of this sap entry from the map of locales and localized titles.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.void
setUserId
(long userId) Sets the user ID of this sap entry.void
setUserName
(String userName) Sets the user name of this sap entry.void
setUserUuid
(String userUuid) Sets the user uuid of this sap entry.void
Sets the uuid of this sap entry.protected SAPEntryWrapper
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
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
SAPEntryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<SAPEntry>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<SAPEntry>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<SAPEntry>
- Specified by:
cloneWithOriginalValues
in interfaceSAPEntryModel
-
getAllowedServiceSignatures
Returns the allowed service signatures of this sap entry.- Specified by:
getAllowedServiceSignatures
in interfaceSAPEntryModel
- Returns:
- the allowed service signatures of this sap entry
-
getAllowedServiceSignaturesList
- Specified by:
getAllowedServiceSignaturesList
in interfaceSAPEntry
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
getAvailableLanguageIds
in interfaceSAPEntryModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this sap entry.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceSAPEntryModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this sap entry
-
getCreateDate
Returns the create date of this sap entry.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceSAPEntryModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this sap entry
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
getDefaultLanguageId
in interfaceSAPEntryModel
-
getDefaultSAPEntry
public boolean getDefaultSAPEntry()Returns the default sap entry of this sap entry.- Specified by:
getDefaultSAPEntry
in interfaceSAPEntryModel
- Returns:
- the default sap entry of this sap entry
-
getEnabled
public boolean getEnabled()Returns the enabled of this sap entry.- Specified by:
getEnabled
in interfaceSAPEntryModel
- Returns:
- the enabled of this sap entry
-
getModifiedDate
Returns the modified date of this sap entry.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceSAPEntryModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this sap entry
-
getName
Returns the name of this sap entry.- Specified by:
getName
in interfaceSAPEntryModel
- Returns:
- the name of this sap entry
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this sap entry.- Specified by:
getPrimaryKey
in interfaceSAPEntryModel
- 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 interfaceSAPEntryModel
- Returns:
- the sap entry ID of this sap entry
-
getTitle
Returns the title of this sap entry.- Specified by:
getTitle
in interfaceSAPEntryModel
- Returns:
- the title of this sap entry
-
getTitle
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 interfaceSAPEntryModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized title of this sap entry
-
getTitle
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 interfaceSAPEntryModel
- Parameters:
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized title of this sap entry. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getTitle
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 interfaceSAPEntryModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized title of this sap entry
-
getTitle
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 interfaceSAPEntryModel
- Parameters:
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized title of this sap entry
-
getTitleCurrentLanguageId
- Specified by:
getTitleCurrentLanguageId
in interfaceSAPEntryModel
-
getTitleCurrentValue
- Specified by:
getTitleCurrentValue
in interfaceSAPEntryModel
-
getTitleMap
Returns a map of the locales and localized titles of this sap entry.- Specified by:
getTitleMap
in interfaceSAPEntryModel
- 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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceSAPEntryModel
- Returns:
- the user ID of this sap entry
-
getUserName
Returns the user name of this sap entry.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceSAPEntryModel
- Returns:
- the user name of this sap entry
-
getUserUuid
Returns the user uuid of this sap entry.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceSAPEntryModel
- Returns:
- the user uuid of this sap entry
-
getUuid
Returns the uuid of this sap entry.- Specified by:
getUuid
in interfaceSAPEntryModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this sap entry
-
isDefaultSAPEntry
public boolean isDefaultSAPEntry()Returnstrue
if this sap entry is default sap entry.- Specified by:
isDefaultSAPEntry
in interfaceSAPEntryModel
- Returns:
true
if this sap entry is default sap entry;false
otherwise
-
isEnabled
public boolean isEnabled()Returnstrue
if this sap entry is enabled.- Specified by:
isEnabled
in interfaceSAPEntryModel
- Returns:
true
if this sap entry is enabled;false
otherwise
-
isSystem
public boolean isSystem() throws com.liferay.portal.kernel.module.configuration.ConfigurationException -
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
prepareLocalizedFieldsForImport
in interfaceSAPEntryModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
prepareLocalizedFieldsForImport
in interfaceSAPEntryModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setAllowedServiceSignatures
Sets the allowed service signatures of this sap entry.- Specified by:
setAllowedServiceSignatures
in interfaceSAPEntryModel
- 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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceSAPEntryModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this sap entry
-
setCreateDate
Sets the create date of this sap entry.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceSAPEntryModel
- Specified by:
setCreateDate
in interfacecom.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 interfaceSAPEntryModel
- 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 interfaceSAPEntryModel
- Parameters:
enabled
- the enabled of this sap entry
-
setModifiedDate
Sets the modified date of this sap entry.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceSAPEntryModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this sap entry
-
setName
Sets the name of this sap entry.- Specified by:
setName
in interfaceSAPEntryModel
- 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 interfaceSAPEntryModel
- 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 interfaceSAPEntryModel
- Parameters:
sapEntryId
- the sap entry ID of this sap entry
-
setTitle
Sets the title of this sap entry.- Specified by:
setTitle
in interfaceSAPEntryModel
- Parameters:
title
- the title of this sap entry
-
setTitle
Sets the localized title of this sap entry in the language.- Specified by:
setTitle
in interfaceSAPEntryModel
- Parameters:
title
- the localized title of this sap entrylocale
- the locale of the language
-
setTitle
Sets the localized title of this sap entry in the language, and sets the default locale.- Specified by:
setTitle
in interfaceSAPEntryModel
- Parameters:
title
- the localized title of this sap entrylocale
- the locale of the languagedefaultLocale
- the default locale
-
setTitleCurrentLanguageId
- Specified by:
setTitleCurrentLanguageId
in interfaceSAPEntryModel
-
setTitleMap
Sets the localized titles of this sap entry from the map of locales and localized titles.- Specified by:
setTitleMap
in interfaceSAPEntryModel
- Parameters:
titleMap
- the locales and localized titles of this sap entry
-
setTitleMap
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 interfaceSAPEntryModel
- Parameters:
titleMap
- the locales and localized titles of this sap entrydefaultLocale
- the default locale
-
setUserId
public void setUserId(long userId) Sets the user ID of this sap entry.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceSAPEntryModel
- Parameters:
userId
- the user ID of this sap entry
-
setUserName
Sets the user name of this sap entry.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceSAPEntryModel
- Parameters:
userName
- the user name of this sap entry
-
setUserUuid
Sets the user uuid of this sap entry.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceSAPEntryModel
- Parameters:
userUuid
- the user uuid of this sap entry
-
setUuid
Sets the uuid of this sap entry.- Specified by:
setUuid
in interfaceSAPEntryModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this sap entry
-
toXmlString
- Specified by:
toXmlString
in interfaceSAPEntryModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SAPEntry>
-