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:
  • Constructor Details

    • CalendarBookingWrapper

      public CalendarBookingWrapper(CalendarBooking calendarBooking)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>
    • cloneWithOriginalValues

      public CalendarBooking cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>
      Specified by:
      cloneWithOriginalValues in interface CalendarBookingModel
    • getAllDay

      public boolean getAllDay()
      Returns the all day of this calendar booking.
      Specified by:
      getAllDay in interface CalendarBookingModel
      Returns:
      the all day of this calendar booking
    • getAvailableLanguageIds

      public String[] getAvailableLanguageIds()
      Specified by:
      getAvailableLanguageIds in interface CalendarBookingModel
      Specified by:
      getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModel
    • getCalendar

      public Calendar getCalendar() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCalendar in interface CalendarBooking
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCalendarBookingId

      public long getCalendarBookingId()
      Returns the calendar booking ID of this calendar booking.
      Specified by:
      getCalendarBookingId in interface CalendarBookingModel
      Returns:
      the calendar booking ID of this calendar booking
    • getCalendarId

      public long getCalendarId()
      Returns the calendar ID of this calendar booking.
      Specified by:
      getCalendarId in interface CalendarBookingModel
      Returns:
      the calendar ID of this calendar booking
    • getCalendarResource

      public CalendarResource getCalendarResource() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCalendarResource in interface CalendarBooking
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCalendarResourceId

      public long getCalendarResourceId()
      Returns the calendar resource ID of this calendar booking.
      Specified by:
      getCalendarResourceId in interface CalendarBookingModel
      Returns:
      the calendar resource ID of this calendar booking
    • getChildCalendarBookings

      public List<CalendarBooking> getChildCalendarBookings()
      Specified by:
      getChildCalendarBookings in interface CalendarBooking
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this calendar booking.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CalendarBookingModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this calendar booking
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this calendar booking.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CalendarBookingModel
      Specified by:
      getCreateDate in interface com.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:
      getCtCollectionId in interface CalendarBookingModel
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>
      Returns:
      the ct collection ID of this calendar booking
    • getDefaultLanguageId

      public String getDefaultLanguageId()
      Specified by:
      getDefaultLanguageId in interface CalendarBookingModel
      Specified by:
      getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModel
    • getDescription

      public String getDescription()
      Returns the description of this calendar booking.
      Specified by:
      getDescription in interface CalendarBookingModel
      Returns:
      the description of this calendar booking
    • getDescription

      public String getDescription(Locale locale)
      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:
      getDescription in interface CalendarBookingModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized description of this calendar booking
    • getDescription

      public String 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.
      Specified by:
      getDescription in interface CalendarBookingModel
      Parameters:
      locale - the local of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized description of this calendar booking. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getDescription

      public String getDescription(String languageId)
      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:
      getDescription in interface CalendarBookingModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized description of this calendar booking
    • getDescription

      public String 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.
      Specified by:
      getDescription in interface CalendarBookingModel
      Parameters:
      languageId - the ID of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized description of this calendar booking
    • getDescriptionCurrentLanguageId

      public String getDescriptionCurrentLanguageId()
      Specified by:
      getDescriptionCurrentLanguageId in interface CalendarBookingModel
    • getDescriptionCurrentValue

      public String getDescriptionCurrentValue()
      Specified by:
      getDescriptionCurrentValue in interface CalendarBookingModel
    • getDescriptionMap

      public Map<Locale,String> getDescriptionMap()
      Returns a map of the locales and localized descriptions of this calendar booking.
      Specified by:
      getDescriptionMap in interface CalendarBookingModel
      Returns:
      the locales and localized descriptions of this calendar booking
    • getDuration

      public long getDuration()
      Specified by:
      getDuration in interface CalendarBooking
    • getEndTime

      public long getEndTime()
      Returns the end time of this calendar booking.
      Specified by:
      getEndTime in interface CalendarBookingModel
      Returns:
      the end time of this calendar booking
    • getFirstReminder

      public long getFirstReminder()
      Returns the first reminder of this calendar booking.
      Specified by:
      getFirstReminder in interface CalendarBookingModel
      Returns:
      the first reminder of this calendar booking
    • getFirstReminderNotificationType

      public NotificationType getFirstReminderNotificationType()
      Specified by:
      getFirstReminderNotificationType in interface CalendarBooking
    • getFirstReminderType

      public String getFirstReminderType()
      Returns the first reminder type of this calendar booking.
      Specified by:
      getFirstReminderType in interface CalendarBookingModel
      Returns:
      the first reminder type of this calendar booking
    • getGroupId

      public long getGroupId()
      Returns the group ID of this calendar booking.
      Specified by:
      getGroupId in interface CalendarBookingModel
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this calendar booking
    • getInstanceIndex

      public int getInstanceIndex()
      Specified by:
      getInstanceIndex in interface CalendarBooking
    • getLastPublishDate

      public Date getLastPublishDate()
      Returns the last publish date of this calendar booking.
      Specified by:
      getLastPublishDate in interface CalendarBookingModel
      Specified by:
      getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Returns:
      the last publish date of this calendar booking
    • getLocation

      public String getLocation()
      Returns the location of this calendar booking.
      Specified by:
      getLocation in interface CalendarBookingModel
      Returns:
      the location of this calendar booking
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this calendar booking.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CalendarBookingModel
      Specified by:
      getModifiedDate in interface com.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:
      getMvccVersion in interface CalendarBookingModel
      Specified by:
      getMvccVersion in interface com.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:
      getParentCalendarBooking in interface CalendarBooking
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getParentCalendarBookingId

      public long getParentCalendarBookingId()
      Returns the parent calendar booking ID of this calendar booking.
      Specified by:
      getParentCalendarBookingId in interface CalendarBookingModel
      Returns:
      the parent calendar booking ID of this calendar booking
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this calendar booking.
      Specified by:
      getPrimaryKey in interface CalendarBookingModel
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>
      Returns:
      the primary key of this calendar booking
    • getRecurrence

      public String getRecurrence()
      Returns the recurrence of this calendar booking.
      Specified by:
      getRecurrence in interface CalendarBookingModel
      Returns:
      the recurrence of this calendar booking
    • getRecurrenceObj

      public Recurrence getRecurrenceObj()
      Specified by:
      getRecurrenceObj in interface CalendarBooking
    • getRecurringCalendarBookingId

      public long getRecurringCalendarBookingId()
      Returns the recurring calendar booking ID of this calendar booking.
      Specified by:
      getRecurringCalendarBookingId in interface CalendarBookingModel
      Returns:
      the recurring calendar booking ID of this calendar booking
    • getSecondReminder

      public long getSecondReminder()
      Returns the second reminder of this calendar booking.
      Specified by:
      getSecondReminder in interface CalendarBookingModel
      Returns:
      the second reminder of this calendar booking
    • getSecondReminderNotificationType

      public NotificationType getSecondReminderNotificationType()
      Specified by:
      getSecondReminderNotificationType in interface CalendarBooking
    • getSecondReminderType

      public String getSecondReminderType()
      Returns the second reminder type of this calendar booking.
      Specified by:
      getSecondReminderType in interface CalendarBookingModel
      Returns:
      the second reminder type of this calendar booking
    • getStartTime

      public long getStartTime()
      Returns the start time of this calendar booking.
      Specified by:
      getStartTime in interface CalendarBookingModel
      Returns:
      the start time of this calendar booking
    • getStatus

      public int getStatus()
      Returns the status of this calendar booking.
      Specified by:
      getStatus in interface CalendarBookingModel
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.TrashedModel
      Specified by:
      getStatus in interface com.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:
      getStatusByUserId in interface CalendarBookingModel
      Specified by:
      getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user ID of this calendar booking
    • getStatusByUserName

      public String getStatusByUserName()
      Returns the status by user name of this calendar booking.
      Specified by:
      getStatusByUserName in interface CalendarBookingModel
      Specified by:
      getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user name of this calendar booking
    • getStatusByUserUuid

      public String getStatusByUserUuid()
      Returns the status by user uuid of this calendar booking.
      Specified by:
      getStatusByUserUuid in interface CalendarBookingModel
      Specified by:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user uuid of this calendar booking
    • getStatusDate

      public Date getStatusDate()
      Returns the status date of this calendar booking.
      Specified by:
      getStatusDate in interface CalendarBookingModel
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status date of this calendar booking
    • getTimeZone

      public TimeZone getTimeZone()
      Specified by:
      getTimeZone in interface CalendarBooking
    • getTitle

      public String getTitle()
      Returns the title of this calendar booking.
      Specified by:
      getTitle in interface CalendarBookingModel
      Returns:
      the title of this calendar booking
    • getTitle

      public String getTitle(Locale locale)
      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:
      getTitle in interface CalendarBookingModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized title of this calendar booking
    • getTitle

      public String getTitle(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.
      Specified by:
      getTitle in interface CalendarBookingModel
      Parameters:
      locale - the local of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized title of this calendar booking. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getTitle

      public String getTitle(String languageId)
      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:
      getTitle in interface CalendarBookingModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized title of this calendar booking
    • getTitle

      public String getTitle(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.
      Specified by:
      getTitle in interface CalendarBookingModel
      Parameters:
      languageId - the ID of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized title of this calendar booking
    • getTitleCurrentLanguageId

      public String getTitleCurrentLanguageId()
      Specified by:
      getTitleCurrentLanguageId in interface CalendarBookingModel
    • getTitleCurrentValue

      public String getTitleCurrentValue()
      Specified by:
      getTitleCurrentValue in interface CalendarBookingModel
    • getTitleMap

      public Map<Locale,String> getTitleMap()
      Returns a map of the locales and localized titles of this calendar booking.
      Specified by:
      getTitleMap in interface CalendarBookingModel
      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:
      getTrashEntryClassPK in interface CalendarBookingModel
      Specified by:
      getTrashEntryClassPK in interface com.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:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface CalendarBookingModel
      Returns:
      the user ID of this calendar booking
    • getUserName

      public String getUserName()
      Returns the user name of this calendar booking.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface CalendarBookingModel
      Returns:
      the user name of this calendar booking
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this calendar booking.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CalendarBookingModel
      Returns:
      the user uuid of this calendar booking
    • getUuid

      public String getUuid()
      Returns the uuid of this calendar booking.
      Specified by:
      getUuid in interface CalendarBookingModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this calendar booking
    • getVEventUid

      public String getVEventUid()
      Returns the v event uid of this calendar booking.
      Specified by:
      getVEventUid in interface CalendarBookingModel
      Returns:
      the v event uid of this calendar booking
    • isAllDay

      public boolean isAllDay()
      Returns true if this calendar booking is all day.
      Specified by:
      isAllDay in interface CalendarBookingModel
      Returns:
      true if this calendar booking is all day; false otherwise
    • isApproved

      public boolean isApproved()
      Returns true if this calendar booking is approved.
      Specified by:
      isApproved in interface CalendarBookingModel
      Specified by:
      isApproved in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this calendar booking is approved; false otherwise
    • isDenied

      public boolean isDenied()
      Returns true if this calendar booking is denied.
      Specified by:
      isDenied in interface CalendarBookingModel
      Specified by:
      isDenied in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this calendar booking is denied; false otherwise
    • isDraft

      public boolean isDraft()
      Returns true if this calendar booking is a draft.
      Specified by:
      isDraft in interface CalendarBookingModel
      Specified by:
      isDraft in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this calendar booking is a draft; false otherwise
    • isExpired

      public boolean isExpired()
      Returns true if this calendar booking is expired.
      Specified by:
      isExpired in interface CalendarBookingModel
      Specified by:
      isExpired in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this calendar booking is expired; false otherwise
    • isInactive

      public boolean isInactive()
      Returns true if this calendar booking is inactive.
      Specified by:
      isInactive in interface CalendarBookingModel
      Specified by:
      isInactive in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this calendar booking is inactive; false otherwise
    • isIncomplete

      public boolean isIncomplete()
      Returns true if this calendar booking is incomplete.
      Specified by:
      isIncomplete in interface CalendarBookingModel
      Specified by:
      isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this calendar booking is incomplete; false otherwise
    • isInTrash

      public boolean isInTrash()
      Returns true if this calendar booking is in the Recycle Bin.
      Specified by:
      isInTrash in interface CalendarBookingModel
      Specified by:
      isInTrash in interface com.liferay.portal.kernel.model.TrashedModel
      Returns:
      true if this calendar booking is in the Recycle Bin; false otherwise
    • isMasterBooking

      public boolean isMasterBooking()
      Specified by:
      isMasterBooking in interface CalendarBooking
    • isMasterRecurringBooking

      public boolean isMasterRecurringBooking()
      Specified by:
      isMasterRecurringBooking in interface CalendarBooking
    • isPending

      public boolean isPending()
      Returns true if this calendar booking is pending.
      Specified by:
      isPending in interface CalendarBookingModel
      Specified by:
      isPending in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this calendar booking is pending; false otherwise
    • isRecurring

      public boolean isRecurring()
      Specified by:
      isRecurring in interface CalendarBooking
    • isScheduled

      public boolean isScheduled()
      Returns true if this calendar booking is scheduled.
      Specified by:
      isScheduled in interface CalendarBookingModel
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this calendar booking is scheduled; false otherwise
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • prepareLocalizedFieldsForImport

      public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface CalendarBookingModel
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • prepareLocalizedFieldsForImport

      public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface CalendarBookingModel
      Specified by:
      prepareLocalizedFieldsForImport in interface com.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:
      setAllDay in interface CalendarBookingModel
      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:
      setCalendarBookingId in interface CalendarBookingModel
      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:
      setCalendarId in interface CalendarBookingModel
      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:
      setCalendarResourceId in interface CalendarBookingModel
      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:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CalendarBookingModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this calendar booking
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this calendar booking.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CalendarBookingModel
      Specified by:
      setCreateDate in interface com.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:
      setCtCollectionId in interface CalendarBookingModel
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>
      Parameters:
      ctCollectionId - the ct collection ID of this calendar booking
    • setDescription

      public void setDescription(String description)
      Sets the description of this calendar booking.
      Specified by:
      setDescription in interface CalendarBookingModel
      Parameters:
      description - the description of this calendar booking
    • setDescription

      public void setDescription(String description, Locale locale)
      Sets the localized description of this calendar booking in the language.
      Specified by:
      setDescription in interface CalendarBookingModel
      Parameters:
      description - the localized description of this calendar booking
      locale - the locale of the language
    • setDescription

      public void setDescription(String description, Locale locale, Locale defaultLocale)
      Sets the localized description of this calendar booking in the language, and sets the default locale.
      Specified by:
      setDescription in interface CalendarBookingModel
      Parameters:
      description - the localized description of this calendar booking
      locale - the locale of the language
      defaultLocale - the default locale
    • setDescriptionCurrentLanguageId

      public void setDescriptionCurrentLanguageId(String languageId)
      Specified by:
      setDescriptionCurrentLanguageId in interface CalendarBookingModel
    • setDescriptionMap

      public void setDescriptionMap(Map<Locale,String> descriptionMap)
      Sets the localized descriptions of this calendar booking from the map of locales and localized descriptions.
      Specified by:
      setDescriptionMap in interface CalendarBookingModel
      Parameters:
      descriptionMap - the locales and localized descriptions of this calendar booking
    • setDescriptionMap

      public void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
      Sets the localized descriptions of this calendar booking from the map of locales and localized descriptions, and sets the default locale.
      Specified by:
      setDescriptionMap in interface CalendarBookingModel
      Parameters:
      descriptionMap - the locales and localized descriptions of this calendar booking
      defaultLocale - the default locale
    • setEndTime

      public void setEndTime(long endTime)
      Sets the end time of this calendar booking.
      Specified by:
      setEndTime in interface CalendarBookingModel
      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:
      setFirstReminder in interface CalendarBookingModel
      Parameters:
      firstReminder - the first reminder of this calendar booking
    • setFirstReminderType

      public void setFirstReminderType(String firstReminderType)
      Sets the first reminder type of this calendar booking.
      Specified by:
      setFirstReminderType in interface CalendarBookingModel
      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:
      setGroupId in interface CalendarBookingModel
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this calendar booking
    • setInstanceIndex

      public void setInstanceIndex(int instanceIndex)
      Specified by:
      setInstanceIndex in interface CalendarBooking
    • setLastPublishDate

      public void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this calendar booking.
      Specified by:
      setLastPublishDate in interface CalendarBookingModel
      Specified by:
      setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Parameters:
      lastPublishDate - the last publish date of this calendar booking
    • setLocation

      public void setLocation(String location)
      Sets the location of this calendar booking.
      Specified by:
      setLocation in interface CalendarBookingModel
      Parameters:
      location - the location of this calendar booking
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this calendar booking.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface CalendarBookingModel
      Specified by:
      setModifiedDate in interface com.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:
      setMvccVersion in interface CalendarBookingModel
      Specified by:
      setMvccVersion in interface com.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:
      setParentCalendarBookingId in interface CalendarBookingModel
      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:
      setPrimaryKey in interface CalendarBookingModel
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>
      Parameters:
      primaryKey - the primary key of this calendar booking
    • setRecurrence

      public void setRecurrence(String recurrence)
      Sets the recurrence of this calendar booking.
      Specified by:
      setRecurrence in interface CalendarBookingModel
      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:
      setRecurringCalendarBookingId in interface CalendarBookingModel
      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:
      setSecondReminder in interface CalendarBookingModel
      Parameters:
      secondReminder - the second reminder of this calendar booking
    • setSecondReminderType

      public void setSecondReminderType(String secondReminderType)
      Sets the second reminder type of this calendar booking.
      Specified by:
      setSecondReminderType in interface CalendarBookingModel
      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:
      setStartTime in interface CalendarBookingModel
      Parameters:
      startTime - the start time of this calendar booking
    • setStatus

      public void setStatus(int status)
      Sets the status of this calendar booking.
      Specified by:
      setStatus in interface CalendarBookingModel
      Specified by:
      setStatus in interface com.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:
      setStatusByUserId in interface CalendarBookingModel
      Specified by:
      setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserId - the status by user ID of this calendar booking
    • setStatusByUserName

      public void setStatusByUserName(String statusByUserName)
      Sets the status by user name of this calendar booking.
      Specified by:
      setStatusByUserName in interface CalendarBookingModel
      Specified by:
      setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserName - the status by user name of this calendar booking
    • setStatusByUserUuid

      public void setStatusByUserUuid(String statusByUserUuid)
      Sets the status by user uuid of this calendar booking.
      Specified by:
      setStatusByUserUuid in interface CalendarBookingModel
      Specified by:
      setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserUuid - the status by user uuid of this calendar booking
    • setStatusDate

      public void setStatusDate(Date statusDate)
      Sets the status date of this calendar booking.
      Specified by:
      setStatusDate in interface CalendarBookingModel
      Specified by:
      setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusDate - the status date of this calendar booking
    • setTitle

      public void setTitle(String title)
      Sets the title of this calendar booking.
      Specified by:
      setTitle in interface CalendarBookingModel
      Parameters:
      title - the title of this calendar booking
    • setTitle

      public void setTitle(String title, Locale locale)
      Sets the localized title of this calendar booking in the language.
      Specified by:
      setTitle in interface CalendarBookingModel
      Parameters:
      title - the localized title of this calendar booking
      locale - the locale of the language
    • setTitle

      public void setTitle(String title, Locale locale, Locale defaultLocale)
      Sets the localized title of this calendar booking in the language, and sets the default locale.
      Specified by:
      setTitle in interface CalendarBookingModel
      Parameters:
      title - the localized title of this calendar booking
      locale - the locale of the language
      defaultLocale - the default locale
    • setTitleCurrentLanguageId

      public void setTitleCurrentLanguageId(String languageId)
      Specified by:
      setTitleCurrentLanguageId in interface CalendarBookingModel
    • setTitleMap

      public void setTitleMap(Map<Locale,String> titleMap)
      Sets the localized titles of this calendar booking from the map of locales and localized titles.
      Specified by:
      setTitleMap in interface CalendarBookingModel
      Parameters:
      titleMap - the locales and localized titles of this calendar booking
    • setTitleMap

      public void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
      Sets the localized titles of this calendar booking from the map of locales and localized titles, and sets the default locale.
      Specified by:
      setTitleMap in interface CalendarBookingModel
      Parameters:
      titleMap - the locales and localized titles of this calendar booking
      defaultLocale - the default locale
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this calendar booking.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface CalendarBookingModel
      Parameters:
      userId - the user ID of this calendar booking
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this calendar booking.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface CalendarBookingModel
      Parameters:
      userName - the user name of this calendar booking
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this calendar booking.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface CalendarBookingModel
      Parameters:
      userUuid - the user uuid of this calendar booking
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this calendar booking.
      Specified by:
      setUuid in interface CalendarBookingModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this calendar booking
    • setVEventUid

      public void setVEventUid(String vEventUid)
      Sets the v event uid of this calendar booking.
      Specified by:
      setVEventUid in interface CalendarBookingModel
      Parameters:
      vEventUid - the v event uid of this calendar booking
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface CalendarBookingModel
    • getAttributeGetterFunctions

      public Map<String,Function<CalendarBooking,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<CalendarBooking,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected CalendarBookingWrapper wrap(CalendarBooking calendarBooking)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CalendarBooking>