Package com.liferay.calendar.model
Class CalendarBookingWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CalendarBooking>
com.liferay.calendar.model.CalendarBookingWrapper
- All Implemented Interfaces:
CalendarBooking,CalendarBookingModel,com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CalendarBooking>,com.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.LocalizedModel,com.liferay.portal.kernel.model.ModelWrapper<CalendarBooking>,com.liferay.portal.kernel.model.MVCCModel,com.liferay.portal.kernel.model.PersistedModel,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedGroupedModel,com.liferay.portal.kernel.model.StagedModel,com.liferay.portal.kernel.model.TrashedModel,com.liferay.portal.kernel.model.WorkflowedModel,Serializable,Cloneable,Comparable<CalendarBooking>
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.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.calendar.model.CalendarBooking
CALENDAR_BOOKING_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the all day of this calendar booking.String[]longReturns the calendar booking ID of this calendar booking.longReturns the calendar ID of this calendar booking.longReturns the calendar resource ID of this calendar booking.longReturns the company ID of this calendar booking.Returns the create date of this calendar booking.longReturns 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.longlongReturns the end time of this calendar booking.longReturns the first reminder of this calendar booking.Returns the first reminder type of this calendar booking.longReturns the group ID of this calendar booking.intReturns the last publish date of this calendar booking.Returns the location of this calendar booking.Returns the modified date of this calendar booking.longReturns the mvcc version of this calendar booking.longReturns the parent calendar booking ID of this calendar booking.longReturns the primary key of this calendar booking.Returns the recurrence of this calendar booking.longReturns the recurring calendar booking ID of this calendar booking.longReturns the second reminder of this calendar booking.Returns the second reminder type of this calendar booking.com.liferay.exportimport.kernel.lar.StagedModelTypelongReturns the start time of this calendar booking.intReturns the status of this calendar booking.longReturns 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.longReturns the class primary key of the trash entry for this calendar booking.longReturns 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.booleanisAllDay()Returnstrueif this calendar booking is all day.booleanReturnstrueif this calendar booking is approved.booleanisDenied()Returnstrueif this calendar booking is denied.booleanisDraft()Returnstrueif this calendar booking is a draft.booleanReturnstrueif this calendar booking is expired.booleanReturnstrueif this calendar booking is inactive.booleanReturnstrueif this calendar booking is incomplete.booleanReturnstrueif this calendar booking is in the Recycle Bin.booleanbooleanbooleanReturnstrueif this calendar booking is pending.booleanbooleanReturnstrueif this calendar booking is scheduled.voidpersist()voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidsetAllDay(boolean allDay) Sets whether this calendar booking is all day.voidsetCalendarBookingId(long calendarBookingId) Sets the calendar booking ID of this calendar booking.voidsetCalendarId(long calendarId) Sets the calendar ID of this calendar booking.voidsetCalendarResourceId(long calendarResourceId) Sets the calendar resource ID of this calendar booking.voidsetCompanyId(long companyId) Sets the company ID of this calendar booking.voidsetCreateDate(Date createDate) Sets the create date of this calendar booking.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this calendar booking.voidsetDescription(String description) Sets the description of this calendar booking.voidsetDescription(String description, Locale locale) Sets the localized description of this calendar booking in the language.voidsetDescription(String description, Locale locale, Locale defaultLocale) Sets the localized description of this calendar booking in the language, and sets the default locale.voidsetDescriptionCurrentLanguageId(String languageId) voidsetDescriptionMap(Map<Locale, String> descriptionMap) Sets the localized descriptions of this calendar booking from the map of locales and localized descriptions.voidsetDescriptionMap(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.voidsetEndTime(long endTime) Sets the end time of this calendar booking.voidsetFirstReminder(long firstReminder) Sets the first reminder of this calendar booking.voidsetFirstReminderType(String firstReminderType) Sets the first reminder type of this calendar booking.voidsetGroupId(long groupId) Sets the group ID of this calendar booking.voidsetInstanceIndex(int instanceIndex) voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this calendar booking.voidsetLocation(String location) Sets the location of this calendar booking.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this calendar booking.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this calendar booking.voidsetParentCalendarBookingId(long parentCalendarBookingId) Sets the parent calendar booking ID of this calendar booking.voidsetPrimaryKey(long primaryKey) Sets the primary key of this calendar booking.voidsetRecurrence(String recurrence) Sets the recurrence of this calendar booking.voidsetRecurringCalendarBookingId(long recurringCalendarBookingId) Sets the recurring calendar booking ID of this calendar booking.voidsetSecondReminder(long secondReminder) Sets the second reminder of this calendar booking.voidsetSecondReminderType(String secondReminderType) Sets the second reminder type of this calendar booking.voidsetStartTime(long startTime) Sets the start time of this calendar booking.voidsetStatus(int status) Sets the status of this calendar booking.voidsetStatusByUserId(long statusByUserId) Sets the status by user ID of this calendar booking.voidsetStatusByUserName(String statusByUserName) Sets the status by user name of this calendar booking.voidsetStatusByUserUuid(String statusByUserUuid) Sets the status by user uuid of this calendar booking.voidsetStatusDate(Date statusDate) Sets the status date of this calendar booking.voidSets the title of this calendar booking.voidSets the localized title of this calendar booking in the language.voidSets the localized title of this calendar booking in the language, and sets the default locale.voidsetTitleCurrentLanguageId(String languageId) voidsetTitleMap(Map<Locale, String> titleMap) Sets the localized titles of this calendar booking from the map of locales and localized titles.voidsetTitleMap(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.voidsetUserId(long userId) Sets the user ID of this calendar booking.voidsetUserName(String userName) Sets the user name of this calendar booking.voidsetUserUuid(String userUuid) Sets the user uuid of this calendar booking.voidSets the uuid of this calendar booking.voidsetVEventUid(String vEventUid) Sets the v event uid of this calendar booking.protected CalendarBookingWrapperwrap(CalendarBooking calendarBooking) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CalendarBookingWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CalendarBooking>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CalendarBooking>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CalendarBooking>- Specified by:
cloneWithOriginalValuesin interfaceCalendarBookingModel
-
getAllDay
public boolean getAllDay()Returns the all day of this calendar booking.- Specified by:
getAllDayin interfaceCalendarBookingModel- Returns:
- the all day of this calendar booking
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIdsin interfaceCalendarBookingModel- Specified by:
getAvailableLanguageIdsin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getCalendar
- Specified by:
getCalendarin interfaceCalendarBooking- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCalendarBookingId
public long getCalendarBookingId()Returns the calendar booking ID of this calendar booking.- Specified by:
getCalendarBookingIdin interfaceCalendarBookingModel- Returns:
- the calendar booking ID of this calendar booking
-
getCalendarId
public long getCalendarId()Returns the calendar ID of this calendar booking.- Specified by:
getCalendarIdin interfaceCalendarBookingModel- Returns:
- the calendar ID of this calendar booking
-
getCalendarResource
public CalendarResource getCalendarResource() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getCalendarResourcein interfaceCalendarBooking- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCalendarResourceId
public long getCalendarResourceId()Returns the calendar resource ID of this calendar booking.- Specified by:
getCalendarResourceIdin interfaceCalendarBookingModel- Returns:
- the calendar resource ID of this calendar booking
-
getChildCalendarBookings
- Specified by:
getChildCalendarBookingsin interfaceCalendarBooking
-
getCompanyId
public long getCompanyId()Returns the company ID of this calendar booking.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceCalendarBookingModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this calendar booking
-
getCreateDate
Returns the create date of this calendar booking.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceCalendarBookingModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this calendar booking
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this calendar booking.- Specified by:
getCtCollectionIdin interfaceCalendarBookingModel- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>- Returns:
- the ct collection ID of this calendar booking
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageIdin interfaceCalendarBookingModel- Specified by:
getDefaultLanguageIdin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDescription
Returns the description of this calendar booking.- Specified by:
getDescriptionin interfaceCalendarBookingModel- 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.- Specified by:
getDescriptionin interfaceCalendarBookingModel- 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.- Specified by:
getDescriptionin interfaceCalendarBookingModel- 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
useDefaultisfalseand 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.- Specified by:
getDescriptionin interfaceCalendarBookingModel- 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.- Specified by:
getDescriptionin interfaceCalendarBookingModel- 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
- Specified by:
getDescriptionCurrentLanguageIdin interfaceCalendarBookingModel
-
getDescriptionCurrentValue
- Specified by:
getDescriptionCurrentValuein interfaceCalendarBookingModel
-
getDescriptionMap
Returns a map of the locales and localized descriptions of this calendar booking.- Specified by:
getDescriptionMapin interfaceCalendarBookingModel- Returns:
- the locales and localized descriptions of this calendar booking
-
getDuration
public long getDuration()- Specified by:
getDurationin interfaceCalendarBooking
-
getEndTime
public long getEndTime()Returns the end time of this calendar booking.- Specified by:
getEndTimein interfaceCalendarBookingModel- Returns:
- the end time of this calendar booking
-
getFirstReminder
public long getFirstReminder()Returns the first reminder of this calendar booking.- Specified by:
getFirstReminderin interfaceCalendarBookingModel- Returns:
- the first reminder of this calendar booking
-
getFirstReminderNotificationType
- Specified by:
getFirstReminderNotificationTypein interfaceCalendarBooking
-
getFirstReminderType
Returns the first reminder type of this calendar booking.- Specified by:
getFirstReminderTypein interfaceCalendarBookingModel- Returns:
- the first reminder type of this calendar booking
-
getGroupId
public long getGroupId()Returns the group ID of this calendar booking.- Specified by:
getGroupIdin interfaceCalendarBookingModel- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this calendar booking
-
getInstanceIndex
public int getInstanceIndex()- Specified by:
getInstanceIndexin interfaceCalendarBooking
-
getLastPublishDate
Returns the last publish date of this calendar booking.- Specified by:
getLastPublishDatein interfaceCalendarBookingModel- Specified by:
getLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Returns:
- the last publish date of this calendar booking
-
getLocation
Returns the location of this calendar booking.- Specified by:
getLocationin interfaceCalendarBookingModel- Returns:
- the location of this calendar booking
-
getModifiedDate
Returns the modified date of this calendar booking.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceCalendarBookingModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this calendar booking
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this calendar booking.- Specified by:
getMvccVersionin interfaceCalendarBookingModel- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this calendar booking
-
getParentCalendarBooking
public CalendarBooking getParentCalendarBooking() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getParentCalendarBookingin interfaceCalendarBooking- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getParentCalendarBookingId
public long getParentCalendarBookingId()Returns the parent calendar booking ID of this calendar booking.- Specified by:
getParentCalendarBookingIdin interfaceCalendarBookingModel- Returns:
- the parent calendar booking ID of this calendar booking
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this calendar booking.- Specified by:
getPrimaryKeyin interfaceCalendarBookingModel- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>- Returns:
- the primary key of this calendar booking
-
getRecurrence
Returns the recurrence of this calendar booking.- Specified by:
getRecurrencein interfaceCalendarBookingModel- Returns:
- the recurrence of this calendar booking
-
getRecurrenceObj
- Specified by:
getRecurrenceObjin interfaceCalendarBooking
-
getRecurringCalendarBookingId
public long getRecurringCalendarBookingId()Returns the recurring calendar booking ID of this calendar booking.- Specified by:
getRecurringCalendarBookingIdin interfaceCalendarBookingModel- Returns:
- the recurring calendar booking ID of this calendar booking
-
getSecondReminder
public long getSecondReminder()Returns the second reminder of this calendar booking.- Specified by:
getSecondReminderin interfaceCalendarBookingModel- Returns:
- the second reminder of this calendar booking
-
getSecondReminderNotificationType
- Specified by:
getSecondReminderNotificationTypein interfaceCalendarBooking
-
getSecondReminderType
Returns the second reminder type of this calendar booking.- Specified by:
getSecondReminderTypein interfaceCalendarBookingModel- Returns:
- the second reminder type of this calendar booking
-
getStartTime
public long getStartTime()Returns the start time of this calendar booking.- Specified by:
getStartTimein interfaceCalendarBookingModel- Returns:
- the start time of this calendar booking
-
getStatus
public int getStatus()Returns the status of this calendar booking.- Specified by:
getStatusin interfaceCalendarBookingModel- Specified by:
getStatusin interfacecom.liferay.portal.kernel.model.TrashedModel- Specified by:
getStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status of this calendar booking
-
getStatusByUserId
public long getStatusByUserId()Returns the status by user ID of this calendar booking.- Specified by:
getStatusByUserIdin interfaceCalendarBookingModel- Specified by:
getStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user ID of this calendar booking
-
getStatusByUserName
Returns the status by user name of this calendar booking.- Specified by:
getStatusByUserNamein interfaceCalendarBookingModel- Specified by:
getStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user name of this calendar booking
-
getStatusByUserUuid
Returns the status by user uuid of this calendar booking.- Specified by:
getStatusByUserUuidin interfaceCalendarBookingModel- Specified by:
getStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user uuid of this calendar booking
-
getStatusDate
Returns the status date of this calendar booking.- Specified by:
getStatusDatein interfaceCalendarBookingModel- Specified by:
getStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status date of this calendar booking
-
getTimeZone
- Specified by:
getTimeZonein interfaceCalendarBooking
-
getTitle
Returns the title of this calendar booking.- Specified by:
getTitlein interfaceCalendarBookingModel- 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.- Specified by:
getTitlein interfaceCalendarBookingModel- 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.- Specified by:
getTitlein interfaceCalendarBookingModel- 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
useDefaultisfalseand 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.- Specified by:
getTitlein interfaceCalendarBookingModel- 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.- Specified by:
getTitlein interfaceCalendarBookingModel- 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
- Specified by:
getTitleCurrentLanguageIdin interfaceCalendarBookingModel
-
getTitleCurrentValue
- Specified by:
getTitleCurrentValuein interfaceCalendarBookingModel
-
getTitleMap
Returns a map of the locales and localized titles of this calendar booking.- Specified by:
getTitleMapin interfaceCalendarBookingModel- Returns:
- the locales and localized titles of this calendar booking
-
getTrashEntryClassPK
public long getTrashEntryClassPK()Returns the class primary key of the trash entry for this calendar booking.- Specified by:
getTrashEntryClassPKin interfaceCalendarBookingModel- Specified by:
getTrashEntryClassPKin interfacecom.liferay.portal.kernel.model.TrashedModel- Returns:
- the class primary key of the trash entry for this calendar booking
-
getUserId
public long getUserId()Returns the user ID of this calendar booking.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceCalendarBookingModel- Returns:
- the user ID of this calendar booking
-
getUserName
Returns the user name of this calendar booking.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceCalendarBookingModel- Returns:
- the user name of this calendar booking
-
getUserUuid
Returns the user uuid of this calendar booking.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceCalendarBookingModel- Returns:
- the user uuid of this calendar booking
-
getUuid
Returns the uuid of this calendar booking.- Specified by:
getUuidin interfaceCalendarBookingModel- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this calendar booking
-
getVEventUid
Returns the v event uid of this calendar booking.- Specified by:
getVEventUidin interfaceCalendarBookingModel- Returns:
- the v event uid of this calendar booking
-
isAllDay
public boolean isAllDay()Returnstrueif this calendar booking is all day.- Specified by:
isAllDayin interfaceCalendarBookingModel- Returns:
trueif this calendar booking is all day;falseotherwise
-
isApproved
public boolean isApproved()Returnstrueif this calendar booking is approved.- Specified by:
isApprovedin interfaceCalendarBookingModel- Specified by:
isApprovedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this calendar booking is approved;falseotherwise
-
isDenied
public boolean isDenied()Returnstrueif this calendar booking is denied.- Specified by:
isDeniedin interfaceCalendarBookingModel- Specified by:
isDeniedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this calendar booking is denied;falseotherwise
-
isDraft
public boolean isDraft()Returnstrueif this calendar booking is a draft.- Specified by:
isDraftin interfaceCalendarBookingModel- Specified by:
isDraftin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this calendar booking is a draft;falseotherwise
-
isExpired
public boolean isExpired()Returnstrueif this calendar booking is expired.- Specified by:
isExpiredin interfaceCalendarBookingModel- Specified by:
isExpiredin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this calendar booking is expired;falseotherwise
-
isInactive
public boolean isInactive()Returnstrueif this calendar booking is inactive.- Specified by:
isInactivein interfaceCalendarBookingModel- Specified by:
isInactivein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this calendar booking is inactive;falseotherwise
-
isIncomplete
public boolean isIncomplete()Returnstrueif this calendar booking is incomplete.- Specified by:
isIncompletein interfaceCalendarBookingModel- Specified by:
isIncompletein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this calendar booking is incomplete;falseotherwise
-
isInTrash
public boolean isInTrash()Returnstrueif this calendar booking is in the Recycle Bin.- Specified by:
isInTrashin interfaceCalendarBookingModel- Specified by:
isInTrashin interfacecom.liferay.portal.kernel.model.TrashedModel- Returns:
trueif this calendar booking is in the Recycle Bin;falseotherwise
-
isMasterBooking
public boolean isMasterBooking()- Specified by:
isMasterBookingin interfaceCalendarBooking
-
isMasterRecurringBooking
public boolean isMasterRecurringBooking()- Specified by:
isMasterRecurringBookingin interfaceCalendarBooking
-
isPending
public boolean isPending()Returnstrueif this calendar booking is pending.- Specified by:
isPendingin interfaceCalendarBookingModel- Specified by:
isPendingin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this calendar booking is pending;falseotherwise
-
isRecurring
public boolean isRecurring()- Specified by:
isRecurringin interfaceCalendarBooking
-
isScheduled
public boolean isScheduled()Returnstrueif this calendar booking is scheduled.- Specified by:
isScheduledin interfaceCalendarBookingModel- Specified by:
isScheduledin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this calendar booking is scheduled;falseotherwise
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImportin interfaceCalendarBookingModel- Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImportin interfaceCalendarBookingModel- Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setAllDay
public void setAllDay(boolean allDay) Sets whether this calendar booking is all day.- Specified by:
setAllDayin interfaceCalendarBookingModel- Parameters:
allDay- the all day of this calendar booking
-
setCalendarBookingId
public void setCalendarBookingId(long calendarBookingId) Sets the calendar booking ID of this calendar booking.- Specified by:
setCalendarBookingIdin interfaceCalendarBookingModel- Parameters:
calendarBookingId- the calendar booking ID of this calendar booking
-
setCalendarId
public void setCalendarId(long calendarId) Sets the calendar ID of this calendar booking.- Specified by:
setCalendarIdin interfaceCalendarBookingModel- Parameters:
calendarId- the calendar ID of this calendar booking
-
setCalendarResourceId
public void setCalendarResourceId(long calendarResourceId) Sets the calendar resource ID of this calendar booking.- Specified by:
setCalendarResourceIdin interfaceCalendarBookingModel- Parameters:
calendarResourceId- the calendar resource ID of this calendar booking
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this calendar booking.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceCalendarBookingModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this calendar booking
-
setCreateDate
Sets the create date of this calendar booking.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceCalendarBookingModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this calendar booking
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this calendar booking.- Specified by:
setCtCollectionIdin interfaceCalendarBookingModel- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>- Parameters:
ctCollectionId- the ct collection ID of this calendar booking
-
setDescription
Sets the description of this calendar booking.- Specified by:
setDescriptionin interfaceCalendarBookingModel- Parameters:
description- the description of this calendar booking
-
setDescription
Sets the localized description of this calendar booking in the language.- Specified by:
setDescriptionin interfaceCalendarBookingModel- 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.- Specified by:
setDescriptionin interfaceCalendarBookingModel- Parameters:
description- the localized description of this calendar bookinglocale- the locale of the languagedefaultLocale- the default locale
-
setDescriptionCurrentLanguageId
- Specified by:
setDescriptionCurrentLanguageIdin interfaceCalendarBookingModel
-
setDescriptionMap
Sets the localized descriptions of this calendar booking from the map of locales and localized descriptions.- Specified by:
setDescriptionMapin interfaceCalendarBookingModel- 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.- Specified by:
setDescriptionMapin interfaceCalendarBookingModel- Parameters:
descriptionMap- the locales and localized descriptions of this calendar bookingdefaultLocale- the default locale
-
setEndTime
public void setEndTime(long endTime) Sets the end time of this calendar booking.- Specified by:
setEndTimein interfaceCalendarBookingModel- Parameters:
endTime- the end time of this calendar booking
-
setFirstReminder
public void setFirstReminder(long firstReminder) Sets the first reminder of this calendar booking.- Specified by:
setFirstReminderin interfaceCalendarBookingModel- Parameters:
firstReminder- the first reminder of this calendar booking
-
setFirstReminderType
Sets the first reminder type of this calendar booking.- Specified by:
setFirstReminderTypein interfaceCalendarBookingModel- Parameters:
firstReminderType- the first reminder type of this calendar booking
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this calendar booking.- Specified by:
setGroupIdin interfaceCalendarBookingModel- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this calendar booking
-
setInstanceIndex
public void setInstanceIndex(int instanceIndex) - Specified by:
setInstanceIndexin interfaceCalendarBooking
-
setLastPublishDate
Sets the last publish date of this calendar booking.- Specified by:
setLastPublishDatein interfaceCalendarBookingModel- Specified by:
setLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Parameters:
lastPublishDate- the last publish date of this calendar booking
-
setLocation
Sets the location of this calendar booking.- Specified by:
setLocationin interfaceCalendarBookingModel- Parameters:
location- the location of this calendar booking
-
setModifiedDate
Sets the modified date of this calendar booking.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceCalendarBookingModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this calendar booking
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this calendar booking.- Specified by:
setMvccVersionin interfaceCalendarBookingModel- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this calendar booking
-
setParentCalendarBookingId
public void setParentCalendarBookingId(long parentCalendarBookingId) Sets the parent calendar booking ID of this calendar booking.- Specified by:
setParentCalendarBookingIdin interfaceCalendarBookingModel- Parameters:
parentCalendarBookingId- the parent calendar booking ID of this calendar booking
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this calendar booking.- Specified by:
setPrimaryKeyin interfaceCalendarBookingModel- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>- Parameters:
primaryKey- the primary key of this calendar booking
-
setRecurrence
Sets the recurrence of this calendar booking.- Specified by:
setRecurrencein interfaceCalendarBookingModel- Parameters:
recurrence- the recurrence of this calendar booking
-
setRecurringCalendarBookingId
public void setRecurringCalendarBookingId(long recurringCalendarBookingId) Sets the recurring calendar booking ID of this calendar booking.- Specified by:
setRecurringCalendarBookingIdin interfaceCalendarBookingModel- Parameters:
recurringCalendarBookingId- the recurring calendar booking ID of this calendar booking
-
setSecondReminder
public void setSecondReminder(long secondReminder) Sets the second reminder of this calendar booking.- Specified by:
setSecondReminderin interfaceCalendarBookingModel- Parameters:
secondReminder- the second reminder of this calendar booking
-
setSecondReminderType
Sets the second reminder type of this calendar booking.- Specified by:
setSecondReminderTypein interfaceCalendarBookingModel- Parameters:
secondReminderType- the second reminder type of this calendar booking
-
setStartTime
public void setStartTime(long startTime) Sets the start time of this calendar booking.- Specified by:
setStartTimein interfaceCalendarBookingModel- Parameters:
startTime- the start time of this calendar booking
-
setStatus
public void setStatus(int status) Sets the status of this calendar booking.- Specified by:
setStatusin interfaceCalendarBookingModel- Specified by:
setStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
status- the status of this calendar booking
-
setStatusByUserId
public void setStatusByUserId(long statusByUserId) Sets the status by user ID of this calendar booking.- Specified by:
setStatusByUserIdin interfaceCalendarBookingModel- Specified by:
setStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserId- the status by user ID of this calendar booking
-
setStatusByUserName
Sets the status by user name of this calendar booking.- Specified by:
setStatusByUserNamein interfaceCalendarBookingModel- Specified by:
setStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserName- the status by user name of this calendar booking
-
setStatusByUserUuid
Sets the status by user uuid of this calendar booking.- Specified by:
setStatusByUserUuidin interfaceCalendarBookingModel- Specified by:
setStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserUuid- the status by user uuid of this calendar booking
-
setStatusDate
Sets the status date of this calendar booking.- Specified by:
setStatusDatein interfaceCalendarBookingModel- Specified by:
setStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusDate- the status date of this calendar booking
-
setTitle
Sets the title of this calendar booking.- Specified by:
setTitlein interfaceCalendarBookingModel- Parameters:
title- the title of this calendar booking
-
setTitle
Sets the localized title of this calendar booking in the language.- Specified by:
setTitlein interfaceCalendarBookingModel- 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.- Specified by:
setTitlein interfaceCalendarBookingModel- Parameters:
title- the localized title of this calendar bookinglocale- the locale of the languagedefaultLocale- the default locale
-
setTitleCurrentLanguageId
- Specified by:
setTitleCurrentLanguageIdin interfaceCalendarBookingModel
-
setTitleMap
Sets the localized titles of this calendar booking from the map of locales and localized titles.- Specified by:
setTitleMapin interfaceCalendarBookingModel- 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.- Specified by:
setTitleMapin interfaceCalendarBookingModel- Parameters:
titleMap- the locales and localized titles of this calendar bookingdefaultLocale- the default locale
-
setUserId
public void setUserId(long userId) Sets the user ID of this calendar booking.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceCalendarBookingModel- Parameters:
userId- the user ID of this calendar booking
-
setUserName
Sets the user name of this calendar booking.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceCalendarBookingModel- Parameters:
userName- the user name of this calendar booking
-
setUserUuid
Sets the user uuid of this calendar booking.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceCalendarBookingModel- Parameters:
userUuid- the user uuid of this calendar booking
-
setUuid
Sets the uuid of this calendar booking.- Specified by:
setUuidin interfaceCalendarBookingModel- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this calendar booking
-
setVEventUid
Sets the v event uid of this calendar booking.- Specified by:
setVEventUidin interfaceCalendarBookingModel- Parameters:
vEventUid- the v event uid of this calendar booking
-
toXmlString
- Specified by:
toXmlStringin interfaceCalendarBookingModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfacecom.liferay.portal.kernel.model.BaseModel<CalendarBooking>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfacecom.liferay.portal.kernel.model.BaseModel<CalendarBooking>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelTypein interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CalendarBooking>
-