@JSON(strict=true) @ProviderType public class CalendarBookingModelImpl extends com.liferay.portal.kernel.model.impl.BaseModelImpl<CalendarBooking> implements CalendarBookingModel
This implementation and its corresponding interface CalendarBookingModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in CalendarBookingImpl
.
CalendarBookingImpl
,
CalendarBooking
,
CalendarBookingModel
,
Serialized FormModifier and Type | Field and Description |
---|---|
static long |
CALENDARID_COLUMN_BITMASK |
static long |
CALENDARRESOURCEID_COLUMN_BITMASK |
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_COLUMN_BITMASK |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
GROUPID_COLUMN_BITMASK |
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static long |
PARENTCALENDARBOOKINGID_COLUMN_BITMASK |
static long |
RESOURCEBLOCKID_COLUMN_BITMASK |
static java.lang.String |
SESSION_FACTORY |
static long |
STARTTIME_COLUMN_BITMASK |
static long |
STATUS_COLUMN_BITMASK |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static long |
TITLE_COLUMN_BITMASK |
static java.lang.String |
TX_MANAGER |
static long |
UUID_COLUMN_BITMASK |
static long |
VEVENTUID_COLUMN_BITMASK |
Constructor and Description |
---|
CalendarBookingModelImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(CalendarBooking calendarBooking) |
boolean |
equals(java.lang.Object obj) |
boolean |
getAllDay()
Returns the all day of this calendar booking.
|
java.lang.String[] |
getAvailableLanguageIds() |
long |
getCalendarBookingId()
Returns the calendar booking ID of this calendar booking.
|
long |
getCalendarId()
Returns the calendar ID of this calendar booking.
|
long |
getCalendarResourceId()
Returns the calendar resource ID of this calendar booking.
|
long |
getColumnBitmask() |
long |
getCompanyId()
Returns the company ID of this calendar booking.
|
java.util.Date |
getCreateDate()
Returns the create date of this calendar booking.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this calendar booking.
|
java.lang.String |
getDescription(java.util.Locale locale)
Returns the localized description of this calendar booking in the language.
|
java.lang.String |
getDescription(java.util.Locale locale,
boolean useDefault)
Returns the localized description of this calendar booking in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getDescription(java.lang.String languageId)
Returns the localized description of this calendar booking in the language.
|
java.lang.String |
getDescription(java.lang.String languageId,
boolean useDefault)
Returns the localized description of this calendar booking in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getDescriptionCurrentLanguageId() |
java.lang.String |
getDescriptionCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this calendar booking.
|
long |
getEndTime()
Returns the end time of this calendar booking.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getFirstReminder()
Returns the first reminder of this calendar booking.
|
java.lang.String |
getFirstReminderType()
Returns the first reminder type of this calendar booking.
|
long |
getGroupId()
Returns the group ID of this calendar booking.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this calendar booking.
|
java.lang.String |
getLocation()
Returns the location of this calendar booking.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this calendar booking.
|
long |
getOriginalCalendarId() |
long |
getOriginalCalendarResourceId() |
long |
getOriginalCompanyId() |
long |
getOriginalGroupId() |
long |
getOriginalParentCalendarBookingId() |
long |
getOriginalResourceBlockId() |
int |
getOriginalStatus() |
java.lang.String |
getOriginalUuid() |
java.lang.String |
getOriginalVEventUid() |
long |
getParentCalendarBookingId()
Returns the parent calendar booking ID of this calendar booking.
|
long |
getPrimaryKey()
Returns the primary key of this calendar booking.
|
java.io.Serializable |
getPrimaryKeyObj() |
java.lang.String |
getRecurrence()
Returns the recurrence of this calendar booking.
|
long |
getResourceBlockId()
Returns the resource block ID of this calendar booking.
|
long |
getSecondReminder()
Returns the second reminder of this calendar booking.
|
java.lang.String |
getSecondReminderType()
Returns the second reminder type of this calendar booking.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getStartTime()
Returns the start time of this calendar booking.
|
int |
getStatus()
Returns the status of this calendar booking.
|
long |
getStatusByUserId()
Returns the status by user ID of this calendar booking.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this calendar booking.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this calendar booking.
|
java.util.Date |
getStatusDate()
Returns the status date of this calendar booking.
|
java.lang.String |
getTitle()
Returns the title of this calendar booking.
|
java.lang.String |
getTitle(java.util.Locale locale)
Returns the localized title of this calendar booking in the language.
|
java.lang.String |
getTitle(java.util.Locale locale,
boolean useDefault)
Returns the localized title of this calendar booking in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getTitle(java.lang.String languageId)
Returns the localized title of this calendar booking in the language.
|
java.lang.String |
getTitle(java.lang.String languageId,
boolean useDefault)
Returns the localized title of this calendar booking in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getTitleCurrentLanguageId() |
java.lang.String |
getTitleCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getTitleMap()
Returns a map of the locales and localized titles of this calendar booking.
|
com.liferay.trash.kernel.model.TrashEntry |
getTrashEntry()
Returns the trash entry created when this calendar booking was moved to the Recycle Bin.
|
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this calendar booking.
|
com.liferay.portal.kernel.trash.TrashHandler |
getTrashHandler()
Deprecated.
As of 7.0.0, with no direct replacement
|
long |
getUserId()
Returns the user ID of this calendar booking.
|
java.lang.String |
getUserName()
Returns the user name of this calendar booking.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this calendar booking.
|
java.lang.String |
getUuid()
Returns the uuid of this calendar booking.
|
java.lang.String |
getVEventUid()
Returns the v event uid of this calendar booking.
|
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isAllDay()
Returns
true if this calendar booking is all day. |
boolean |
isApproved()
Returns
true if this calendar booking is approved. |
boolean |
isDenied()
Returns
true if this calendar booking is denied. |
boolean |
isDraft()
Returns
true if this calendar booking is a draft. |
boolean |
isEntityCacheEnabled() |
boolean |
isExpired()
Returns
true if this calendar booking is expired. |
boolean |
isFinderCacheEnabled() |
boolean |
isInactive()
Returns
true if this calendar booking is inactive. |
boolean |
isIncomplete()
Returns
true if this calendar booking is incomplete. |
boolean |
isInTrash()
Returns
true if this calendar booking is in the Recycle Bin. |
boolean |
isInTrashContainer()
Returns
true if the parent of this calendar booking is in the Recycle Bin. |
boolean |
isInTrashExplicitly() |
boolean |
isInTrashImplicitly() |
boolean |
isPending()
Returns
true if this calendar booking is pending. |
boolean |
isScheduled()
Returns
true if this calendar booking is scheduled. |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
resetOriginalValues() |
void |
setAllDay(boolean allDay)
Sets whether this calendar booking is all day.
|
void |
setCalendarBookingId(long calendarBookingId)
Sets the calendar booking ID of this calendar booking.
|
void |
setCalendarId(long calendarId)
Sets the calendar ID of this calendar booking.
|
void |
setCalendarResourceId(long calendarResourceId)
Sets the calendar resource ID of this calendar booking.
|
void |
setCompanyId(long companyId)
Sets the company ID of this calendar booking.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this calendar booking.
|
void |
setDescription(java.lang.String description)
Sets the description of this calendar booking.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale)
Sets the localized description of this calendar booking in the language.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized description of this calendar booking in the language, and sets the default locale.
|
void |
setDescriptionCurrentLanguageId(java.lang.String languageId) |
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
Sets the localized descriptions of this calendar booking from the map of locales and localized descriptions.
|
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
Sets the localized descriptions of this calendar booking from the map of locales and localized descriptions, and sets the default locale.
|
void |
setEndTime(long endTime)
Sets the end time of this calendar booking.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setFirstReminder(long firstReminder)
Sets the first reminder of this calendar booking.
|
void |
setFirstReminderType(java.lang.String firstReminderType)
Sets the first reminder type of this calendar booking.
|
void |
setGroupId(long groupId)
Sets the group ID of this calendar booking.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this calendar booking.
|
void |
setLocation(java.lang.String location)
Sets the location of this calendar booking.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this calendar booking.
|
void |
setParentCalendarBookingId(long parentCalendarBookingId)
Sets the parent calendar booking ID of this calendar booking.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this calendar booking.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setRecurrence(java.lang.String recurrence)
Sets the recurrence of this calendar booking.
|
void |
setResourceBlockId(long resourceBlockId)
Sets the resource block ID of this calendar booking.
|
void |
setSecondReminder(long secondReminder)
Sets the second reminder of this calendar booking.
|
void |
setSecondReminderType(java.lang.String secondReminderType)
Sets the second reminder type of this calendar booking.
|
void |
setStartTime(long startTime)
Sets the start time of this calendar booking.
|
void |
setStatus(int status)
Sets the status of this calendar booking.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this calendar booking.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this calendar booking.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this calendar booking.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this calendar booking.
|
void |
setTitle(java.lang.String title)
Sets the title of this calendar booking.
|
void |
setTitle(java.lang.String title,
java.util.Locale locale)
Sets the localized title of this calendar booking in the language.
|
void |
setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized title of this calendar booking in the language, and sets the default locale.
|
void |
setTitleCurrentLanguageId(java.lang.String languageId) |
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
Sets the localized titles of this calendar booking from the map of locales and localized titles.
|
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Locale defaultLocale)
Sets the localized titles of this calendar booking from the map of locales and localized titles, and sets the default locale.
|
void |
setUserId(long userId)
Sets the user ID of this calendar booking.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this calendar booking.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this calendar booking.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this calendar booking.
|
void |
setVEventUid(java.lang.String vEventUid)
Sets the v event uid of this calendar booking.
|
com.liferay.portal.kernel.model.CacheModel<CalendarBooking> |
toCacheModel() |
CalendarBooking |
toEscapedModel() |
static CalendarBooking |
toModel(CalendarBookingSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<CalendarBooking> |
toModels(CalendarBookingSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
finalize, getClass, notify, notifyAll, wait, wait, wait
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
public static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long CALENDARID_COLUMN_BITMASK
public static final long CALENDARRESOURCEID_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long PARENTCALENDARBOOKINGID_COLUMN_BITMASK
public static final long RESOURCEBLOCKID_COLUMN_BITMASK
public static final long STATUS_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long VEVENTUID_COLUMN_BITMASK
public static final long STARTTIME_COLUMN_BITMASK
public static final long TITLE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static CalendarBooking toModel(CalendarBookingSoap soapModel)
soapModel
- the soap model instance to convertpublic static java.util.List<CalendarBooking> toModels(CalendarBookingSoap[] soapModels)
soapModels
- the soap model instances to convertpublic long getPrimaryKey()
CalendarBookingModel
getPrimaryKey
in interface CalendarBookingModel
public void setPrimaryKey(long primaryKey)
CalendarBookingModel
setPrimaryKey
in interface CalendarBookingModel
primaryKey
- the primary key of this calendar bookingpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface CalendarBookingModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface CalendarBookingModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<CalendarBooking>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<CalendarBooking>
@JSON public java.lang.String getUuid()
CalendarBookingModel
getUuid
in interface CalendarBookingModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public void setUuid(java.lang.String uuid)
CalendarBookingModel
setUuid
in interface CalendarBookingModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this calendar bookingpublic java.lang.String getOriginalUuid()
@JSON public long getCalendarBookingId()
CalendarBookingModel
getCalendarBookingId
in interface CalendarBookingModel
public void setCalendarBookingId(long calendarBookingId)
CalendarBookingModel
setCalendarBookingId
in interface CalendarBookingModel
calendarBookingId
- the calendar booking ID of this calendar booking@JSON public long getGroupId()
CalendarBookingModel
getGroupId
in interface CalendarBookingModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public void setGroupId(long groupId)
CalendarBookingModel
setGroupId
in interface CalendarBookingModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this calendar bookingpublic long getOriginalGroupId()
@JSON public long getCompanyId()
CalendarBookingModel
getCompanyId
in interface CalendarBookingModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public void setCompanyId(long companyId)
CalendarBookingModel
setCompanyId
in interface CalendarBookingModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this calendar bookingpublic long getOriginalCompanyId()
@JSON public long getUserId()
CalendarBookingModel
getUserId
in interface CalendarBookingModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserId(long userId)
CalendarBookingModel
setUserId
in interface CalendarBookingModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this calendar bookingpublic java.lang.String getUserUuid()
CalendarBookingModel
getUserUuid
in interface CalendarBookingModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserUuid(java.lang.String userUuid)
CalendarBookingModel
setUserUuid
in interface CalendarBookingModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this calendar booking@JSON public java.lang.String getUserName()
CalendarBookingModel
getUserName
in interface CalendarBookingModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserName(java.lang.String userName)
CalendarBookingModel
setUserName
in interface CalendarBookingModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this calendar booking@JSON public java.util.Date getCreateDate()
CalendarBookingModel
getCreateDate
in interface CalendarBookingModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public void setCreateDate(java.util.Date createDate)
CalendarBookingModel
setCreateDate
in interface CalendarBookingModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this calendar booking@JSON public java.util.Date getModifiedDate()
CalendarBookingModel
getModifiedDate
in interface CalendarBookingModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
CalendarBookingModel
setModifiedDate
in interface CalendarBookingModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this calendar booking@JSON public long getResourceBlockId()
CalendarBookingModel
getResourceBlockId
in interface CalendarBookingModel
public void setResourceBlockId(long resourceBlockId)
CalendarBookingModel
setResourceBlockId
in interface CalendarBookingModel
resourceBlockId
- the resource block ID of this calendar bookingpublic long getOriginalResourceBlockId()
@JSON public long getCalendarId()
CalendarBookingModel
getCalendarId
in interface CalendarBookingModel
public void setCalendarId(long calendarId)
CalendarBookingModel
setCalendarId
in interface CalendarBookingModel
calendarId
- the calendar ID of this calendar bookingpublic long getOriginalCalendarId()
@JSON public long getCalendarResourceId()
CalendarBookingModel
getCalendarResourceId
in interface CalendarBookingModel
public void setCalendarResourceId(long calendarResourceId)
CalendarBookingModel
setCalendarResourceId
in interface CalendarBookingModel
calendarResourceId
- the calendar resource ID of this calendar bookingpublic long getOriginalCalendarResourceId()
@JSON public long getParentCalendarBookingId()
CalendarBookingModel
getParentCalendarBookingId
in interface CalendarBookingModel
public void setParentCalendarBookingId(long parentCalendarBookingId)
CalendarBookingModel
setParentCalendarBookingId
in interface CalendarBookingModel
parentCalendarBookingId
- the parent calendar booking ID of this calendar bookingpublic long getOriginalParentCalendarBookingId()
@JSON public java.lang.String getVEventUid()
CalendarBookingModel
getVEventUid
in interface CalendarBookingModel
public void setVEventUid(java.lang.String vEventUid)
CalendarBookingModel
setVEventUid
in interface CalendarBookingModel
vEventUid
- the v event uid of this calendar bookingpublic java.lang.String getOriginalVEventUid()
@JSON public java.lang.String getTitle()
CalendarBookingModel
getTitle
in interface CalendarBookingModel
public java.lang.String getTitle(java.util.Locale locale)
CalendarBookingModel
getTitle
in interface CalendarBookingModel
locale
- the locale of the languagepublic java.lang.String getTitle(java.util.Locale locale, boolean useDefault)
CalendarBookingModel
getTitle
in interface CalendarBookingModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public java.lang.String getTitle(java.lang.String languageId)
CalendarBookingModel
getTitle
in interface CalendarBookingModel
languageId
- the ID of the languagepublic java.lang.String getTitle(java.lang.String languageId, boolean useDefault)
CalendarBookingModel
getTitle
in interface CalendarBookingModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic java.lang.String getTitleCurrentLanguageId()
getTitleCurrentLanguageId
in interface CalendarBookingModel
@JSON public java.lang.String getTitleCurrentValue()
getTitleCurrentValue
in interface CalendarBookingModel
public java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
CalendarBookingModel
getTitleMap
in interface CalendarBookingModel
public void setTitle(java.lang.String title)
CalendarBookingModel
setTitle
in interface CalendarBookingModel
title
- the title of this calendar bookingpublic void setTitle(java.lang.String title, java.util.Locale locale)
CalendarBookingModel
setTitle
in interface CalendarBookingModel
title
- the localized title of this calendar bookinglocale
- the locale of the languagepublic void setTitle(java.lang.String title, java.util.Locale locale, java.util.Locale defaultLocale)
CalendarBookingModel
setTitle
in interface CalendarBookingModel
title
- the localized title of this calendar bookinglocale
- the locale of the languagedefaultLocale
- the default localepublic void setTitleCurrentLanguageId(java.lang.String languageId)
setTitleCurrentLanguageId
in interface CalendarBookingModel
public void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
CalendarBookingModel
setTitleMap
in interface CalendarBookingModel
titleMap
- the locales and localized titles of this calendar bookingpublic void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Locale defaultLocale)
CalendarBookingModel
setTitleMap
in interface CalendarBookingModel
titleMap
- the locales and localized titles of this calendar bookingdefaultLocale
- the default locale@JSON public java.lang.String getDescription()
CalendarBookingModel
getDescription
in interface CalendarBookingModel
public java.lang.String getDescription(java.util.Locale locale)
CalendarBookingModel
getDescription
in interface CalendarBookingModel
locale
- the locale of the languagepublic java.lang.String getDescription(java.util.Locale locale, boolean useDefault)
CalendarBookingModel
getDescription
in interface CalendarBookingModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public java.lang.String getDescription(java.lang.String languageId)
CalendarBookingModel
getDescription
in interface CalendarBookingModel
languageId
- the ID of the languagepublic java.lang.String getDescription(java.lang.String languageId, boolean useDefault)
CalendarBookingModel
getDescription
in interface CalendarBookingModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic java.lang.String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId
in interface CalendarBookingModel
@JSON public java.lang.String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface CalendarBookingModel
public java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
CalendarBookingModel
getDescriptionMap
in interface CalendarBookingModel
public void setDescription(java.lang.String description)
CalendarBookingModel
setDescription
in interface CalendarBookingModel
description
- the description of this calendar bookingpublic void setDescription(java.lang.String description, java.util.Locale locale)
CalendarBookingModel
setDescription
in interface CalendarBookingModel
description
- the localized description of this calendar bookinglocale
- the locale of the languagepublic void setDescription(java.lang.String description, java.util.Locale locale, java.util.Locale defaultLocale)
CalendarBookingModel
setDescription
in interface CalendarBookingModel
description
- the localized description of this calendar bookinglocale
- the locale of the languagedefaultLocale
- the default localepublic void setDescriptionCurrentLanguageId(java.lang.String languageId)
setDescriptionCurrentLanguageId
in interface CalendarBookingModel
public void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
CalendarBookingModel
setDescriptionMap
in interface CalendarBookingModel
descriptionMap
- the locales and localized descriptions of this calendar bookingpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.util.Locale defaultLocale)
CalendarBookingModel
setDescriptionMap
in interface CalendarBookingModel
descriptionMap
- the locales and localized descriptions of this calendar bookingdefaultLocale
- the default locale@JSON public java.lang.String getLocation()
CalendarBookingModel
getLocation
in interface CalendarBookingModel
public void setLocation(java.lang.String location)
CalendarBookingModel
setLocation
in interface CalendarBookingModel
location
- the location of this calendar booking@JSON public long getStartTime()
CalendarBookingModel
getStartTime
in interface CalendarBookingModel
public void setStartTime(long startTime)
CalendarBookingModel
setStartTime
in interface CalendarBookingModel
startTime
- the start time of this calendar booking@JSON public long getEndTime()
CalendarBookingModel
getEndTime
in interface CalendarBookingModel
public void setEndTime(long endTime)
CalendarBookingModel
setEndTime
in interface CalendarBookingModel
endTime
- the end time of this calendar booking@JSON public boolean getAllDay()
CalendarBookingModel
getAllDay
in interface CalendarBookingModel
@JSON public boolean isAllDay()
CalendarBookingModel
true
if this calendar booking is all day.isAllDay
in interface CalendarBookingModel
true
if this calendar booking is all day; false
otherwisepublic void setAllDay(boolean allDay)
CalendarBookingModel
setAllDay
in interface CalendarBookingModel
allDay
- the all day of this calendar booking@JSON public java.lang.String getRecurrence()
CalendarBookingModel
getRecurrence
in interface CalendarBookingModel
public void setRecurrence(java.lang.String recurrence)
CalendarBookingModel
setRecurrence
in interface CalendarBookingModel
recurrence
- the recurrence of this calendar booking@JSON public long getFirstReminder()
CalendarBookingModel
getFirstReminder
in interface CalendarBookingModel
public void setFirstReminder(long firstReminder)
CalendarBookingModel
setFirstReminder
in interface CalendarBookingModel
firstReminder
- the first reminder of this calendar booking@JSON public java.lang.String getFirstReminderType()
CalendarBookingModel
getFirstReminderType
in interface CalendarBookingModel
public void setFirstReminderType(java.lang.String firstReminderType)
CalendarBookingModel
setFirstReminderType
in interface CalendarBookingModel
firstReminderType
- the first reminder type of this calendar booking@JSON public long getSecondReminder()
CalendarBookingModel
getSecondReminder
in interface CalendarBookingModel
public void setSecondReminder(long secondReminder)
CalendarBookingModel
setSecondReminder
in interface CalendarBookingModel
secondReminder
- the second reminder of this calendar booking@JSON public java.lang.String getSecondReminderType()
CalendarBookingModel
getSecondReminderType
in interface CalendarBookingModel
public void setSecondReminderType(java.lang.String secondReminderType)
CalendarBookingModel
setSecondReminderType
in interface CalendarBookingModel
secondReminderType
- the second reminder type of this calendar booking@JSON public java.util.Date getLastPublishDate()
CalendarBookingModel
getLastPublishDate
in interface CalendarBookingModel
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public void setLastPublishDate(java.util.Date lastPublishDate)
CalendarBookingModel
setLastPublishDate
in interface CalendarBookingModel
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this calendar booking@JSON public int getStatus()
CalendarBookingModel
getStatus
in interface CalendarBookingModel
getStatus
in interface com.liferay.portal.kernel.model.TrashedModel
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatus(int status)
CalendarBookingModel
setStatus
in interface CalendarBookingModel
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this calendar bookingpublic int getOriginalStatus()
@JSON public long getStatusByUserId()
CalendarBookingModel
getStatusByUserId
in interface CalendarBookingModel
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatusByUserId(long statusByUserId)
CalendarBookingModel
setStatusByUserId
in interface CalendarBookingModel
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this calendar bookingpublic java.lang.String getStatusByUserUuid()
CalendarBookingModel
getStatusByUserUuid
in interface CalendarBookingModel
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatusByUserUuid(java.lang.String statusByUserUuid)
CalendarBookingModel
setStatusByUserUuid
in interface CalendarBookingModel
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this calendar booking@JSON public java.lang.String getStatusByUserName()
CalendarBookingModel
getStatusByUserName
in interface CalendarBookingModel
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatusByUserName(java.lang.String statusByUserName)
CalendarBookingModel
setStatusByUserName
in interface CalendarBookingModel
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this calendar booking@JSON public java.util.Date getStatusDate()
CalendarBookingModel
getStatusDate
in interface CalendarBookingModel
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatusDate(java.util.Date statusDate)
CalendarBookingModel
setStatusDate
in interface CalendarBookingModel
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this calendar bookingpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public com.liferay.trash.kernel.model.TrashEntry getTrashEntry() throws com.liferay.portal.kernel.exception.PortalException
CalendarBookingModel
getTrashEntry
in interface CalendarBookingModel
getTrashEntry
in interface com.liferay.portal.kernel.model.TrashedModel
com.liferay.portal.kernel.exception.PortalException
public long getTrashEntryClassPK()
CalendarBookingModel
getTrashEntryClassPK
in interface CalendarBookingModel
getTrashEntryClassPK
in interface com.liferay.portal.kernel.model.TrashedModel
@Deprecated public com.liferay.portal.kernel.trash.TrashHandler getTrashHandler()
CalendarBookingModel
getTrashHandler
in interface CalendarBookingModel
getTrashHandler
in interface com.liferay.portal.kernel.model.TrashedModel
public boolean isInTrash()
CalendarBookingModel
true
if this calendar booking is in the Recycle Bin.isInTrash
in interface CalendarBookingModel
isInTrash
in interface com.liferay.portal.kernel.model.TrashedModel
true
if this calendar booking is in the Recycle Bin; false
otherwisepublic boolean isInTrashContainer()
CalendarBookingModel
true
if the parent of this calendar booking is in the Recycle Bin.isInTrashContainer
in interface CalendarBookingModel
isInTrashContainer
in interface com.liferay.portal.kernel.model.TrashedModel
true
if the parent of this calendar booking is in the Recycle Bin; false
otherwisepublic boolean isInTrashExplicitly()
isInTrashExplicitly
in interface CalendarBookingModel
isInTrashExplicitly
in interface com.liferay.portal.kernel.model.TrashedModel
public boolean isInTrashImplicitly()
isInTrashImplicitly
in interface CalendarBookingModel
isInTrashImplicitly
in interface com.liferay.portal.kernel.model.TrashedModel
public boolean isApproved()
CalendarBookingModel
true
if this calendar booking is approved.isApproved
in interface CalendarBookingModel
isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this calendar booking is approved; false
otherwisepublic boolean isDenied()
CalendarBookingModel
true
if this calendar booking is denied.isDenied
in interface CalendarBookingModel
isDenied
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this calendar booking is denied; false
otherwisepublic boolean isDraft()
CalendarBookingModel
true
if this calendar booking is a draft.isDraft
in interface CalendarBookingModel
isDraft
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this calendar booking is a draft; false
otherwisepublic boolean isExpired()
CalendarBookingModel
true
if this calendar booking is expired.isExpired
in interface CalendarBookingModel
isExpired
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this calendar booking is expired; false
otherwisepublic boolean isInactive()
CalendarBookingModel
true
if this calendar booking is inactive.isInactive
in interface CalendarBookingModel
isInactive
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this calendar booking is inactive; false
otherwisepublic boolean isIncomplete()
CalendarBookingModel
true
if this calendar booking is incomplete.isIncomplete
in interface CalendarBookingModel
isIncomplete
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this calendar booking is incomplete; false
otherwisepublic boolean isPending()
CalendarBookingModel
true
if this calendar booking is pending.isPending
in interface CalendarBookingModel
isPending
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this calendar booking is pending; false
otherwisepublic boolean isScheduled()
CalendarBookingModel
true
if this calendar booking is scheduled.isScheduled
in interface CalendarBookingModel
isScheduled
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this calendar booking is scheduled; false
otherwisepublic long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface CalendarBookingModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<CalendarBooking>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface CalendarBookingModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<CalendarBooking>
public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface CalendarBookingModel
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
public java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface CalendarBookingModel
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface CalendarBookingModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface CalendarBookingModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public CalendarBooking toEscapedModel()
toEscapedModel
in interface CalendarBookingModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<CalendarBooking>
public java.lang.Object clone()
clone
in interface CalendarBookingModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<CalendarBooking>
public int compareTo(CalendarBooking calendarBooking)
compareTo
in interface CalendarBookingModel
compareTo
in interface java.lang.Comparable<CalendarBooking>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface CalendarBookingModel
hashCode
in class java.lang.Object
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<CalendarBooking>
public com.liferay.portal.kernel.model.CacheModel<CalendarBooking> toCacheModel()
toCacheModel
in interface CalendarBookingModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<CalendarBooking>
public java.lang.String toString()
toString
in interface CalendarBookingModel
toString
in class java.lang.Object
public java.lang.String toXmlString()
toXmlString
in interface CalendarBookingModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<CalendarBooking>