Package com.liferay.calendar.model
Class CalendarResourceWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CalendarResource>
com.liferay.calendar.model.CalendarResourceWrapper
- All Implemented Interfaces:
CalendarResource
,CalendarResourceModel
,com.liferay.portal.kernel.model.AttachedModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CalendarResource>
,com.liferay.portal.kernel.model.change.tracking.CTModel<CalendarResource>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.ModelWrapper<CalendarResource>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedGroupedModel
,com.liferay.portal.kernel.model.StagedModel
,com.liferay.portal.kernel.model.TypedModel
,Serializable
,Cloneable
,Comparable<CalendarResource>
public class CalendarResourceWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CalendarResource>
implements CalendarResource, com.liferay.portal.kernel.model.ModelWrapper<CalendarResource>
This class is a wrapper for CalendarResource
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.calendar.model.CalendarResource
CALENDAR_RESOURCE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the active of this calendar resource.String[]
long
Returns the calendar resource ID of this calendar resource.Returns the fully qualified class name of this calendar resource.long
Returns the class name ID of this calendar resource.long
Returns the class pk of this calendar resource.Returns the class uuid of this calendar resource.getCode()
Returns the code of this calendar resource.long
Returns the company ID of this calendar resource.Returns the create date of this calendar resource.long
Returns the ct collection ID of this calendar resource.long
Returns the description of this calendar resource.getDescription
(String languageId) Returns the localized description of this calendar resource in the language.getDescription
(String languageId, boolean useDefault) Returns the localized description of this calendar resource in the language, optionally using the default language if no localization exists for the requested language.getDescription
(Locale locale) Returns the localized description of this calendar resource in the language.getDescription
(Locale locale, boolean useDefault) Returns the localized description of this calendar resource in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized descriptions of this calendar resource.long
Returns the group ID of this calendar resource.Returns the last publish date of this calendar resource.Returns the modified date of this calendar resource.long
Returns the mvcc version of this calendar resource.getName()
Returns the name of this calendar resource.Returns the localized name of this calendar resource in the language.Returns the localized name of this calendar resource in the language, optionally using the default language if no localization exists for the requested language.Returns the localized name of this calendar resource in the language.Returns the localized name of this calendar resource 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 calendar resource.long
Returns the primary key of this calendar resource.com.liferay.exportimport.kernel.lar.StagedModelType
long
Returns the user ID of this calendar resource.Returns the user name of this calendar resource.Returns the user uuid of this calendar resource.getUuid()
Returns the uuid of this calendar resource.boolean
isActive()
Returnstrue
if this calendar resource is active.boolean
isGroup()
boolean
isUser()
void
persist()
void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setActive
(boolean active) Sets whether this calendar resource is active.void
setCalendarResourceId
(long calendarResourceId) Sets the calendar resource ID of this calendar resource.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this calendar resource.void
setClassPK
(long classPK) Sets the class pk of this calendar resource.void
setClassUuid
(String classUuid) Sets the class uuid of this calendar resource.void
Sets the code of this calendar resource.void
setCompanyId
(long companyId) Sets the company ID of this calendar resource.void
setCreateDate
(Date createDate) Sets the create date of this calendar resource.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this calendar resource.void
setDescription
(String description) Sets the description of this calendar resource.void
setDescription
(String description, Locale locale) Sets the localized description of this calendar resource in the language.void
setDescription
(String description, Locale locale, Locale defaultLocale) Sets the localized description of this calendar resource in the language, and sets the default locale.void
setDescriptionCurrentLanguageId
(String languageId) void
setDescriptionMap
(Map<Locale, String> descriptionMap) Sets the localized descriptions of this calendar resource from the map of locales and localized descriptions.void
setDescriptionMap
(Map<Locale, String> descriptionMap, Locale defaultLocale) Sets the localized descriptions of this calendar resource from the map of locales and localized descriptions, and sets the default locale.void
setGroupId
(long groupId) Sets the group ID of this calendar resource.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this calendar resource.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this calendar resource.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this calendar resource.void
Sets the name of this calendar resource.void
Sets the localized name of this calendar resource in the language.void
Sets the localized name of this calendar resource in the language, and sets the default locale.void
setNameCurrentLanguageId
(String languageId) void
setNameMap
(Map<Locale, String> nameMap) Sets the localized names of this calendar resource from the map of locales and localized names.void
setNameMap
(Map<Locale, String> nameMap, Locale defaultLocale) Sets the localized names of this calendar resource from the map of locales and localized names, and sets the default locale.void
setPrimaryKey
(long primaryKey) Sets the primary key of this calendar resource.void
setUserId
(long userId) Sets the user ID of this calendar resource.void
setUserName
(String userName) Sets the user name of this calendar resource.void
setUserUuid
(String userUuid) Sets the user uuid of this calendar resource.void
Sets the uuid of this calendar resource.protected CalendarResourceWrapper
wrap
(CalendarResource calendarResource) 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, 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
-
CalendarResourceWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CalendarResource>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CalendarResource>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CalendarResource>
- Specified by:
cloneWithOriginalValues
in interfaceCalendarResourceModel
-
getActive
public boolean getActive()Returns the active of this calendar resource.- Specified by:
getActive
in interfaceCalendarResourceModel
- Returns:
- the active of this calendar resource
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfaceCalendarResourceModel
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getCalendarResourceId
public long getCalendarResourceId()Returns the calendar resource ID of this calendar resource.- Specified by:
getCalendarResourceId
in interfaceCalendarResourceModel
- Returns:
- the calendar resource ID of this calendar resource
-
getCalendars
- Specified by:
getCalendars
in interfaceCalendarResource
-
getClassName
Returns the fully qualified class name of this calendar resource.- Specified by:
getClassName
in interfaceCalendarResourceModel
- Specified by:
getClassName
in interfacecom.liferay.portal.kernel.model.TypedModel
- Returns:
- the fully qualified class name of this calendar resource
-
getClassNameId
public long getClassNameId()Returns the class name ID of this calendar resource.- Specified by:
getClassNameId
in interfaceCalendarResourceModel
- Specified by:
getClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
- Returns:
- the class name ID of this calendar resource
-
getClassPK
public long getClassPK()Returns the class pk of this calendar resource.- Specified by:
getClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
getClassPK
in interfaceCalendarResourceModel
- Returns:
- the class pk of this calendar resource
-
getClassUuid
Returns the class uuid of this calendar resource.- Specified by:
getClassUuid
in interfaceCalendarResourceModel
- Returns:
- the class uuid of this calendar resource
-
getCode
Returns the code of this calendar resource.- Specified by:
getCode
in interfaceCalendarResourceModel
- Returns:
- the code of this calendar resource
-
getCompanyId
public long getCompanyId()Returns the company ID of this calendar resource.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCalendarResourceModel
- 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 calendar resource
-
getCreateDate
Returns the create date of this calendar resource.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCalendarResourceModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this calendar resource
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this calendar resource.- Specified by:
getCtCollectionId
in interfaceCalendarResourceModel
- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CalendarResource>
- Returns:
- the ct collection ID of this calendar resource
-
getDefaultCalendar
- Specified by:
getDefaultCalendar
in interfaceCalendarResource
-
getDefaultCalendarId
public long getDefaultCalendarId()- Specified by:
getDefaultCalendarId
in interfaceCalendarResource
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfaceCalendarResourceModel
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDescription
Returns the description of this calendar resource.- Specified by:
getDescription
in interfaceCalendarResourceModel
- Returns:
- the description of this calendar resource
-
getDescription
Returns the localized description of this calendar resource in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getDescription
in interfaceCalendarResourceModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized description of this calendar resource
-
getDescription
Returns the localized description of this calendar resource in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getDescription
in interfaceCalendarResourceModel
- Parameters:
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized description of this calendar resource. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getDescription
Returns the localized description of this calendar resource in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getDescription
in interfaceCalendarResourceModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized description of this calendar resource
-
getDescription
Returns the localized description of this calendar resource in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getDescription
in interfaceCalendarResourceModel
- Parameters:
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized description of this calendar resource
-
getDescriptionCurrentLanguageId
- Specified by:
getDescriptionCurrentLanguageId
in interfaceCalendarResourceModel
-
getDescriptionCurrentValue
- Specified by:
getDescriptionCurrentValue
in interfaceCalendarResourceModel
-
getDescriptionMap
Returns a map of the locales and localized descriptions of this calendar resource.- Specified by:
getDescriptionMap
in interfaceCalendarResourceModel
- Returns:
- the locales and localized descriptions of this calendar resource
-
getGroupId
public long getGroupId()Returns the group ID of this calendar resource.- Specified by:
getGroupId
in interfaceCalendarResourceModel
- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this calendar resource
-
getLastPublishDate
Returns the last publish date of this calendar resource.- Specified by:
getLastPublishDate
in interfaceCalendarResourceModel
- Specified by:
getLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Returns:
- the last publish date of this calendar resource
-
getModifiedDate
Returns the modified date of this calendar resource.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCalendarResourceModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this calendar resource
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this calendar resource.- Specified by:
getMvccVersion
in interfaceCalendarResourceModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this calendar resource
-
getName
Returns the name of this calendar resource.- Specified by:
getName
in interfaceCalendarResourceModel
- Returns:
- the name of this calendar resource
-
getName
Returns the localized name of this calendar resource in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCalendarResourceModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized name of this calendar resource
-
getName
Returns the localized name of this calendar resource in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCalendarResourceModel
- 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 calendar resource. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getName
Returns the localized name of this calendar resource in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCalendarResourceModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized name of this calendar resource
-
getName
Returns the localized name of this calendar resource in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCalendarResourceModel
- 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 calendar resource
-
getNameCurrentLanguageId
- Specified by:
getNameCurrentLanguageId
in interfaceCalendarResourceModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValue
in interfaceCalendarResourceModel
-
getNameMap
Returns a map of the locales and localized names of this calendar resource.- Specified by:
getNameMap
in interfaceCalendarResourceModel
- Returns:
- the locales and localized names of this calendar resource
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this calendar resource.- Specified by:
getPrimaryKey
in interfaceCalendarResourceModel
- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CalendarResource>
- Returns:
- the primary key of this calendar resource
-
getTimeZone
- Specified by:
getTimeZone
in interfaceCalendarResource
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTimeZoneId
- Specified by:
getTimeZoneId
in interfaceCalendarResource
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserId
public long getUserId()Returns the user ID of this calendar resource.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCalendarResourceModel
- Returns:
- the user ID of this calendar resource
-
getUserName
Returns the user name of this calendar resource.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCalendarResourceModel
- Returns:
- the user name of this calendar resource
-
getUserUuid
Returns the user uuid of this calendar resource.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCalendarResourceModel
- Returns:
- the user uuid of this calendar resource
-
getUuid
Returns the uuid of this calendar resource.- Specified by:
getUuid
in interfaceCalendarResourceModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this calendar resource
-
isActive
public boolean isActive()Returnstrue
if this calendar resource is active.- Specified by:
isActive
in interfaceCalendarResourceModel
- Returns:
true
if this calendar resource is active;false
otherwise
-
isGroup
public boolean isGroup()- Specified by:
isGroup
in interfaceCalendarResource
-
isUser
public boolean isUser()- Specified by:
isUser
in interfaceCalendarResource
-
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 interfaceCalendarResourceModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImport
in interfaceCalendarResourceModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setActive
public void setActive(boolean active) Sets whether this calendar resource is active.- Specified by:
setActive
in interfaceCalendarResourceModel
- Parameters:
active
- the active of this calendar resource
-
setCalendarResourceId
public void setCalendarResourceId(long calendarResourceId) Sets the calendar resource ID of this calendar resource.- Specified by:
setCalendarResourceId
in interfaceCalendarResourceModel
- Parameters:
calendarResourceId
- the calendar resource ID of this calendar resource
-
setClassName
- Specified by:
setClassName
in interfaceCalendarResourceModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this calendar resource.- Specified by:
setClassNameId
in interfaceCalendarResourceModel
- Specified by:
setClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
- Parameters:
classNameId
- the class name ID of this calendar resource
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this calendar resource.- Specified by:
setClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
setClassPK
in interfaceCalendarResourceModel
- Parameters:
classPK
- the class pk of this calendar resource
-
setClassUuid
Sets the class uuid of this calendar resource.- Specified by:
setClassUuid
in interfaceCalendarResourceModel
- Parameters:
classUuid
- the class uuid of this calendar resource
-
setCode
Sets the code of this calendar resource.- Specified by:
setCode
in interfaceCalendarResourceModel
- Parameters:
code
- the code of this calendar resource
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this calendar resource.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCalendarResourceModel
- 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 calendar resource
-
setCreateDate
Sets the create date of this calendar resource.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCalendarResourceModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this calendar resource
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this calendar resource.- Specified by:
setCtCollectionId
in interfaceCalendarResourceModel
- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CalendarResource>
- Parameters:
ctCollectionId
- the ct collection ID of this calendar resource
-
setDescription
Sets the description of this calendar resource.- Specified by:
setDescription
in interfaceCalendarResourceModel
- Parameters:
description
- the description of this calendar resource
-
setDescription
Sets the localized description of this calendar resource in the language.- Specified by:
setDescription
in interfaceCalendarResourceModel
- Parameters:
description
- the localized description of this calendar resourcelocale
- the locale of the language
-
setDescription
Sets the localized description of this calendar resource in the language, and sets the default locale.- Specified by:
setDescription
in interfaceCalendarResourceModel
- Parameters:
description
- the localized description of this calendar resourcelocale
- the locale of the languagedefaultLocale
- the default locale
-
setDescriptionCurrentLanguageId
- Specified by:
setDescriptionCurrentLanguageId
in interfaceCalendarResourceModel
-
setDescriptionMap
Sets the localized descriptions of this calendar resource from the map of locales and localized descriptions.- Specified by:
setDescriptionMap
in interfaceCalendarResourceModel
- Parameters:
descriptionMap
- the locales and localized descriptions of this calendar resource
-
setDescriptionMap
Sets the localized descriptions of this calendar resource from the map of locales and localized descriptions, and sets the default locale.- Specified by:
setDescriptionMap
in interfaceCalendarResourceModel
- Parameters:
descriptionMap
- the locales and localized descriptions of this calendar resourcedefaultLocale
- the default locale
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this calendar resource.- Specified by:
setGroupId
in interfaceCalendarResourceModel
- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this calendar resource
-
setLastPublishDate
Sets the last publish date of this calendar resource.- Specified by:
setLastPublishDate
in interfaceCalendarResourceModel
- Specified by:
setLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this calendar resource
-
setModifiedDate
Sets the modified date of this calendar resource.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCalendarResourceModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this calendar resource
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this calendar resource.- Specified by:
setMvccVersion
in interfaceCalendarResourceModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this calendar resource
-
setName
Sets the name of this calendar resource.- Specified by:
setName
in interfaceCalendarResourceModel
- Parameters:
name
- the name of this calendar resource
-
setName
Sets the localized name of this calendar resource in the language.- Specified by:
setName
in interfaceCalendarResourceModel
- Parameters:
name
- the localized name of this calendar resourcelocale
- the locale of the language
-
setName
Sets the localized name of this calendar resource in the language, and sets the default locale.- Specified by:
setName
in interfaceCalendarResourceModel
- Parameters:
name
- the localized name of this calendar resourcelocale
- the locale of the languagedefaultLocale
- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageId
in interfaceCalendarResourceModel
-
setNameMap
Sets the localized names of this calendar resource from the map of locales and localized names.- Specified by:
setNameMap
in interfaceCalendarResourceModel
- Parameters:
nameMap
- the locales and localized names of this calendar resource
-
setNameMap
Sets the localized names of this calendar resource from the map of locales and localized names, and sets the default locale.- Specified by:
setNameMap
in interfaceCalendarResourceModel
- Parameters:
nameMap
- the locales and localized names of this calendar resourcedefaultLocale
- the default locale
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this calendar resource.- Specified by:
setPrimaryKey
in interfaceCalendarResourceModel
- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CalendarResource>
- Parameters:
primaryKey
- the primary key of this calendar resource
-
setUserId
public void setUserId(long userId) Sets the user ID of this calendar resource.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCalendarResourceModel
- Parameters:
userId
- the user ID of this calendar resource
-
setUserName
Sets the user name of this calendar resource.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCalendarResourceModel
- Parameters:
userName
- the user name of this calendar resource
-
setUserUuid
Sets the user uuid of this calendar resource.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCalendarResourceModel
- Parameters:
userUuid
- the user uuid of this calendar resource
-
setUuid
Sets the uuid of this calendar resource.- Specified by:
setUuid
in interfaceCalendarResourceModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this calendar resource
-
toXmlString
- Specified by:
toXmlString
in interfaceCalendarResourceModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<CalendarResource>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<CalendarResource>
-
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<CalendarResource>
-