Package com.liferay.object.model
Class ObjectFolderWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectFolder>
com.liferay.object.model.ObjectFolderWrapper
- All Implemented Interfaces:
ObjectFolder
,ObjectFolderModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<ObjectFolder>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.ModelWrapper<ObjectFolder>
,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<ObjectFolder>
public class ObjectFolderWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectFolder>
implements com.liferay.portal.kernel.model.ModelWrapper<ObjectFolder>, ObjectFolder
This class is a wrapper for ObjectFolder
.
- 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.ObjectFolder
OBJECT_FOLDER_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
long
Returns the company ID of this object folder.Returns the create date of this object folder.Returns the external reference code of this object folder.getLabel()
Returns the label of this object folder.Returns the localized label of this object folder in the language.Returns the localized label of this object folder in the language, optionally using the default language if no localization exists for the requested language.Returns the localized label of this object folder in the language.Returns the localized label of this object folder in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized labels of this object folder.Returns the modified date of this object folder.long
Returns the mvcc version of this object folder.getName()
Returns the name of this object folder.long
Returns the object folder ID of this object folder.long
Returns the primary key of this object folder.com.liferay.exportimport.kernel.lar.StagedModelType
long
Returns the user ID of this object folder.Returns the user name of this object folder.Returns the user uuid of this object folder.getUuid()
Returns the uuid of this object folder.boolean
void
persist()
void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setCompanyId
(long companyId) Sets the company ID of this object folder.void
setCreateDate
(Date createDate) Sets the create date of this object folder.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this object folder.void
Sets the label of this object folder.void
Sets the localized label of this object folder in the language.void
Sets the localized label of this object folder in the language, and sets the default locale.void
setLabelCurrentLanguageId
(String languageId) void
setLabelMap
(Map<Locale, String> labelMap) Sets the localized labels of this object folder from the map of locales and localized labels.void
setLabelMap
(Map<Locale, String> labelMap, Locale defaultLocale) Sets the localized labels of this object folder from the map of locales and localized labels, and sets the default locale.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this object folder.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this object folder.void
Sets the name of this object folder.void
setObjectFolderId
(long objectFolderId) Sets the object folder ID of this object folder.void
setPrimaryKey
(long primaryKey) Sets the primary key of this object folder.void
setUserId
(long userId) Sets the user ID of this object folder.void
setUserName
(String userName) Sets the user name of this object folder.void
setUserUuid
(String userUuid) Sets the user uuid of this object folder.void
Sets the uuid of this object folder.protected ObjectFolderWrapper
wrap
(ObjectFolder objectFolder) 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
-
ObjectFolderWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectFolder>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectFolder>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectFolder>
- Specified by:
cloneWithOriginalValues
in interfaceObjectFolderModel
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
getAvailableLanguageIds
in interfaceObjectFolderModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this object folder.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceObjectFolderModel
- 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 folder
-
getCreateDate
Returns the create date of this object folder.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceObjectFolderModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this object folder
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
getDefaultLanguageId
in interfaceObjectFolderModel
-
getExternalReferenceCode
Returns the external reference code of this object folder.- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
getExternalReferenceCode
in interfaceObjectFolderModel
- Returns:
- the external reference code of this object folder
-
getLabel
Returns the label of this object folder.- Specified by:
getLabel
in interfaceObjectFolderModel
- Returns:
- the label of this object folder
-
getLabel
Returns the localized label of this object folder in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getLabel
in interfaceObjectFolderModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized label of this object folder
-
getLabel
Returns the localized label of this object folder in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getLabel
in interfaceObjectFolderModel
- Parameters:
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized label of this object folder. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getLabel
Returns the localized label of this object folder in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getLabel
in interfaceObjectFolderModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized label of this object folder
-
getLabel
Returns the localized label of this object folder in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getLabel
in interfaceObjectFolderModel
- Parameters:
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized label of this object folder
-
getLabelCurrentLanguageId
- Specified by:
getLabelCurrentLanguageId
in interfaceObjectFolderModel
-
getLabelCurrentValue
- Specified by:
getLabelCurrentValue
in interfaceObjectFolderModel
-
getLabelMap
Returns a map of the locales and localized labels of this object folder.- Specified by:
getLabelMap
in interfaceObjectFolderModel
- Returns:
- the locales and localized labels of this object folder
-
getModifiedDate
Returns the modified date of this object folder.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceObjectFolderModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this object folder
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this object folder.- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
getMvccVersion
in interfaceObjectFolderModel
- Returns:
- the mvcc version of this object folder
-
getName
Returns the name of this object folder.- Specified by:
getName
in interfaceObjectFolderModel
- Returns:
- the name of this object folder
-
getObjectFolderId
public long getObjectFolderId()Returns the object folder ID of this object folder.- Specified by:
getObjectFolderId
in interfaceObjectFolderModel
- Returns:
- the object folder ID of this object folder
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this object folder.- Specified by:
getPrimaryKey
in interfaceObjectFolderModel
- Returns:
- the primary key of this object folder
-
getUserId
public long getUserId()Returns the user ID of this object folder.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceObjectFolderModel
- Returns:
- the user ID of this object folder
-
getUserName
Returns the user name of this object folder.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceObjectFolderModel
- Returns:
- the user name of this object folder
-
getUserUuid
Returns the user uuid of this object folder.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceObjectFolderModel
- Returns:
- the user uuid of this object folder
-
getUuid
Returns the uuid of this object folder.- Specified by:
getUuid
in interfaceObjectFolderModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this object folder
-
isDefault
public boolean isDefault()- Specified by:
isDefault
in interfaceObjectFolder
-
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 interfaceObjectFolderModel
- 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 interfaceObjectFolderModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this object folder.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceObjectFolderModel
- 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 folder
-
setCreateDate
Sets the create date of this object folder.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceObjectFolderModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this object folder
-
setExternalReferenceCode
Sets the external reference code of this object folder.- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
setExternalReferenceCode
in interfaceObjectFolderModel
- Parameters:
externalReferenceCode
- the external reference code of this object folder
-
setLabel
Sets the label of this object folder.- Specified by:
setLabel
in interfaceObjectFolderModel
- Parameters:
label
- the label of this object folder
-
setLabel
Sets the localized label of this object folder in the language.- Specified by:
setLabel
in interfaceObjectFolderModel
- Parameters:
label
- the localized label of this object folderlocale
- the locale of the language
-
setLabel
Sets the localized label of this object folder in the language, and sets the default locale.- Specified by:
setLabel
in interfaceObjectFolderModel
- Parameters:
label
- the localized label of this object folderlocale
- the locale of the languagedefaultLocale
- the default locale
-
setLabelCurrentLanguageId
- Specified by:
setLabelCurrentLanguageId
in interfaceObjectFolderModel
-
setLabelMap
Sets the localized labels of this object folder from the map of locales and localized labels.- Specified by:
setLabelMap
in interfaceObjectFolderModel
- Parameters:
labelMap
- the locales and localized labels of this object folder
-
setLabelMap
Sets the localized labels of this object folder from the map of locales and localized labels, and sets the default locale.- Specified by:
setLabelMap
in interfaceObjectFolderModel
- Parameters:
labelMap
- the locales and localized labels of this object folderdefaultLocale
- the default locale
-
setModifiedDate
Sets the modified date of this object folder.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceObjectFolderModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this object folder
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this object folder.- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
setMvccVersion
in interfaceObjectFolderModel
- Parameters:
mvccVersion
- the mvcc version of this object folder
-
setName
Sets the name of this object folder.- Specified by:
setName
in interfaceObjectFolderModel
- Parameters:
name
- the name of this object folder
-
setObjectFolderId
public void setObjectFolderId(long objectFolderId) Sets the object folder ID of this object folder.- Specified by:
setObjectFolderId
in interfaceObjectFolderModel
- Parameters:
objectFolderId
- the object folder ID of this object folder
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this object folder.- Specified by:
setPrimaryKey
in interfaceObjectFolderModel
- Parameters:
primaryKey
- the primary key of this object folder
-
setUserId
public void setUserId(long userId) Sets the user ID of this object folder.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceObjectFolderModel
- Parameters:
userId
- the user ID of this object folder
-
setUserName
Sets the user name of this object folder.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceObjectFolderModel
- Parameters:
userName
- the user name of this object folder
-
setUserUuid
Sets the user uuid of this object folder.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceObjectFolderModel
- Parameters:
userUuid
- the user uuid of this object folder
-
setUuid
Sets the uuid of this object folder.- Specified by:
setUuid
in interfaceObjectFolderModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this object folder
-
toXmlString
- Specified by:
toXmlString
in interfaceObjectFolderModel
-
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<ObjectFolder>
-