Package com.liferay.calendar.model
Interface CalendarBookingModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CalendarBooking>
,com.liferay.portal.kernel.model.ClassedModel
,Cloneable
,Comparable<CalendarBooking>
,com.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.MVCCModel
,Serializable
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedGroupedModel
,com.liferay.portal.kernel.model.StagedModel
,com.liferay.portal.kernel.model.TrashedModel
,com.liferay.portal.kernel.model.WorkflowedModel
- All Known Subinterfaces:
CalendarBooking
- All Known Implementing Classes:
CalendarBookingWrapper
@ProviderType
public interface CalendarBookingModel
extends com.liferay.portal.kernel.model.BaseModel<CalendarBooking>, com.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.TrashedModel, com.liferay.portal.kernel.model.WorkflowedModel
The base model interface for the CalendarBooking service. Represents a row in the "CalendarBooking" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.calendar.model.impl.CalendarBookingModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.calendar.model.impl.CalendarBookingImpl
.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the all day of this calendar booking.String[]
long
Returns the calendar booking ID of this calendar booking.long
Returns the calendar ID of this calendar booking.long
Returns the calendar resource ID of this calendar booking.long
Returns the company ID of this calendar booking.Returns the create date of this calendar booking.long
Returns the ct collection ID of this calendar booking.Returns the description of this calendar booking.getDescription
(String languageId) Returns the localized description of this calendar booking in the language.getDescription
(String languageId, boolean useDefault) Returns the localized description of this calendar booking 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 booking in the language.getDescription
(Locale locale, boolean useDefault) Returns the localized description of this calendar booking 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 booking.long
Returns the end time of this calendar booking.long
Returns the first reminder of this calendar booking.Returns the first reminder type of this calendar booking.long
Returns the group ID of this calendar booking.Returns the last publish date of this calendar booking.Returns the location of this calendar booking.Returns the modified date of this calendar booking.long
Returns the mvcc version of this calendar booking.long
Returns the parent calendar booking ID of this calendar booking.long
Returns the primary key of this calendar booking.Returns the recurrence of this calendar booking.long
Returns the recurring calendar booking ID of this calendar booking.long
Returns the second reminder of this calendar booking.Returns the second reminder type of this calendar booking.long
Returns the start time of this calendar booking.int
Returns the status of this calendar booking.long
Returns the status by user ID of this calendar booking.Returns the status by user name of this calendar booking.Returns the status by user uuid of this calendar booking.Returns the status date of this calendar booking.getTitle()
Returns the title of this calendar booking.Returns the localized title of this calendar booking in the language.Returns the localized title of this calendar booking in the language, optionally using the default language if no localization exists for the requested language.Returns the localized title of this calendar booking in the language.Returns the localized title of this calendar booking 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 calendar booking.long
Returns the class primary key of the trash entry for this calendar booking.long
Returns the user ID of this calendar booking.Returns the user name of this calendar booking.Returns the user uuid of this calendar booking.getUuid()
Returns the uuid of this calendar booking.Returns the v event uid of this calendar booking.boolean
isAllDay()
Returnstrue
if this calendar booking is all day.boolean
Returnstrue
if this calendar booking is approved.boolean
isDenied()
Returnstrue
if this calendar booking is denied.boolean
isDraft()
Returnstrue
if this calendar booking is a draft.boolean
Returnstrue
if this calendar booking is expired.boolean
Returnstrue
if this calendar booking is inactive.boolean
Returnstrue
if this calendar booking is incomplete.boolean
Returnstrue
if this calendar booking is in the Recycle Bin.boolean
Returnstrue
if this calendar booking is pending.boolean
Returnstrue
if this calendar booking is scheduled.void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setAllDay
(boolean allDay) Sets whether this calendar booking is all day.void
setCalendarBookingId
(long calendarBookingId) Sets the calendar booking ID of this calendar booking.void
setCalendarId
(long calendarId) Sets the calendar ID of this calendar booking.void
setCalendarResourceId
(long calendarResourceId) Sets the calendar resource ID of this calendar booking.void
setCompanyId
(long companyId) Sets the company ID of this calendar booking.void
setCreateDate
(Date createDate) Sets the create date of this calendar booking.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this calendar booking.void
setDescription
(String description) Sets the description of this calendar booking.void
setDescription
(String description, Locale locale) Sets the localized description of this calendar booking in the language.void
setDescription
(String description, Locale locale, Locale defaultLocale) Sets the localized description of this calendar booking 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 booking from the map of locales and localized descriptions.void
setDescriptionMap
(Map<Locale, String> descriptionMap, Locale defaultLocale) Sets the localized descriptions of this calendar booking from the map of locales and localized descriptions, and sets the default locale.void
setEndTime
(long endTime) Sets the end time of this calendar booking.void
setFirstReminder
(long firstReminder) Sets the first reminder of this calendar booking.void
setFirstReminderType
(String firstReminderType) Sets the first reminder type of this calendar booking.void
setGroupId
(long groupId) Sets the group ID of this calendar booking.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this calendar booking.void
setLocation
(String location) Sets the location of this calendar booking.void
setModifiedDate
(Date modifiedDate) Sets the modified date of this calendar booking.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this calendar booking.void
setParentCalendarBookingId
(long parentCalendarBookingId) Sets the parent calendar booking ID of this calendar booking.void
setPrimaryKey
(long primaryKey) Sets the primary key of this calendar booking.void
setRecurrence
(String recurrence) Sets the recurrence of this calendar booking.void
setRecurringCalendarBookingId
(long recurringCalendarBookingId) Sets the recurring calendar booking ID of this calendar booking.void
setSecondReminder
(long secondReminder) Sets the second reminder of this calendar booking.void
setSecondReminderType
(String secondReminderType) Sets the second reminder type of this calendar booking.void
setStartTime
(long startTime) Sets the start time of this calendar booking.void
setStatus
(int status) Sets the status of this calendar booking.void
setStatusByUserId
(long statusByUserId) Sets the status by user ID of this calendar booking.void
setStatusByUserName
(String statusByUserName) Sets the status by user name of this calendar booking.void
setStatusByUserUuid
(String statusByUserUuid) Sets the status by user uuid of this calendar booking.void
setStatusDate
(Date statusDate) Sets the status date of this calendar booking.void
Sets the title of this calendar booking.void
Sets the localized title of this calendar booking in the language.void
Sets the localized title of this calendar booking in the language, and sets the default locale.void
setTitleCurrentLanguageId
(String languageId) void
setTitleMap
(Map<Locale, String> titleMap) Sets the localized titles of this calendar booking from the map of locales and localized titles.void
setTitleMap
(Map<Locale, String> titleMap, Locale defaultLocale) Sets the localized titles of this calendar booking from the map of locales and localized titles, and sets the default locale.void
setUserId
(long userId) Sets the user ID of this calendar booking.void
setUserName
(String userName) Sets the user name of this calendar booking.void
setUserUuid
(String userUuid) Sets the user uuid of this calendar booking.void
Sets the uuid of this calendar booking.void
setVEventUid
(String vEventUid) Sets the v event uid of this calendar booking.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this calendar booking.- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>
- Returns:
- the primary key of this calendar booking
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this calendar booking.- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>
- Parameters:
primaryKey
- the primary key of this calendar booking
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this calendar booking.- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this calendar booking
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this calendar booking.- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this calendar booking
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this calendar booking.- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>
- Returns:
- the ct collection ID of this calendar booking
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this calendar booking.- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>
- Parameters:
ctCollectionId
- the ct collection ID of this calendar booking
-
getUuid
Returns the uuid of this calendar booking.- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this calendar booking
-
setUuid
Sets the uuid of this calendar booking.- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this calendar booking
-
getCalendarBookingId
long getCalendarBookingId()Returns the calendar booking ID of this calendar booking.- Returns:
- the calendar booking ID of this calendar booking
-
setCalendarBookingId
void setCalendarBookingId(long calendarBookingId) Sets the calendar booking ID of this calendar booking.- Parameters:
calendarBookingId
- the calendar booking ID of this calendar booking
-
getGroupId
long getGroupId()Returns the group ID of this calendar booking.- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this calendar booking
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this calendar booking.- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this calendar booking
-
getCompanyId
long getCompanyId()Returns the company ID of this calendar booking.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- 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 booking
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this calendar booking.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- 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 booking
-
getUserId
long getUserId()Returns the user ID of this calendar booking.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user ID of this calendar booking
-
setUserId
void setUserId(long userId) Sets the user ID of this calendar booking.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userId
- the user ID of this calendar booking
-
getUserUuid
String getUserUuid()Returns the user uuid of this calendar booking.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user uuid of this calendar booking
-
setUserUuid
Sets the user uuid of this calendar booking.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userUuid
- the user uuid of this calendar booking
-
getUserName
Returns the user name of this calendar booking.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user name of this calendar booking
-
setUserName
Sets the user name of this calendar booking.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userName
- the user name of this calendar booking
-
getCreateDate
Date getCreateDate()Returns the create date of this calendar booking.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this calendar booking
-
setCreateDate
Sets the create date of this calendar booking.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this calendar booking
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this calendar booking.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this calendar booking
-
setModifiedDate
Sets the modified date of this calendar booking.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this calendar booking
-
getCalendarId
long getCalendarId()Returns the calendar ID of this calendar booking.- Returns:
- the calendar ID of this calendar booking
-
setCalendarId
void setCalendarId(long calendarId) Sets the calendar ID of this calendar booking.- Parameters:
calendarId
- the calendar ID of this calendar booking
-
getCalendarResourceId
long getCalendarResourceId()Returns the calendar resource ID of this calendar booking.- Returns:
- the calendar resource ID of this calendar booking
-
setCalendarResourceId
void setCalendarResourceId(long calendarResourceId) Sets the calendar resource ID of this calendar booking.- Parameters:
calendarResourceId
- the calendar resource ID of this calendar booking
-
getParentCalendarBookingId
long getParentCalendarBookingId()Returns the parent calendar booking ID of this calendar booking.- Returns:
- the parent calendar booking ID of this calendar booking
-
setParentCalendarBookingId
void setParentCalendarBookingId(long parentCalendarBookingId) Sets the parent calendar booking ID of this calendar booking.- Parameters:
parentCalendarBookingId
- the parent calendar booking ID of this calendar booking
-
getRecurringCalendarBookingId
long getRecurringCalendarBookingId()Returns the recurring calendar booking ID of this calendar booking.- Returns:
- the recurring calendar booking ID of this calendar booking
-
setRecurringCalendarBookingId
void setRecurringCalendarBookingId(long recurringCalendarBookingId) Sets the recurring calendar booking ID of this calendar booking.- Parameters:
recurringCalendarBookingId
- the recurring calendar booking ID of this calendar booking
-
getVEventUid
Returns the v event uid of this calendar booking.- Returns:
- the v event uid of this calendar booking
-
setVEventUid
Sets the v event uid of this calendar booking.- Parameters:
vEventUid
- the v event uid of this calendar booking
-
getTitle
String getTitle()Returns the title of this calendar booking.- Returns:
- the title of this calendar booking
-
getTitle
Returns the localized title of this calendar booking in the language. Uses the default language if no localization exists for the requested language.- Parameters:
locale
- the locale of the language- Returns:
- the localized title of this calendar booking
-
getTitle
Returns the localized title of this calendar booking in the language, optionally using the default language if no localization exists for the requested language.- 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 calendar booking. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getTitle
Returns the localized title of this calendar booking in the language. Uses the default language if no localization exists for the requested language.- Parameters:
languageId
- the ID of the language- Returns:
- the localized title of this calendar booking
-
getTitle
Returns the localized title of this calendar booking in the language, optionally using the default language if no localization exists for the requested language.- 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 calendar booking
-
getTitleCurrentLanguageId
-
getTitleCurrentValue
-
getTitleMap
Returns a map of the locales and localized titles of this calendar booking.- Returns:
- the locales and localized titles of this calendar booking
-
setTitle
Sets the title of this calendar booking.- Parameters:
title
- the title of this calendar booking
-
setTitle
Sets the localized title of this calendar booking in the language.- Parameters:
title
- the localized title of this calendar bookinglocale
- the locale of the language
-
setTitle
Sets the localized title of this calendar booking in the language, and sets the default locale.- Parameters:
title
- the localized title of this calendar bookinglocale
- the locale of the languagedefaultLocale
- the default locale
-
setTitleCurrentLanguageId
-
setTitleMap
Sets the localized titles of this calendar booking from the map of locales and localized titles.- Parameters:
titleMap
- the locales and localized titles of this calendar booking
-
setTitleMap
Sets the localized titles of this calendar booking from the map of locales and localized titles, and sets the default locale.- Parameters:
titleMap
- the locales and localized titles of this calendar bookingdefaultLocale
- the default locale
-
getDescription
String getDescription()Returns the description of this calendar booking.- Returns:
- the description of this calendar booking
-
getDescription
Returns the localized description of this calendar booking in the language. Uses the default language if no localization exists for the requested language.- Parameters:
locale
- the locale of the language- Returns:
- the localized description of this calendar booking
-
getDescription
Returns the localized description of this calendar booking in the language, optionally using the default language if no localization exists for the requested language.- 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 booking. 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 booking in the language. Uses the default language if no localization exists for the requested language.- Parameters:
languageId
- the ID of the language- Returns:
- the localized description of this calendar booking
-
getDescription
Returns the localized description of this calendar booking in the language, optionally using the default language if no localization exists for the requested language.- 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 booking
-
getDescriptionCurrentLanguageId
-
getDescriptionCurrentValue
-
getDescriptionMap
Returns a map of the locales and localized descriptions of this calendar booking.- Returns:
- the locales and localized descriptions of this calendar booking
-
setDescription
Sets the description of this calendar booking.- Parameters:
description
- the description of this calendar booking
-
setDescription
Sets the localized description of this calendar booking in the language.- Parameters:
description
- the localized description of this calendar bookinglocale
- the locale of the language
-
setDescription
Sets the localized description of this calendar booking in the language, and sets the default locale.- Parameters:
description
- the localized description of this calendar bookinglocale
- the locale of the languagedefaultLocale
- the default locale
-
setDescriptionCurrentLanguageId
-
setDescriptionMap
Sets the localized descriptions of this calendar booking from the map of locales and localized descriptions.- Parameters:
descriptionMap
- the locales and localized descriptions of this calendar booking
-
setDescriptionMap
Sets the localized descriptions of this calendar booking from the map of locales and localized descriptions, and sets the default locale.- Parameters:
descriptionMap
- the locales and localized descriptions of this calendar bookingdefaultLocale
- the default locale
-
getLocation
Returns the location of this calendar booking.- Returns:
- the location of this calendar booking
-
setLocation
Sets the location of this calendar booking.- Parameters:
location
- the location of this calendar booking
-
getStartTime
long getStartTime()Returns the start time of this calendar booking.- Returns:
- the start time of this calendar booking
-
setStartTime
void setStartTime(long startTime) Sets the start time of this calendar booking.- Parameters:
startTime
- the start time of this calendar booking
-
getEndTime
long getEndTime()Returns the end time of this calendar booking.- Returns:
- the end time of this calendar booking
-
setEndTime
void setEndTime(long endTime) Sets the end time of this calendar booking.- Parameters:
endTime
- the end time of this calendar booking
-
getAllDay
boolean getAllDay()Returns the all day of this calendar booking.- Returns:
- the all day of this calendar booking
-
isAllDay
boolean isAllDay()Returnstrue
if this calendar booking is all day.- Returns:
true
if this calendar booking is all day;false
otherwise
-
setAllDay
void setAllDay(boolean allDay) Sets whether this calendar booking is all day.- Parameters:
allDay
- the all day of this calendar booking
-
getRecurrence
Returns the recurrence of this calendar booking.- Returns:
- the recurrence of this calendar booking
-
setRecurrence
Sets the recurrence of this calendar booking.- Parameters:
recurrence
- the recurrence of this calendar booking
-
getFirstReminder
long getFirstReminder()Returns the first reminder of this calendar booking.- Returns:
- the first reminder of this calendar booking
-
setFirstReminder
void setFirstReminder(long firstReminder) Sets the first reminder of this calendar booking.- Parameters:
firstReminder
- the first reminder of this calendar booking
-
getFirstReminderType
Returns the first reminder type of this calendar booking.- Returns:
- the first reminder type of this calendar booking
-
setFirstReminderType
Sets the first reminder type of this calendar booking.- Parameters:
firstReminderType
- the first reminder type of this calendar booking
-
getSecondReminder
long getSecondReminder()Returns the second reminder of this calendar booking.- Returns:
- the second reminder of this calendar booking
-
setSecondReminder
void setSecondReminder(long secondReminder) Sets the second reminder of this calendar booking.- Parameters:
secondReminder
- the second reminder of this calendar booking
-
getSecondReminderType
Returns the second reminder type of this calendar booking.- Returns:
- the second reminder type of this calendar booking
-
setSecondReminderType
Sets the second reminder type of this calendar booking.- Parameters:
secondReminderType
- the second reminder type of this calendar booking
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this calendar booking.- Specified by:
getLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Returns:
- the last publish date of this calendar booking
-
setLastPublishDate
Sets the last publish date of this calendar booking.- Specified by:
setLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this calendar booking
-
getStatus
int getStatus()Returns the status of this calendar booking.- Specified by:
getStatus
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Specified by:
getStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status of this calendar booking
-
setStatus
void setStatus(int status) Sets the status of this calendar booking.- Specified by:
setStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
status
- the status of this calendar booking
-
getStatusByUserId
long getStatusByUserId()Returns the status by user ID of this calendar booking.- Specified by:
getStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user ID of this calendar booking
-
setStatusByUserId
void setStatusByUserId(long statusByUserId) Sets the status by user ID of this calendar booking.- Specified by:
setStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserId
- the status by user ID of this calendar booking
-
getStatusByUserUuid
String getStatusByUserUuid()Returns the status by user uuid of this calendar booking.- Specified by:
getStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user uuid of this calendar booking
-
setStatusByUserUuid
Sets the status by user uuid of this calendar booking.- Specified by:
setStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserUuid
- the status by user uuid of this calendar booking
-
getStatusByUserName
Returns the status by user name of this calendar booking.- Specified by:
getStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user name of this calendar booking
-
setStatusByUserName
Sets the status by user name of this calendar booking.- Specified by:
setStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserName
- the status by user name of this calendar booking
-
getStatusDate
Date getStatusDate()Returns the status date of this calendar booking.- Specified by:
getStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status date of this calendar booking
-
setStatusDate
Sets the status date of this calendar booking.- Specified by:
setStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusDate
- the status date of this calendar booking
-
getTrashEntryClassPK
long getTrashEntryClassPK()Returns the class primary key of the trash entry for this calendar booking.- Specified by:
getTrashEntryClassPK
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Returns:
- the class primary key of the trash entry for this calendar booking
-
isInTrash
boolean isInTrash()Returnstrue
if this calendar booking is in the Recycle Bin.- Specified by:
isInTrash
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Returns:
true
if this calendar booking is in the Recycle Bin;false
otherwise
-
isApproved
boolean isApproved()Returnstrue
if this calendar booking is approved.- Specified by:
isApproved
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this calendar booking is approved;false
otherwise
-
isDenied
boolean isDenied()Returnstrue
if this calendar booking is denied.- Specified by:
isDenied
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this calendar booking is denied;false
otherwise
-
isDraft
boolean isDraft()Returnstrue
if this calendar booking is a draft.- Specified by:
isDraft
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this calendar booking is a draft;false
otherwise
-
isExpired
boolean isExpired()Returnstrue
if this calendar booking is expired.- Specified by:
isExpired
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this calendar booking is expired;false
otherwise
-
isInactive
boolean isInactive()Returnstrue
if this calendar booking is inactive.- Specified by:
isInactive
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this calendar booking is inactive;false
otherwise
-
isIncomplete
boolean isIncomplete()Returnstrue
if this calendar booking is incomplete.- Specified by:
isIncomplete
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this calendar booking is incomplete;false
otherwise
-
isPending
boolean isPending()Returnstrue
if this calendar booking is pending.- Specified by:
isPending
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this calendar booking is pending;false
otherwise
-
isScheduled
boolean isScheduled()Returnstrue
if this calendar booking is scheduled.- Specified by:
isScheduled
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this calendar booking is scheduled;false
otherwise
-
getAvailableLanguageIds
String[] getAvailableLanguageIds()- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDefaultLanguageId
String getDefaultLanguageId()- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
cloneWithOriginalValues
CalendarBooking cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CalendarBooking>
-
toXmlString
-