Package com.liferay.object.model
Class ObjectLayoutTabWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectLayoutTab>
com.liferay.object.model.ObjectLayoutTabWrapper
- All Implemented Interfaces:
ObjectLayoutTab
,ObjectLayoutTabModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<ObjectLayoutTab>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.ModelWrapper<ObjectLayoutTab>
,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
,Serializable
,Cloneable
,Comparable<ObjectLayoutTab>
public class ObjectLayoutTabWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectLayoutTab>
implements com.liferay.portal.kernel.model.ModelWrapper<ObjectLayoutTab>, ObjectLayoutTab
This class is a wrapper for ObjectLayoutTab
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.object.model.ObjectLayoutTab
OBJECT_LAYOUT_TAB_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
long
Returns the company ID of this object layout tab.Returns the create date of this object layout tab.Returns the modified date of this object layout tab.long
Returns the mvcc version of this object layout tab.getName()
Returns the name of this object layout tab.Returns the localized name of this object layout tab in the language.Returns the localized name of this object layout tab in the language, optionally using the default language if no localization exists for the requested language.Returns the localized name of this object layout tab in the language.Returns the localized name of this object layout tab in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized names of this object layout tab.long
Returns the object layout ID of this object layout tab.long
Returns the object layout tab ID of this object layout tab.long
Returns the object relationship ID of this object layout tab.long
Returns the primary key of this object layout tab.int
Returns the priority of this object layout tab.com.liferay.exportimport.kernel.lar.StagedModelType
long
Returns the user ID of this object layout tab.Returns the user name of this object layout tab.Returns the user uuid of this object layout tab.getUuid()
Returns the uuid of this object layout tab.void
persist()
void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setCompanyId
(long companyId) Sets the company ID of this object layout tab.void
setCreateDate
(Date createDate) Sets the create date of this object layout tab.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this object layout tab.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this object layout tab.void
Sets the name of this object layout tab.void
Sets the localized name of this object layout tab in the language.void
Sets the localized name of this object layout tab in the language, and sets the default locale.void
setNameCurrentLanguageId
(String languageId) void
setNameMap
(Map<Locale, String> nameMap) Sets the localized names of this object layout tab from the map of locales and localized names.void
setNameMap
(Map<Locale, String> nameMap, Locale defaultLocale) Sets the localized names of this object layout tab from the map of locales and localized names, and sets the default locale.void
setObjectLayoutBoxes
(List<ObjectLayoutBox> objectLayoutBoxes) void
setObjectLayoutId
(long objectLayoutId) Sets the object layout ID of this object layout tab.void
setObjectLayoutTabId
(long objectLayoutTabId) Sets the object layout tab ID of this object layout tab.void
setObjectRelationshipId
(long objectRelationshipId) Sets the object relationship ID of this object layout tab.void
setPrimaryKey
(long primaryKey) Sets the primary key of this object layout tab.void
setPriority
(int priority) Sets the priority of this object layout tab.void
setUserId
(long userId) Sets the user ID of this object layout tab.void
setUserName
(String userName) Sets the user name of this object layout tab.void
setUserUuid
(String userUuid) Sets the user uuid of this object layout tab.void
Sets the uuid of this object layout tab.protected ObjectLayoutTabWrapper
wrap
(ObjectLayoutTab objectLayoutTab) 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
-
ObjectLayoutTabWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectLayoutTab>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectLayoutTab>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectLayoutTab>
- Specified by:
cloneWithOriginalValues
in interfaceObjectLayoutTabModel
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
getAvailableLanguageIds
in interfaceObjectLayoutTabModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this object layout tab.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceObjectLayoutTabModel
- 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 object layout tab
-
getCreateDate
Returns the create date of this object layout tab.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceObjectLayoutTabModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this object layout tab
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
getDefaultLanguageId
in interfaceObjectLayoutTabModel
-
getModifiedDate
Returns the modified date of this object layout tab.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceObjectLayoutTabModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this object layout tab
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this object layout tab.- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
getMvccVersion
in interfaceObjectLayoutTabModel
- Returns:
- the mvcc version of this object layout tab
-
getName
Returns the name of this object layout tab.- Specified by:
getName
in interfaceObjectLayoutTabModel
- Returns:
- the name of this object layout tab
-
getName
Returns the localized name of this object layout tab in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceObjectLayoutTabModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized name of this object layout tab
-
getName
Returns the localized name of this object layout tab in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceObjectLayoutTabModel
- Parameters:
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this object layout tab. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getName
Returns the localized name of this object layout tab in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceObjectLayoutTabModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized name of this object layout tab
-
getName
Returns the localized name of this object layout tab in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceObjectLayoutTabModel
- Parameters:
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this object layout tab
-
getNameCurrentLanguageId
- Specified by:
getNameCurrentLanguageId
in interfaceObjectLayoutTabModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValue
in interfaceObjectLayoutTabModel
-
getNameMap
Returns a map of the locales and localized names of this object layout tab.- Specified by:
getNameMap
in interfaceObjectLayoutTabModel
- Returns:
- the locales and localized names of this object layout tab
-
getObjectLayoutBoxes
- Specified by:
getObjectLayoutBoxes
in interfaceObjectLayoutTab
-
getObjectLayoutId
public long getObjectLayoutId()Returns the object layout ID of this object layout tab.- Specified by:
getObjectLayoutId
in interfaceObjectLayoutTabModel
- Returns:
- the object layout ID of this object layout tab
-
getObjectLayoutTabId
public long getObjectLayoutTabId()Returns the object layout tab ID of this object layout tab.- Specified by:
getObjectLayoutTabId
in interfaceObjectLayoutTabModel
- Returns:
- the object layout tab ID of this object layout tab
-
getObjectRelationshipId
public long getObjectRelationshipId()Returns the object relationship ID of this object layout tab.- Specified by:
getObjectRelationshipId
in interfaceObjectLayoutTabModel
- Returns:
- the object relationship ID of this object layout tab
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this object layout tab.- Specified by:
getPrimaryKey
in interfaceObjectLayoutTabModel
- Returns:
- the primary key of this object layout tab
-
getPriority
public int getPriority()Returns the priority of this object layout tab.- Specified by:
getPriority
in interfaceObjectLayoutTabModel
- Returns:
- the priority of this object layout tab
-
getUserId
public long getUserId()Returns the user ID of this object layout tab.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceObjectLayoutTabModel
- Returns:
- the user ID of this object layout tab
-
getUserName
Returns the user name of this object layout tab.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceObjectLayoutTabModel
- Returns:
- the user name of this object layout tab
-
getUserUuid
Returns the user uuid of this object layout tab.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceObjectLayoutTabModel
- Returns:
- the user uuid of this object layout tab
-
getUuid
Returns the uuid of this object layout tab.- Specified by:
getUuid
in interfaceObjectLayoutTabModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this object layout tab
-
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 interfaceObjectLayoutTabModel
- 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 interfaceObjectLayoutTabModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this object layout tab.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceObjectLayoutTabModel
- 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 object layout tab
-
setCreateDate
Sets the create date of this object layout tab.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceObjectLayoutTabModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this object layout tab
-
setModifiedDate
Sets the modified date of this object layout tab.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceObjectLayoutTabModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this object layout tab
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this object layout tab.- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
setMvccVersion
in interfaceObjectLayoutTabModel
- Parameters:
mvccVersion
- the mvcc version of this object layout tab
-
setName
Sets the name of this object layout tab.- Specified by:
setName
in interfaceObjectLayoutTabModel
- Parameters:
name
- the name of this object layout tab
-
setName
Sets the localized name of this object layout tab in the language.- Specified by:
setName
in interfaceObjectLayoutTabModel
- Parameters:
name
- the localized name of this object layout tablocale
- the locale of the language
-
setName
Sets the localized name of this object layout tab in the language, and sets the default locale.- Specified by:
setName
in interfaceObjectLayoutTabModel
- Parameters:
name
- the localized name of this object layout tablocale
- the locale of the languagedefaultLocale
- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageId
in interfaceObjectLayoutTabModel
-
setNameMap
Sets the localized names of this object layout tab from the map of locales and localized names.- Specified by:
setNameMap
in interfaceObjectLayoutTabModel
- Parameters:
nameMap
- the locales and localized names of this object layout tab
-
setNameMap
Sets the localized names of this object layout tab from the map of locales and localized names, and sets the default locale.- Specified by:
setNameMap
in interfaceObjectLayoutTabModel
- Parameters:
nameMap
- the locales and localized names of this object layout tabdefaultLocale
- the default locale
-
setObjectLayoutBoxes
- Specified by:
setObjectLayoutBoxes
in interfaceObjectLayoutTab
-
setObjectLayoutId
public void setObjectLayoutId(long objectLayoutId) Sets the object layout ID of this object layout tab.- Specified by:
setObjectLayoutId
in interfaceObjectLayoutTabModel
- Parameters:
objectLayoutId
- the object layout ID of this object layout tab
-
setObjectLayoutTabId
public void setObjectLayoutTabId(long objectLayoutTabId) Sets the object layout tab ID of this object layout tab.- Specified by:
setObjectLayoutTabId
in interfaceObjectLayoutTabModel
- Parameters:
objectLayoutTabId
- the object layout tab ID of this object layout tab
-
setObjectRelationshipId
public void setObjectRelationshipId(long objectRelationshipId) Sets the object relationship ID of this object layout tab.- Specified by:
setObjectRelationshipId
in interfaceObjectLayoutTabModel
- Parameters:
objectRelationshipId
- the object relationship ID of this object layout tab
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this object layout tab.- Specified by:
setPrimaryKey
in interfaceObjectLayoutTabModel
- Parameters:
primaryKey
- the primary key of this object layout tab
-
setPriority
public void setPriority(int priority) Sets the priority of this object layout tab.- Specified by:
setPriority
in interfaceObjectLayoutTabModel
- Parameters:
priority
- the priority of this object layout tab
-
setUserId
public void setUserId(long userId) Sets the user ID of this object layout tab.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceObjectLayoutTabModel
- Parameters:
userId
- the user ID of this object layout tab
-
setUserName
Sets the user name of this object layout tab.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceObjectLayoutTabModel
- Parameters:
userName
- the user name of this object layout tab
-
setUserUuid
Sets the user uuid of this object layout tab.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceObjectLayoutTabModel
- Parameters:
userUuid
- the user uuid of this object layout tab
-
setUuid
Sets the uuid of this object layout tab.- Specified by:
setUuid
in interfaceObjectLayoutTabModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this object layout tab
-
toXmlString
- Specified by:
toXmlString
in interfaceObjectLayoutTabModel
-
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<ObjectLayoutTab>
-