@ProviderType public class CalendarBookingWrapper extends java.lang.Object 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 |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(CalendarBooking calendarBooking) |
boolean |
equals(java.lang.Object obj) |
boolean |
getAllDay()
Returns the all day of this calendar booking.
|
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.
|
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.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
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.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date 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.io.Serializable |
getPrimaryKeyObj() |
java.lang.String |
getRecurrence()
Returns the recurrence of this calendar booking.
|
Recurrence |
getRecurrenceObj() |
long |
getResourceBlockId()
Returns the resource block 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.
|
com.liferay.portal.kernel.trash.TrashHandler |
getTrashHandler()
Returns the trash handler 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.
|
CalendarBooking |
getWrappedModel() |
int |
hashCode() |
boolean |
isAllDay()
Returns
true if this calendar booking is all day. |
boolean |
isApproved()
Returns
true if this calendar booking is approved. |
boolean |
isCachedModel() |
boolean |
isDenied()
Returns
true if this calendar booking is denied. |
boolean |
isDraft()
Returns
true if this calendar booking is a draft. |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isExpired()
Returns
true if this calendar booking is expired. |
boolean |
isFinderCacheEnabled() |
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 |
isNew() |
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 |
resetOriginalValues() |
void |
setAllDay(boolean allDay)
Sets whether this calendar booking is all day.
|
void |
setCachedModel(boolean cachedModel) |
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 |
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 |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
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 |
setNew(boolean n) |
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 |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setRecurrence(java.lang.String recurrence)
Sets the recurrence of this calendar booking.
|
void |
setResourceBlockId(long resourceBlockId)
Sets the resource block 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.
|
com.liferay.portal.kernel.model.CacheModel<CalendarBooking> |
toCacheModel() |
CalendarBooking |
toEscapedModel() |
java.lang.String |
toString() |
CalendarBooking |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public CalendarBookingWrapper(CalendarBooking calendarBooking)
public java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic 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 java.lang.Object clone()
clone in interface CalendarBookingModelclone in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>clone in interface com.liferay.portal.kernel.model.StagedModelclone in class java.lang.Objectpublic int compareTo(CalendarBooking calendarBooking)
compareTo in interface CalendarBookingModelcompareTo in interface java.lang.Comparable<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 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.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 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 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 com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface CalendarBookingModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic 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 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 CalendarBookingModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface CalendarBookingModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getRecurrence()
getRecurrence in interface CalendarBookingModelpublic Recurrence getRecurrenceObj()
getRecurrenceObj in interface CalendarBookingpublic long getResourceBlockId()
getResourceBlockId in interface CalendarBookingModelgetResourceBlockId in interface com.liferay.portal.kernel.model.PermissionedModelpublic 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.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 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 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 com.liferay.portal.kernel.trash.TrashHandler getTrashHandler()
getTrashHandler in interface CalendarBookingModelgetTrashHandler 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 int hashCode()
hashCode in interface CalendarBookingModelhashCode in class java.lang.Objectpublic 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 isCachedModel()
isCachedModel in interface CalendarBookingModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public 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 isEscapedModel()
isEscapedModel in interface CalendarBookingModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public 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 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 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 isMasterBooking()
isMasterBooking in interface CalendarBookingpublic boolean isNew()
isNew in interface CalendarBookingModelisNew in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public 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 setCachedModel(boolean cachedModel)
setCachedModel in interface CalendarBookingModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public 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 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 setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface CalendarBookingModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface CalendarBookingModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface CalendarBookingModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public 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 setNew(boolean n)
setNew in interface CalendarBookingModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public void setParentCalendarBookingId(long parentCalendarBookingId)
setParentCalendarBookingId in interface CalendarBookingModelparentCalendarBookingId - the parent calendar booking ID of this calendar bookingpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CalendarBookingModelprimaryKey - the primary key of this calendar bookingpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface CalendarBookingModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setRecurrence(java.lang.String recurrence)
setRecurrence in interface CalendarBookingModelrecurrence - the recurrence of this calendar bookingpublic void setResourceBlockId(long resourceBlockId)
setResourceBlockId in interface CalendarBookingModelsetResourceBlockId in interface com.liferay.portal.kernel.model.PermissionedModelresourceBlockId - the resource block 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 com.liferay.portal.kernel.model.CacheModel<CalendarBooking> toCacheModel()
toCacheModel in interface CalendarBookingModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public CalendarBooking toEscapedModel()
toEscapedModel in interface CalendarBookingModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public java.lang.String toString()
toString in interface CalendarBookingModeltoString in class java.lang.Objectpublic CalendarBooking toUnescapedModel()
toUnescapedModel in interface CalendarBookingModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public java.lang.String toXmlString()
toXmlString in interface CalendarBookingModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelpublic CalendarBooking getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<CalendarBooking>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>