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
modelFields inherited from interface com.liferay.object.model.ObjectFolder
OBJECT_FOLDER_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]longReturns 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.longReturns the mvcc version of this object folder.getName()Returns the name of this object folder.longReturns the object folder ID of this object folder.longReturns the primary key of this object folder.com.liferay.exportimport.kernel.lar.StagedModelTypelongReturns 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.booleanvoidpersist()voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidsetCompanyId(long companyId) Sets the company ID of this object folder.voidsetCreateDate(Date createDate) Sets the create date of this object folder.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this object folder.voidSets the label of this object folder.voidSets the localized label of this object folder in the language.voidSets the localized label of this object folder in the language, and sets the default locale.voidsetLabelCurrentLanguageId(String languageId) voidsetLabelMap(Map<Locale, String> labelMap) Sets the localized labels of this object folder from the map of locales and localized labels.voidsetLabelMap(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.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this object folder.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this object folder.voidSets the name of this object folder.voidsetObjectFolderId(long objectFolderId) Sets the object folder ID of this object folder.voidsetPrimaryKey(long primaryKey) Sets the primary key of this object folder.voidsetUserId(long userId) Sets the user ID of this object folder.voidsetUserName(String userName) Sets the user name of this object folder.voidsetUserUuid(String userUuid) Sets the user uuid of this object folder.voidSets the uuid of this object folder.protected ObjectFolderWrapperwrap(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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
ObjectFolderWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<ObjectFolder>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<ObjectFolder>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<ObjectFolder>- Specified by:
cloneWithOriginalValuesin interfaceObjectFolderModel
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIdsin interfacecom.liferay.portal.kernel.model.LocalizedModel- Specified by:
getAvailableLanguageIdsin interfaceObjectFolderModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this object folder.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceObjectFolderModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin 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:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceObjectFolderModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this object folder
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageIdin interfacecom.liferay.portal.kernel.model.LocalizedModel- Specified by:
getDefaultLanguageIdin interfaceObjectFolderModel
-
getExternalReferenceCode
Returns the external reference code of this object folder.- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Specified by:
getExternalReferenceCodein interfaceObjectFolderModel- Returns:
- the external reference code of this object folder
-
getLabel
Returns the label of this object folder.- Specified by:
getLabelin 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:
getLabelin 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:
getLabelin 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
useDefaultisfalseand 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:
getLabelin 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:
getLabelin 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:
getLabelCurrentLanguageIdin interfaceObjectFolderModel
-
getLabelCurrentValue
- Specified by:
getLabelCurrentValuein interfaceObjectFolderModel
-
getLabelMap
Returns a map of the locales and localized labels of this object folder.- Specified by:
getLabelMapin interfaceObjectFolderModel- Returns:
- the locales and localized labels of this object folder
-
getModifiedDate
Returns the modified date of this object folder.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceObjectFolderModel- Specified by:
getModifiedDatein 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:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Specified by:
getMvccVersionin interfaceObjectFolderModel- Returns:
- the mvcc version of this object folder
-
getName
Returns the name of this object folder.- Specified by:
getNamein interfaceObjectFolderModel- Returns:
- the name of this object folder
-
getObjectFolderId
public long getObjectFolderId()Returns the object folder ID of this object folder.- Specified by:
getObjectFolderIdin interfaceObjectFolderModel- Returns:
- the object folder ID of this object folder
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this object folder.- Specified by:
getPrimaryKeyin interfaceObjectFolderModel- Returns:
- the primary key of this object folder
-
getUserId
public long getUserId()Returns the user ID of this object folder.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceObjectFolderModel- Returns:
- the user ID of this object folder
-
getUserName
Returns the user name of this object folder.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceObjectFolderModel- Returns:
- the user name of this object folder
-
getUserUuid
Returns the user uuid of this object folder.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceObjectFolderModel- Returns:
- the user uuid of this object folder
-
getUuid
Returns the uuid of this object folder.- Specified by:
getUuidin interfaceObjectFolderModel- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this object folder
-
isDefault
public boolean isDefault()- Specified by:
isDefaultin interfaceObjectFolder
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Specified by:
prepareLocalizedFieldsForImportin interfaceObjectFolderModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Specified by:
prepareLocalizedFieldsForImportin interfaceObjectFolderModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this object folder.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceObjectFolderModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin 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:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceObjectFolderModel- Specified by:
setCreateDatein 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:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Specified by:
setExternalReferenceCodein interfaceObjectFolderModel- Parameters:
externalReferenceCode- the external reference code of this object folder
-
setLabel
Sets the label of this object folder.- Specified by:
setLabelin interfaceObjectFolderModel- Parameters:
label- the label of this object folder
-
setLabel
Sets the localized label of this object folder in the language.- Specified by:
setLabelin 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:
setLabelin interfaceObjectFolderModel- Parameters:
label- the localized label of this object folderlocale- the locale of the languagedefaultLocale- the default locale
-
setLabelCurrentLanguageId
- Specified by:
setLabelCurrentLanguageIdin interfaceObjectFolderModel
-
setLabelMap
Sets the localized labels of this object folder from the map of locales and localized labels.- Specified by:
setLabelMapin 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:
setLabelMapin 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:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceObjectFolderModel- Specified by:
setModifiedDatein 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:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Specified by:
setMvccVersionin interfaceObjectFolderModel- Parameters:
mvccVersion- the mvcc version of this object folder
-
setName
Sets the name of this object folder.- Specified by:
setNamein 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:
setObjectFolderIdin 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:
setPrimaryKeyin 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:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceObjectFolderModel- Parameters:
userId- the user ID of this object folder
-
setUserName
Sets the user name of this object folder.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceObjectFolderModel- Parameters:
userName- the user name of this object folder
-
setUserUuid
Sets the user uuid of this object folder.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceObjectFolderModel- Parameters:
userUuid- the user uuid of this object folder
-
setUuid
Sets the uuid of this object folder.- Specified by:
setUuidin interfaceObjectFolderModel- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this object folder
-
toXmlString
- Specified by:
toXmlStringin interfaceObjectFolderModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelTypein interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectFolder>
-