|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CalEventModel
The base model interface for the CalEvent service. Represents a row in the "CalEvent" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation CalEventModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in CalEventImpl
.
CalEvent
,
CalEventImpl
,
CalEventModelImpl
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(CalEvent calEvent)
|
boolean |
getAllDay()
Returns the all day of this cal event. |
long |
getCompanyId()
Returns the company ID of this cal event. |
Date |
getCreateDate()
Returns the create date of this cal event. |
String |
getDescription()
Returns the description of this cal event. |
int |
getDurationHour()
Returns the duration hour of this cal event. |
int |
getDurationMinute()
Returns the duration minute of this cal event. |
Date |
getEndDate()
Returns the end date of this cal event. |
long |
getEventId()
Returns the event ID of this cal event. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
int |
getFirstReminder()
Returns the first reminder of this cal event. |
long |
getGroupId()
Returns the group ID of this cal event. |
String |
getLocation()
Returns the location of this cal event. |
Date |
getModifiedDate()
Returns the modified date of this cal event. |
long |
getPrimaryKey()
Returns the primary key of this cal event. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
String |
getRecurrence()
Returns the recurrence of this cal event. |
int |
getRemindBy()
Returns the remind by of this cal event. |
boolean |
getRepeating()
Returns the repeating of this cal event. |
int |
getSecondReminder()
Returns the second reminder of this cal event. |
Date |
getStartDate()
Returns the start date of this cal event. |
boolean |
getTimeZoneSensitive()
Returns the time zone sensitive of this cal event. |
String |
getTitle()
Returns the title of this cal event. |
String |
getType()
Returns the type of this cal event. |
long |
getUserId()
Returns the user ID of this cal event. |
String |
getUserName()
Returns the user name of this cal event. |
String |
getUserUuid()
Returns the user uuid of this cal event. |
String |
getUuid()
Returns the uuid of this cal event. |
int |
hashCode()
|
boolean |
isAllDay()
Returns true if this cal event is all day. |
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isRepeating()
Returns true if this cal event is repeating. |
boolean |
isTimeZoneSensitive()
Returns true if this cal event is time zone sensitive. |
void |
setAllDay(boolean allDay)
Sets whether this cal event is all day. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCompanyId(long companyId)
Sets the company ID of this cal event. |
void |
setCreateDate(Date createDate)
Sets the create date of this cal event. |
void |
setDescription(String description)
Sets the description of this cal event. |
void |
setDurationHour(int durationHour)
Sets the duration hour of this cal event. |
void |
setDurationMinute(int durationMinute)
Sets the duration minute of this cal event. |
void |
setEndDate(Date endDate)
Sets the end date of this cal event. |
void |
setEventId(long eventId)
Sets the event ID of this cal event. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFirstReminder(int firstReminder)
Sets the first reminder of this cal event. |
void |
setGroupId(long groupId)
Sets the group ID of this cal event. |
void |
setLocation(String location)
Sets the location of this cal event. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this cal event. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this cal event. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRecurrence(String recurrence)
Sets the recurrence of this cal event. |
void |
setRemindBy(int remindBy)
Sets the remind by of this cal event. |
void |
setRepeating(boolean repeating)
Sets whether this cal event is repeating. |
void |
setSecondReminder(int secondReminder)
Sets the second reminder of this cal event. |
void |
setStartDate(Date startDate)
Sets the start date of this cal event. |
void |
setTimeZoneSensitive(boolean timeZoneSensitive)
Sets whether this cal event is time zone sensitive. |
void |
setTitle(String title)
Sets the title of this cal event. |
void |
setType(String type)
Sets the type of this cal event. |
void |
setUserId(long userId)
Sets the user ID of this cal event. |
void |
setUserName(String userName)
Sets the user name of this cal event. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this cal event. |
void |
setUuid(String uuid)
Sets the uuid of this cal event. |
CacheModel<CalEvent> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
CalEvent |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
CalEvent |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from interface com.liferay.portal.model.BaseModel |
---|
getModelAttributes, resetOriginalValues, setModelAttributes |
Methods inherited from interface com.liferay.portal.model.ClassedModel |
---|
getModelClass, getModelClassName |
Method Detail |
---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this cal event@AutoEscape String getUuid()
void setUuid(String uuid)
uuid
- the uuid of this cal eventlong getEventId()
void setEventId(long eventId)
eventId
- the event ID of this cal eventlong getGroupId()
getGroupId
in interface GroupedModel
void setGroupId(long groupId)
setGroupId
in interface GroupedModel
groupId
- the group ID of this cal eventlong getCompanyId()
getCompanyId
in interface AuditedModel
void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
companyId
- the company ID of this cal eventlong getUserId()
getUserId
in interface AuditedModel
void setUserId(long userId)
setUserId
in interface AuditedModel
userId
- the user ID of this cal eventString getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
SystemException
- if a system exception occurredvoid setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this cal event@AutoEscape String getUserName()
getUserName
in interface AuditedModel
void setUserName(String userName)
setUserName
in interface AuditedModel
userName
- the user name of this cal eventDate getCreateDate()
getCreateDate
in interface AuditedModel
void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
createDate
- the create date of this cal eventDate getModifiedDate()
getModifiedDate
in interface AuditedModel
void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
modifiedDate
- the modified date of this cal event@AutoEscape String getTitle()
void setTitle(String title)
title
- the title of this cal event@AutoEscape String getDescription()
void setDescription(String description)
description
- the description of this cal event@AutoEscape String getLocation()
void setLocation(String location)
location
- the location of this cal eventDate getStartDate()
void setStartDate(Date startDate)
startDate
- the start date of this cal eventDate getEndDate()
void setEndDate(Date endDate)
endDate
- the end date of this cal eventint getDurationHour()
void setDurationHour(int durationHour)
durationHour
- the duration hour of this cal eventint getDurationMinute()
void setDurationMinute(int durationMinute)
durationMinute
- the duration minute of this cal eventboolean getAllDay()
boolean isAllDay()
true
if this cal event is all day.
true
if this cal event is all day; false
otherwisevoid setAllDay(boolean allDay)
allDay
- the all day of this cal eventboolean getTimeZoneSensitive()
boolean isTimeZoneSensitive()
true
if this cal event is time zone sensitive.
true
if this cal event is time zone sensitive; false
otherwisevoid setTimeZoneSensitive(boolean timeZoneSensitive)
timeZoneSensitive
- the time zone sensitive of this cal event@AutoEscape String getType()
void setType(String type)
type
- the type of this cal eventboolean getRepeating()
boolean isRepeating()
true
if this cal event is repeating.
true
if this cal event is repeating; false
otherwisevoid setRepeating(boolean repeating)
repeating
- the repeating of this cal eventString getRecurrence()
void setRecurrence(String recurrence)
recurrence
- the recurrence of this cal eventint getRemindBy()
void setRemindBy(int remindBy)
remindBy
- the remind by of this cal eventint getFirstReminder()
void setFirstReminder(int firstReminder)
firstReminder
- the first reminder of this cal eventint getSecondReminder()
void setSecondReminder(int secondReminder)
secondReminder
- the second reminder of this cal eventboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<CalEvent>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<CalEvent>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<CalEvent>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<CalEvent>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<CalEvent>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<CalEvent>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<CalEvent>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<CalEvent>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<CalEvent>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<CalEvent>
int compareTo(CalEvent calEvent)
compareTo
in interface Comparable<CalEvent>
int hashCode()
hashCode
in class Object
CacheModel<CalEvent> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<CalEvent>
CalEvent toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<CalEvent>
AutoEscapeBeanHandler
CalEvent toUnescapedModel()
toUnescapedModel
in interface BaseModel<CalEvent>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<CalEvent>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |