public class CalendarBookingWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CalendarBooking> implements CalendarBooking, com.liferay.portal.kernel.model.ModelWrapper<CalendarBooking>
This class is a wrapper for CalendarBooking.
CalendarBooking,
Serialized FormCALENDAR_BOOKING_ID_ACCESSOR| Constructor and Description |
|---|
CalendarBookingWrapper(CalendarBooking calendarBooking) |
| Modifier and Type | Method and Description |
|---|---|
CalendarBooking |
cloneWithOriginalValues() |
boolean |
getAllDay()
Returns the all day of this calendar booking.
|
java.util.Map<java.lang.String,java.util.function.Function<CalendarBooking,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<CalendarBooking,java.lang.Object>> |
getAttributeSetterBiConsumers() |
java.lang.String[] |
getAvailableLanguageIds() |
Calendar |
getCalendar() |
long |
getCalendarBookingId()
Returns the calendar booking ID of this calendar booking.
|
long |
getCalendarId()
Returns the calendar ID of this calendar booking.
|
CalendarResource |
getCalendarResource() |
long |
getCalendarResourceId()
Returns the calendar resource ID of this calendar booking.
|
java.util.List<CalendarBooking> |
getChildCalendarBookings() |
long |
getCompanyId()
Returns the company ID of this calendar booking.
|
java.util.Date |
getCreateDate()
Returns the create date of this calendar booking.
|
long |
getCtCollectionId()
Returns the ct collection ID of this calendar booking.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this calendar booking.
|
java.lang.String |
getDescription(java.util.Locale locale)
Returns the localized description of this calendar booking in the language.
|
java.lang.String |
getDescription(java.util.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.
|
java.lang.String |
getDescription(java.lang.String languageId)
Returns the localized description of this calendar booking in the language.
|
java.lang.String |
getDescription(java.lang.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.
|
java.lang.String |
getDescriptionCurrentLanguageId() |
java.lang.String |
getDescriptionCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this calendar booking.
|
long |
getDuration() |
long |
getEndTime()
Returns the end time of this calendar booking.
|
long |
getFirstReminder()
Returns the first reminder of this calendar booking.
|
NotificationType |
getFirstReminderNotificationType() |
java.lang.String |
getFirstReminderType()
Returns the first reminder type of this calendar booking.
|
long |
getGroupId()
Returns the group ID of this calendar booking.
|
int |
getInstanceIndex() |
java.util.Date |
getLastPublishDate()
Returns the last publish date of this calendar booking.
|
java.lang.String |
getLocation()
Returns the location of this calendar booking.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this calendar booking.
|
long |
getMvccVersion()
Returns the mvcc version of this calendar booking.
|
CalendarBooking |
getParentCalendarBooking() |
long |
getParentCalendarBookingId()
Returns the parent calendar booking ID of this calendar booking.
|
long |
getPrimaryKey()
Returns the primary key of this calendar booking.
|
java.lang.String |
getRecurrence()
Returns the recurrence of this calendar booking.
|
Recurrence |
getRecurrenceObj() |
long |
getRecurringCalendarBookingId()
Returns the recurring calendar booking ID of this calendar booking.
|
long |
getSecondReminder()
Returns the second reminder of this calendar booking.
|
NotificationType |
getSecondReminderNotificationType() |
java.lang.String |
getSecondReminderType()
Returns the second reminder type of this calendar booking.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getStartTime()
Returns the start time of this calendar booking.
|
int |
getStatus()
Returns the status of this calendar booking.
|
long |
getStatusByUserId()
Returns the status by user ID of this calendar booking.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this calendar booking.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this calendar booking.
|
java.util.Date |
getStatusDate()
Returns the status date of this calendar booking.
|
java.util.TimeZone |
getTimeZone() |
java.lang.String |
getTitle()
Returns the title of this calendar booking.
|
java.lang.String |
getTitle(java.util.Locale locale)
Returns the localized title of this calendar booking in the language.
|
java.lang.String |
getTitle(java.util.Locale locale,
boolean useDefault)
Returns the localized title of this calendar booking in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getTitle(java.lang.String languageId)
Returns the localized title of this calendar booking in the language.
|
java.lang.String |
getTitle(java.lang.String languageId,
boolean useDefault)
Returns the localized title of this calendar booking in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getTitleCurrentLanguageId() |
java.lang.String |
getTitleCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getTitleMap()
Returns a map of the locales and localized titles of this calendar booking.
|
com.liferay.trash.kernel.model.TrashEntry |
getTrashEntry()
Returns the trash entry created when this calendar booking was moved to the Recycle Bin.
|
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this calendar booking.
|
long |
getUserId()
Returns the user ID of this calendar booking.
|
java.lang.String |
getUserName()
Returns the user name of this calendar booking.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this calendar booking.
|
java.lang.String |
getUuid()
Returns the uuid of this calendar booking.
|
java.lang.String |
getVEventUid()
Returns the v event uid of this calendar booking.
|
boolean |
isAllDay()
Returns
true if this calendar booking is all day. |
boolean |
isApproved()
Returns
true if this calendar booking is approved. |
boolean |
isDenied()
Returns
true if this calendar booking is denied. |
boolean |
isDraft()
Returns
true if this calendar booking is a draft. |
boolean |
isExpired()
Returns
true if this calendar booking is expired. |
boolean |
isInactive()
Returns
true if this calendar booking is inactive. |
boolean |
isIncomplete()
Returns
true if this calendar booking is incomplete. |
boolean |
isInTrash()
Returns
true if this calendar booking is in the Recycle Bin. |
boolean |
isInTrashContainer()
Returns
true if the parent of this calendar booking is in the Recycle Bin. |
boolean |
isInTrashExplicitly() |
boolean |
isInTrashImplicitly() |
boolean |
isMasterBooking() |
boolean |
isMasterRecurringBooking() |
boolean |
isPending()
Returns
true if this calendar booking is pending. |
boolean |
isRecurring() |
boolean |
isScheduled()
Returns
true if this calendar booking is scheduled. |
void |
persist() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.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(java.util.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(java.lang.String description)
Sets the description of this calendar booking.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale)
Sets the localized description of this calendar booking in the language.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized description of this calendar booking in the language, and sets the default locale.
|
void |
setDescriptionCurrentLanguageId(java.lang.String languageId) |
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
Sets the localized descriptions of this calendar booking from the map of locales and localized descriptions.
|
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.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(java.lang.String firstReminderType)
Sets the first reminder type of this calendar booking.
|
void |
setGroupId(long groupId)
Sets the group ID of this calendar booking.
|
void |
setInstanceIndex(int instanceIndex) |
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this calendar booking.
|
void |
setLocation(java.lang.String location)
Sets the location of this calendar booking.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.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(java.lang.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(java.lang.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(java.lang.String statusByUserName)
Sets the status by user name of this calendar booking.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this calendar booking.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this calendar booking.
|
void |
setTitle(java.lang.String title)
Sets the title of this calendar booking.
|
void |
setTitle(java.lang.String title,
java.util.Locale locale)
Sets the localized title of this calendar booking in the language.
|
void |
setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized title of this calendar booking in the language, and sets the default locale.
|
void |
setTitleCurrentLanguageId(java.lang.String languageId) |
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
Sets the localized titles of this calendar booking from the map of locales and localized titles.
|
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.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(java.lang.String userName)
Sets the user name of this calendar booking.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this calendar booking.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this calendar booking.
|
void |
setVEventUid(java.lang.String vEventUid)
Sets the v event uid of this calendar booking.
|
protected CalendarBookingWrapper |
wrap(CalendarBooking calendarBooking) |
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringpublic CalendarBookingWrapper(CalendarBooking calendarBooking)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public CalendarBooking cloneWithOriginalValues()
cloneWithOriginalValues in interface CalendarBookingModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public boolean getAllDay()
getAllDay in interface CalendarBookingModelpublic java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface CalendarBookingModelgetAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModelpublic Calendar getCalendar() throws com.liferay.portal.kernel.exception.PortalException
getCalendar in interface CalendarBookingcom.liferay.portal.kernel.exception.PortalExceptionpublic long getCalendarBookingId()
getCalendarBookingId in interface CalendarBookingModelpublic long getCalendarId()
getCalendarId in interface CalendarBookingModelpublic CalendarResource getCalendarResource() throws com.liferay.portal.kernel.exception.PortalException
getCalendarResource in interface CalendarBookingcom.liferay.portal.kernel.exception.PortalExceptionpublic long getCalendarResourceId()
getCalendarResourceId in interface CalendarBookingModelpublic java.util.List<CalendarBooking> getChildCalendarBookings()
getChildCalendarBookings in interface CalendarBookingpublic long getCompanyId()
getCompanyId in interface CalendarBookingModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface CalendarBookingModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getCtCollectionId()
getCtCollectionId in interface CalendarBookingModelgetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>public java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface CalendarBookingModelgetDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.lang.String getDescription()
getDescription in interface CalendarBookingModelpublic java.lang.String getDescription(java.util.Locale locale)
getDescription in interface CalendarBookingModellocale - the locale of the languagepublic java.lang.String getDescription(java.util.Locale locale,
boolean useDefault)
getDescription in interface CalendarBookingModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.public java.lang.String getDescription(java.lang.String languageId)
getDescription in interface CalendarBookingModellanguageId - the ID of the languagepublic java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
getDescription in interface CalendarBookingModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface CalendarBookingModelpublic java.lang.String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface CalendarBookingModelpublic java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
getDescriptionMap in interface CalendarBookingModelpublic long getDuration()
getDuration in interface CalendarBookingpublic long getEndTime()
getEndTime in interface CalendarBookingModelpublic long getFirstReminder()
getFirstReminder in interface CalendarBookingModelpublic NotificationType getFirstReminderNotificationType()
getFirstReminderNotificationType in interface CalendarBookingpublic java.lang.String getFirstReminderType()
getFirstReminderType in interface CalendarBookingModelpublic long getGroupId()
getGroupId in interface CalendarBookingModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic int getInstanceIndex()
getInstanceIndex in interface CalendarBookingpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface CalendarBookingModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic java.lang.String getLocation()
getLocation in interface CalendarBookingModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CalendarBookingModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface CalendarBookingModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic CalendarBooking getParentCalendarBooking() throws com.liferay.portal.kernel.exception.PortalException
getParentCalendarBooking in interface CalendarBookingcom.liferay.portal.kernel.exception.PortalExceptionpublic long getParentCalendarBookingId()
getParentCalendarBookingId in interface CalendarBookingModelpublic long getPrimaryKey()
getPrimaryKey in interface CalendarBookingModelgetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>public java.lang.String getRecurrence()
getRecurrence in interface CalendarBookingModelpublic Recurrence getRecurrenceObj()
getRecurrenceObj in interface CalendarBookingpublic long getRecurringCalendarBookingId()
getRecurringCalendarBookingId in interface CalendarBookingModelpublic long getSecondReminder()
getSecondReminder in interface CalendarBookingModelpublic NotificationType getSecondReminderNotificationType()
getSecondReminderNotificationType in interface CalendarBookingpublic java.lang.String getSecondReminderType()
getSecondReminderType in interface CalendarBookingModelpublic long getStartTime()
getStartTime in interface CalendarBookingModelpublic int getStatus()
getStatus in interface CalendarBookingModelgetStatus in interface com.liferay.portal.kernel.model.TrashedModelgetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelpublic long getStatusByUserId()
getStatusByUserId in interface CalendarBookingModelgetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserName()
getStatusByUserName in interface CalendarBookingModelgetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface CalendarBookingModelgetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.util.Date getStatusDate()
getStatusDate in interface CalendarBookingModelgetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.util.TimeZone getTimeZone()
getTimeZone in interface CalendarBookingpublic java.lang.String getTitle()
getTitle in interface CalendarBookingModelpublic java.lang.String getTitle(java.util.Locale locale)
getTitle in interface CalendarBookingModellocale - the locale of the languagepublic java.lang.String getTitle(java.util.Locale locale,
boolean useDefault)
getTitle in interface CalendarBookingModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.public java.lang.String getTitle(java.lang.String languageId)
getTitle in interface CalendarBookingModellanguageId - the ID of the languagepublic java.lang.String getTitle(java.lang.String languageId,
boolean useDefault)
getTitle in interface CalendarBookingModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getTitleCurrentLanguageId()
getTitleCurrentLanguageId in interface CalendarBookingModelpublic java.lang.String getTitleCurrentValue()
getTitleCurrentValue in interface CalendarBookingModelpublic java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
getTitleMap in interface CalendarBookingModelpublic com.liferay.trash.kernel.model.TrashEntry getTrashEntry()
throws com.liferay.portal.kernel.exception.PortalException
getTrashEntry in interface CalendarBookingModelgetTrashEntry in interface com.liferay.portal.kernel.model.TrashedModelcom.liferay.portal.kernel.exception.PortalExceptionpublic long getTrashEntryClassPK()
getTrashEntryClassPK in interface CalendarBookingModelgetTrashEntryClassPK in interface com.liferay.portal.kernel.model.TrashedModelpublic long getUserId()
getUserId in interface CalendarBookingModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CalendarBookingModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CalendarBookingModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface CalendarBookingModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getVEventUid()
getVEventUid in interface CalendarBookingModelpublic boolean isAllDay()
true if this calendar booking is all day.isAllDay in interface CalendarBookingModeltrue if this calendar booking is all day; false otherwisepublic boolean isApproved()
true if this calendar booking is approved.isApproved in interface CalendarBookingModelisApproved in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this calendar booking is approved; false otherwisepublic boolean isDenied()
true if this calendar booking is denied.isDenied in interface CalendarBookingModelisDenied in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this calendar booking is denied; false otherwisepublic boolean isDraft()
true if this calendar booking is a draft.isDraft in interface CalendarBookingModelisDraft in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this calendar booking is a draft; false otherwisepublic boolean isExpired()
true if this calendar booking is expired.isExpired in interface CalendarBookingModelisExpired in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this calendar booking is expired; false otherwisepublic boolean isInactive()
true if this calendar booking is inactive.isInactive in interface CalendarBookingModelisInactive in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this calendar booking is inactive; false otherwisepublic boolean isIncomplete()
true if this calendar booking is incomplete.isIncomplete in interface CalendarBookingModelisIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this calendar booking is incomplete; false otherwisepublic boolean isInTrash()
true if this calendar booking is in the Recycle Bin.isInTrash in interface CalendarBookingModelisInTrash in interface com.liferay.portal.kernel.model.TrashedModeltrue if this calendar booking is in the Recycle Bin; false otherwisepublic boolean isInTrashContainer()
true if the parent of this calendar booking is in the Recycle Bin.isInTrashContainer in interface CalendarBookingModelisInTrashContainer in interface com.liferay.portal.kernel.model.TrashedModeltrue if the parent of this calendar booking is in the Recycle Bin; false otherwisepublic boolean isInTrashExplicitly()
isInTrashExplicitly in interface CalendarBookingModelisInTrashExplicitly in interface com.liferay.portal.kernel.model.TrashedModelpublic boolean isInTrashImplicitly()
isInTrashImplicitly in interface CalendarBookingModelisInTrashImplicitly in interface com.liferay.portal.kernel.model.TrashedModelpublic boolean isMasterBooking()
isMasterBooking in interface CalendarBookingpublic boolean isMasterRecurringBooking()
isMasterRecurringBooking in interface CalendarBookingpublic boolean isPending()
true if this calendar booking is pending.isPending in interface CalendarBookingModelisPending in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this calendar booking is pending; false otherwisepublic boolean isRecurring()
isRecurring in interface CalendarBookingpublic boolean isScheduled()
true if this calendar booking is scheduled.isScheduled in interface CalendarBookingModelisScheduled in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this calendar booking is scheduled; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface CalendarBookingModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface CalendarBookingModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void setAllDay(boolean allDay)
setAllDay in interface CalendarBookingModelallDay - the all day of this calendar bookingpublic void setCalendarBookingId(long calendarBookingId)
setCalendarBookingId in interface CalendarBookingModelcalendarBookingId - the calendar booking ID of this calendar bookingpublic void setCalendarId(long calendarId)
setCalendarId in interface CalendarBookingModelcalendarId - the calendar ID of this calendar bookingpublic void setCalendarResourceId(long calendarResourceId)
setCalendarResourceId in interface CalendarBookingModelcalendarResourceId - the calendar resource ID of this calendar bookingpublic void setCompanyId(long companyId)
setCompanyId in interface CalendarBookingModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this calendar bookingpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CalendarBookingModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this calendar bookingpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CalendarBookingModelsetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>ctCollectionId - the ct collection ID of this calendar bookingpublic void setDescription(java.lang.String description)
setDescription in interface CalendarBookingModeldescription - the description of this calendar bookingpublic void setDescription(java.lang.String description,
java.util.Locale locale)
setDescription in interface CalendarBookingModeldescription - the localized description of this calendar bookinglocale - the locale of the languagepublic void setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
setDescription in interface CalendarBookingModeldescription - the localized description of this calendar bookinglocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(java.lang.String languageId)
setDescriptionCurrentLanguageId in interface CalendarBookingModelpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
setDescriptionMap in interface CalendarBookingModeldescriptionMap - the locales and localized descriptions of this calendar bookingpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
setDescriptionMap in interface CalendarBookingModeldescriptionMap - the locales and localized descriptions of this calendar bookingdefaultLocale - the default localepublic void setEndTime(long endTime)
setEndTime in interface CalendarBookingModelendTime - the end time of this calendar bookingpublic void setFirstReminder(long firstReminder)
setFirstReminder in interface CalendarBookingModelfirstReminder - the first reminder of this calendar bookingpublic void setFirstReminderType(java.lang.String firstReminderType)
setFirstReminderType in interface CalendarBookingModelfirstReminderType - the first reminder type of this calendar bookingpublic void setGroupId(long groupId)
setGroupId in interface CalendarBookingModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this calendar bookingpublic void setInstanceIndex(int instanceIndex)
setInstanceIndex in interface CalendarBookingpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface CalendarBookingModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this calendar bookingpublic void setLocation(java.lang.String location)
setLocation in interface CalendarBookingModellocation - the location of this calendar bookingpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CalendarBookingModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this calendar bookingpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CalendarBookingModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this calendar bookingpublic void setParentCalendarBookingId(long parentCalendarBookingId)
setParentCalendarBookingId in interface CalendarBookingModelparentCalendarBookingId - the parent calendar booking ID of this calendar bookingpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CalendarBookingModelsetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>primaryKey - the primary key of this calendar bookingpublic void setRecurrence(java.lang.String recurrence)
setRecurrence in interface CalendarBookingModelrecurrence - the recurrence of this calendar bookingpublic void setRecurringCalendarBookingId(long recurringCalendarBookingId)
setRecurringCalendarBookingId in interface CalendarBookingModelrecurringCalendarBookingId - the recurring calendar booking ID of this calendar bookingpublic void setSecondReminder(long secondReminder)
setSecondReminder in interface CalendarBookingModelsecondReminder - the second reminder of this calendar bookingpublic void setSecondReminderType(java.lang.String secondReminderType)
setSecondReminderType in interface CalendarBookingModelsecondReminderType - the second reminder type of this calendar bookingpublic void setStartTime(long startTime)
setStartTime in interface CalendarBookingModelstartTime - the start time of this calendar bookingpublic void setStatus(int status)
setStatus in interface CalendarBookingModelsetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelstatus - the status of this calendar bookingpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface CalendarBookingModelsetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserId - the status by user ID of this calendar bookingpublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface CalendarBookingModelsetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserName - the status by user name of this calendar bookingpublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface CalendarBookingModelsetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserUuid - the status by user uuid of this calendar bookingpublic void setStatusDate(java.util.Date statusDate)
setStatusDate in interface CalendarBookingModelsetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelstatusDate - the status date of this calendar bookingpublic void setTitle(java.lang.String title)
setTitle in interface CalendarBookingModeltitle - the title of this calendar bookingpublic void setTitle(java.lang.String title,
java.util.Locale locale)
setTitle in interface CalendarBookingModeltitle - the localized title of this calendar bookinglocale - the locale of the languagepublic void setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale)
setTitle in interface CalendarBookingModeltitle - the localized title of this calendar bookinglocale - the locale of the languagedefaultLocale - the default localepublic void setTitleCurrentLanguageId(java.lang.String languageId)
setTitleCurrentLanguageId in interface CalendarBookingModelpublic void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
setTitleMap in interface CalendarBookingModeltitleMap - the locales and localized titles of this calendar bookingpublic void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Locale defaultLocale)
setTitleMap in interface CalendarBookingModeltitleMap - the locales and localized titles of this calendar bookingdefaultLocale - the default localepublic void setUserId(long userId)
setUserId in interface CalendarBookingModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this calendar bookingpublic void setUserName(java.lang.String userName)
setUserName in interface CalendarBookingModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this calendar bookingpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CalendarBookingModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this calendar bookingpublic void setUuid(java.lang.String uuid)
setUuid in interface CalendarBookingModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this calendar bookingpublic void setVEventUid(java.lang.String vEventUid)
setVEventUid in interface CalendarBookingModelvEventUid - the v event uid of this calendar bookingpublic java.util.Map<java.lang.String,java.util.function.Function<CalendarBooking,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public java.util.Map<java.lang.String,java.util.function.BiConsumer<CalendarBooking,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected CalendarBookingWrapper wrap(CalendarBooking calendarBooking)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CalendarBooking>