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
model
Fields inherited from interface com.liferay.calendar.model.CalendarBooking
CALENDAR_BOOKING_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the all day of this calendar booking.String[]
long
Returns the calendar booking ID of this calendar booking.long
Returns the calendar ID of this calendar booking.long
Returns the calendar resource ID of this calendar booking.long
Returns the company ID of this calendar booking.Returns the create date of this calendar booking.long
Returns the ct collection ID of this calendar booking.Returns the description of this calendar booking.getDescription
(String languageId) Returns the localized description of this calendar booking in the language.getDescription
(String languageId, boolean useDefault) Returns the localized description of this calendar booking in the language, optionally using the default language if no localization exists for the requested language.getDescription
(Locale locale) Returns the localized description of this calendar booking in the language.getDescription
(Locale locale, boolean useDefault) Returns the localized description of this calendar booking in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized descriptions of this calendar booking.long
long
Returns the end time of this calendar booking.long
Returns the first reminder of this calendar booking.Returns the first reminder type of this calendar booking.long
Returns the group ID of this calendar booking.int
Returns the last publish date of this calendar booking.Returns the location of this calendar booking.Returns the modified date of this calendar booking.long
Returns the mvcc version of this calendar booking.long
Returns the parent calendar booking ID of this calendar booking.long
Returns the primary key of this calendar booking.Returns the recurrence of this calendar booking.long
Returns the recurring calendar booking ID of this calendar booking.long
Returns the second reminder of this calendar booking.Returns the second reminder type of this calendar booking.com.liferay.exportimport.kernel.lar.StagedModelType
long
Returns the start time of this calendar booking.int
Returns the status of this calendar booking.long
Returns the status by user ID of this calendar booking.Returns the status by user name of this calendar booking.Returns the status by user uuid of this calendar booking.Returns the status date of this calendar booking.getTitle()
Returns the title of this calendar booking.Returns the localized title of this calendar booking in the language.Returns the localized title of this calendar booking in the language, optionally using the default language if no localization exists for the requested language.Returns the localized title of this calendar booking in the language.Returns the localized title of this calendar booking in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized titles of this calendar booking.long
Returns the class primary key of the trash entry for this calendar booking.long
Returns the user ID of this calendar booking.Returns the user name of this calendar booking.Returns the user uuid of this calendar booking.getUuid()
Returns the uuid of this calendar booking.Returns the v event uid of this calendar booking.boolean
isAllDay()
Returnstrue
if this calendar booking is all day.boolean
Returnstrue
if this calendar booking is approved.boolean
isDenied()
Returnstrue
if this calendar booking is denied.boolean
isDraft()
Returnstrue
if this calendar booking is a draft.boolean
Returnstrue
if this calendar booking is expired.boolean
Returnstrue
if this calendar booking is inactive.boolean
Returnstrue
if this calendar booking is incomplete.boolean
Returnstrue
if this calendar booking is in the Recycle Bin.boolean
boolean
boolean
Returnstrue
if this calendar booking is pending.boolean
boolean
Returnstrue
if this calendar booking is scheduled.void
persist()
void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setAllDay
(boolean allDay) Sets whether this calendar booking is all day.void
setCalendarBookingId
(long calendarBookingId) Sets the calendar booking ID of this calendar booking.void
setCalendarId
(long calendarId) Sets the calendar ID of this calendar booking.void
setCalendarResourceId
(long calendarResourceId) Sets the calendar resource ID of this calendar booking.void
setCompanyId
(long companyId) Sets the company ID of this calendar booking.void
setCreateDate
(Date createDate) Sets the create date of this calendar booking.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this calendar booking.void
setDescription
(String description) Sets the description of this calendar booking.void
setDescription
(String description, Locale locale) Sets the localized description of this calendar booking in the language.void
setDescription
(String description, Locale locale, Locale defaultLocale) Sets the localized description of this calendar booking in the language, and sets the default locale.void
setDescriptionCurrentLanguageId
(String languageId) void
setDescriptionMap
(Map<Locale, String> descriptionMap) Sets the localized descriptions of this calendar booking from the map of locales and localized descriptions.void
setDescriptionMap
(Map<Locale, String> descriptionMap, Locale defaultLocale) Sets the localized descriptions of this calendar booking from the map of locales and localized descriptions, and sets the default locale.void
setEndTime
(long endTime) Sets the end time of this calendar booking.void
setFirstReminder
(long firstReminder) Sets the first reminder of this calendar booking.void
setFirstReminderType
(String firstReminderType) Sets the first reminder type of this calendar booking.void
setGroupId
(long groupId) Sets the group ID of this calendar booking.void
setInstanceIndex
(int instanceIndex) void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this calendar booking.void
setLocation
(String location) Sets the location of this calendar booking.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this calendar booking.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this calendar booking.void
setParentCalendarBookingId
(long parentCalendarBookingId) Sets the parent calendar booking ID of this calendar booking.void
setPrimaryKey
(long primaryKey) Sets the primary key of this calendar booking.void
setRecurrence
(String recurrence) Sets the recurrence of this calendar booking.void
setRecurringCalendarBookingId
(long recurringCalendarBookingId) Sets the recurring calendar booking ID of this calendar booking.void
setSecondReminder
(long secondReminder) Sets the second reminder of this calendar booking.void
setSecondReminderType
(String secondReminderType) Sets the second reminder type of this calendar booking.void
setStartTime
(long startTime) Sets the start time of this calendar booking.void
setStatus
(int status) Sets the status of this calendar booking.void
setStatusByUserId
(long statusByUserId) Sets the status by user ID of this calendar booking.void
setStatusByUserName
(String statusByUserName) Sets the status by user name of this calendar booking.void
setStatusByUserUuid
(String statusByUserUuid) Sets the status by user uuid of this calendar booking.void
setStatusDate
(Date statusDate) Sets the status date of this calendar booking.void
Sets the title of this calendar booking.void
Sets the localized title of this calendar booking in the language.void
Sets the localized title of this calendar booking in the language, and sets the default locale.void
setTitleCurrentLanguageId
(String languageId) void
setTitleMap
(Map<Locale, String> titleMap) Sets the localized titles of this calendar booking from the map of locales and localized titles.void
setTitleMap
(Map<Locale, String> titleMap, Locale defaultLocale) Sets the localized titles of this calendar booking from the map of locales and localized titles, and sets the default locale.void
setUserId
(long userId) Sets the user ID of this calendar booking.void
setUserName
(String userName) Sets the user name of this calendar booking.void
setUserUuid
(String userUuid) Sets the user uuid of this calendar booking.void
Sets the uuid of this calendar booking.void
setVEventUid
(String vEventUid) Sets the v event uid of this calendar booking.protected CalendarBookingWrapper
wrap
(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, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CalendarBookingWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CalendarBooking>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CalendarBooking>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CalendarBooking>
- Specified by:
cloneWithOriginalValues
in interfaceCalendarBookingModel
-
getAllDay
public boolean getAllDay()Returns the all day of this calendar booking.- Specified by:
getAllDay
in interfaceCalendarBookingModel
- Returns:
- the all day of this calendar booking
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfaceCalendarBookingModel
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getCalendar
- Specified by:
getCalendar
in interfaceCalendarBooking
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCalendarBookingId
public long getCalendarBookingId()Returns the calendar booking ID of this calendar booking.- Specified by:
getCalendarBookingId
in interfaceCalendarBookingModel
- 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 interfaceCalendarBookingModel
- Returns:
- the calendar ID of this calendar booking
-
getCalendarResource
public CalendarResource getCalendarResource() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getCalendarResource
in interfaceCalendarBooking
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCalendarResourceId
public long getCalendarResourceId()Returns the calendar resource ID of this calendar booking.- Specified by:
getCalendarResourceId
in interfaceCalendarBookingModel
- Returns:
- the calendar resource ID of this calendar booking
-
getChildCalendarBookings
- Specified by:
getChildCalendarBookings
in interfaceCalendarBooking
-
getCompanyId
public long getCompanyId()Returns the company ID of this calendar booking.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCalendarBookingModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this calendar booking
-
getCreateDate
Returns the create date of this calendar booking.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCalendarBookingModel
- Specified by:
getCreateDate
in 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:
getCtCollectionId
in interfaceCalendarBookingModel
- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CalendarBooking>
- Returns:
- the ct collection ID of this calendar booking
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfaceCalendarBookingModel
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDescription
Returns the description of this calendar booking.- Specified by:
getDescription
in 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:
getDescription
in 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:
getDescription
in 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
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getDescription
Returns the localized description of this calendar booking in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getDescription
in 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:
getDescription
in 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:
getDescriptionCurrentLanguageId
in interfaceCalendarBookingModel
-
getDescriptionCurrentValue
- Specified by:
getDescriptionCurrentValue
in interfaceCalendarBookingModel
-
getDescriptionMap
Returns a map of the locales and localized descriptions of this calendar booking.- Specified by:
getDescriptionMap
in interfaceCalendarBookingModel
- Returns:
- the locales and localized descriptions of this calendar booking
-
getDuration
public long getDuration()- Specified by:
getDuration
in interfaceCalendarBooking
-
getEndTime
public long getEndTime()Returns the end time of this calendar booking.- Specified by:
getEndTime
in interfaceCalendarBookingModel
- Returns:
- the end time of this calendar booking
-
getFirstReminder
public long getFirstReminder()Returns the first reminder of this calendar booking.- Specified by:
getFirstReminder
in interfaceCalendarBookingModel
- Returns:
- the first reminder of this calendar booking
-
getFirstReminderNotificationType
- Specified by:
getFirstReminderNotificationType
in interfaceCalendarBooking
-
getFirstReminderType
Returns the first reminder type of this calendar booking.- Specified by:
getFirstReminderType
in interfaceCalendarBookingModel
- 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 interfaceCalendarBookingModel
- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this calendar booking
-
getInstanceIndex
public int getInstanceIndex()- Specified by:
getInstanceIndex
in interfaceCalendarBooking
-
getLastPublishDate
Returns the last publish date of this calendar booking.- Specified by:
getLastPublishDate
in interfaceCalendarBookingModel
- Specified by:
getLastPublishDate
in 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:
getLocation
in interfaceCalendarBookingModel
- Returns:
- the location of this calendar booking
-
getModifiedDate
Returns the modified date of this calendar booking.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCalendarBookingModel
- Specified by:
getModifiedDate
in 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:
getMvccVersion
in interfaceCalendarBookingModel
- Specified by:
getMvccVersion
in 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:
getParentCalendarBooking
in interfaceCalendarBooking
- 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 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:
getPrimaryKey
in interfaceCalendarBookingModel
- Specified by:
getPrimaryKey
in 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:
getRecurrence
in interfaceCalendarBookingModel
- Returns:
- the recurrence of this calendar booking
-
getRecurrenceObj
- Specified by:
getRecurrenceObj
in interfaceCalendarBooking
-
getRecurringCalendarBookingId
public long getRecurringCalendarBookingId()Returns the recurring calendar booking ID of this calendar booking.- Specified by:
getRecurringCalendarBookingId
in 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:
getSecondReminder
in interfaceCalendarBookingModel
- Returns:
- the second reminder of this calendar booking
-
getSecondReminderNotificationType
- Specified by:
getSecondReminderNotificationType
in interfaceCalendarBooking
-
getSecondReminderType
Returns the second reminder type of this calendar booking.- Specified by:
getSecondReminderType
in interfaceCalendarBookingModel
- 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 interfaceCalendarBookingModel
- Returns:
- the start time of this calendar booking
-
getStatus
public int getStatus()Returns the status of this calendar booking.- Specified by:
getStatus
in interfaceCalendarBookingModel
- Specified by:
getStatus
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Specified by:
getStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status of this calendar booking
-
getStatusByUserId
public long getStatusByUserId()Returns the status by user ID of this calendar booking.- Specified by:
getStatusByUserId
in interfaceCalendarBookingModel
- Specified by:
getStatusByUserId
in 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:
getStatusByUserName
in interfaceCalendarBookingModel
- Specified by:
getStatusByUserName
in 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:
getStatusByUserUuid
in interfaceCalendarBookingModel
- Specified by:
getStatusByUserUuid
in 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:
getStatusDate
in interfaceCalendarBookingModel
- Specified by:
getStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status date of this calendar booking
-
getTimeZone
- Specified by:
getTimeZone
in interfaceCalendarBooking
-
getTitle
Returns the title of this calendar booking.- Specified by:
getTitle
in 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:
getTitle
in 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:
getTitle
in 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
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getTitle
Returns the localized title of this calendar booking in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getTitle
in 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:
getTitle
in 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:
getTitleCurrentLanguageId
in interfaceCalendarBookingModel
-
getTitleCurrentValue
- Specified by:
getTitleCurrentValue
in interfaceCalendarBookingModel
-
getTitleMap
Returns a map of the locales and localized titles of this calendar booking.- Specified by:
getTitleMap
in 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:
getTrashEntryClassPK
in interfaceCalendarBookingModel
- Specified by:
getTrashEntryClassPK
in 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:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCalendarBookingModel
- Returns:
- the user ID of this calendar booking
-
getUserName
Returns the user name of this calendar booking.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCalendarBookingModel
- Returns:
- the user name of this calendar booking
-
getUserUuid
Returns the user uuid of this calendar booking.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCalendarBookingModel
- Returns:
- the user uuid of this calendar booking
-
getUuid
Returns the uuid of this calendar booking.- Specified by:
getUuid
in interfaceCalendarBookingModel
- Specified by:
getUuid
in 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:
getVEventUid
in interfaceCalendarBookingModel
- Returns:
- the v event uid of this calendar booking
-
isAllDay
public boolean isAllDay()Returnstrue
if this calendar booking is all day.- Specified by:
isAllDay
in interfaceCalendarBookingModel
- Returns:
true
if this calendar booking is all day;false
otherwise
-
isApproved
public boolean isApproved()Returnstrue
if this calendar booking is approved.- Specified by:
isApproved
in interfaceCalendarBookingModel
- Specified by:
isApproved
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this calendar booking is approved;false
otherwise
-
isDenied
public boolean isDenied()Returnstrue
if this calendar booking is denied.- Specified by:
isDenied
in interfaceCalendarBookingModel
- Specified by:
isDenied
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this calendar booking is denied;false
otherwise
-
isDraft
public boolean isDraft()Returnstrue
if this calendar booking is a draft.- Specified by:
isDraft
in interfaceCalendarBookingModel
- Specified by:
isDraft
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this calendar booking is a draft;false
otherwise
-
isExpired
public boolean isExpired()Returnstrue
if this calendar booking is expired.- Specified by:
isExpired
in interfaceCalendarBookingModel
- Specified by:
isExpired
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this calendar booking is expired;false
otherwise
-
isInactive
public boolean isInactive()Returnstrue
if this calendar booking is inactive.- Specified by:
isInactive
in interfaceCalendarBookingModel
- Specified by:
isInactive
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this calendar booking is inactive;false
otherwise
-
isIncomplete
public boolean isIncomplete()Returnstrue
if this calendar booking is incomplete.- Specified by:
isIncomplete
in interfaceCalendarBookingModel
- Specified by:
isIncomplete
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this calendar booking is incomplete;false
otherwise
-
isInTrash
public boolean isInTrash()Returnstrue
if this calendar booking is in the Recycle Bin.- Specified by:
isInTrash
in interfaceCalendarBookingModel
- Specified by:
isInTrash
in interfacecom.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 interfaceCalendarBooking
-
isMasterRecurringBooking
public boolean isMasterRecurringBooking()- Specified by:
isMasterRecurringBooking
in interfaceCalendarBooking
-
isPending
public boolean isPending()Returnstrue
if this calendar booking is pending.- Specified by:
isPending
in interfaceCalendarBookingModel
- Specified by:
isPending
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this calendar booking is pending;false
otherwise
-
isRecurring
public boolean isRecurring()- Specified by:
isRecurring
in interfaceCalendarBooking
-
isScheduled
public boolean isScheduled()Returnstrue
if this calendar booking is scheduled.- Specified by:
isScheduled
in interfaceCalendarBookingModel
- Specified by:
isScheduled
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this calendar booking is scheduled;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfaceCalendarBookingModel
- Specified by:
prepareLocalizedFieldsForImport
in 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:
prepareLocalizedFieldsForImport
in interfaceCalendarBookingModel
- Specified by:
prepareLocalizedFieldsForImport
in 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:
setAllDay
in 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:
setCalendarBookingId
in 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:
setCalendarId
in 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:
setCalendarResourceId
in 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:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCalendarBookingModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this calendar booking
-
setCreateDate
Sets the create date of this calendar booking.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCalendarBookingModel
- Specified by:
setCreateDate
in 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:
setCtCollectionId
in interfaceCalendarBookingModel
- Specified by:
setCtCollectionId
in 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:
setDescription
in interfaceCalendarBookingModel
- Parameters:
description
- the description of this calendar booking
-
setDescription
Sets the localized description of this calendar booking in the language.- Specified by:
setDescription
in 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:
setDescription
in interfaceCalendarBookingModel
- Parameters:
description
- the localized description of this calendar bookinglocale
- the locale of the languagedefaultLocale
- the default locale
-
setDescriptionCurrentLanguageId
- Specified by:
setDescriptionCurrentLanguageId
in interfaceCalendarBookingModel
-
setDescriptionMap
Sets the localized descriptions of this calendar booking from the map of locales and localized descriptions.- Specified by:
setDescriptionMap
in 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:
setDescriptionMap
in 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:
setEndTime
in 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:
setFirstReminder
in interfaceCalendarBookingModel
- Parameters:
firstReminder
- the first reminder of this calendar booking
-
setFirstReminderType
Sets the first reminder type of this calendar booking.- Specified by:
setFirstReminderType
in 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:
setGroupId
in interfaceCalendarBookingModel
- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this calendar booking
-
setInstanceIndex
public void setInstanceIndex(int instanceIndex) - Specified by:
setInstanceIndex
in interfaceCalendarBooking
-
setLastPublishDate
Sets the last publish date of this calendar booking.- Specified by:
setLastPublishDate
in interfaceCalendarBookingModel
- Specified by:
setLastPublishDate
in 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:
setLocation
in interfaceCalendarBookingModel
- Parameters:
location
- the location of this calendar booking
-
setModifiedDate
Sets the modified date of this calendar booking.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCalendarBookingModel
- Specified by:
setModifiedDate
in 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:
setMvccVersion
in interfaceCalendarBookingModel
- Specified by:
setMvccVersion
in 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:
setParentCalendarBookingId
in 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:
setPrimaryKey
in interfaceCalendarBookingModel
- Specified by:
setPrimaryKey
in 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:
setRecurrence
in 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:
setRecurringCalendarBookingId
in 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:
setSecondReminder
in interfaceCalendarBookingModel
- Parameters:
secondReminder
- the second reminder of this calendar booking
-
setSecondReminderType
Sets the second reminder type of this calendar booking.- Specified by:
setSecondReminderType
in 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:
setStartTime
in 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:
setStatus
in interfaceCalendarBookingModel
- Specified by:
setStatus
in 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:
setStatusByUserId
in interfaceCalendarBookingModel
- Specified by:
setStatusByUserId
in 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:
setStatusByUserName
in interfaceCalendarBookingModel
- Specified by:
setStatusByUserName
in 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:
setStatusByUserUuid
in interfaceCalendarBookingModel
- Specified by:
setStatusByUserUuid
in 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:
setStatusDate
in interfaceCalendarBookingModel
- Specified by:
setStatusDate
in 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:
setTitle
in interfaceCalendarBookingModel
- Parameters:
title
- the title of this calendar booking
-
setTitle
Sets the localized title of this calendar booking in the language.- Specified by:
setTitle
in 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:
setTitle
in interfaceCalendarBookingModel
- Parameters:
title
- the localized title of this calendar bookinglocale
- the locale of the languagedefaultLocale
- the default locale
-
setTitleCurrentLanguageId
- Specified by:
setTitleCurrentLanguageId
in interfaceCalendarBookingModel
-
setTitleMap
Sets the localized titles of this calendar booking from the map of locales and localized titles.- Specified by:
setTitleMap
in 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:
setTitleMap
in 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:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCalendarBookingModel
- Parameters:
userId
- the user ID of this calendar booking
-
setUserName
Sets the user name of this calendar booking.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCalendarBookingModel
- Parameters:
userName
- the user name of this calendar booking
-
setUserUuid
Sets the user uuid of this calendar booking.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCalendarBookingModel
- Parameters:
userUuid
- the user uuid of this calendar booking
-
setUuid
Sets the uuid of this calendar booking.- Specified by:
setUuid
in interfaceCalendarBookingModel
- Specified by:
setUuid
in 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:
setVEventUid
in interfaceCalendarBookingModel
- Parameters:
vEventUid
- the v event uid of this calendar booking
-
toXmlString
- Specified by:
toXmlString
in interfaceCalendarBookingModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<CalendarBooking>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<CalendarBooking>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CalendarBooking>
-