Liferay 6.1.2-ce-ga3

com.liferay.portlet.calendar.model.impl
Class CalEventModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<CalEvent>
      extended by com.liferay.portlet.calendar.model.impl.CalEventModelImpl
All Implemented Interfaces:
AuditedModel, BaseModel<CalEvent>, ClassedModel, GroupedModel, CalEventModel, Serializable, Cloneable, Comparable<CalEvent>
Direct Known Subclasses:
CalEventBaseImpl

@JSON(strict=true)
public class CalEventModelImpl
extends BaseModelImpl<CalEvent>
implements CalEventModel

The base model implementation for the CalEvent service. Represents a row in the "CalEvent" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface CalEventModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in CalEventImpl.

See Also:
CalEventImpl, CalEvent, CalEventModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long GROUPID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static long REMINDBY_COLUMN_BITMASK
           
static long REPEATING_COLUMN_BITMASK
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
static long TYPE_COLUMN_BITMASK
           
static long UUID_COLUMN_BITMASK
           
 
Constructor Summary
CalEventModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(CalEvent calEvent)
           
 boolean equals(Object obj)
           
 boolean getAllDay()
          Returns the all day of this cal event.
 long getColumnBitmask()
           
 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.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this cal event.
 long getOriginalCompanyId()
           
 long getOriginalGroupId()
           
 int getOriginalRemindBy()
           
 boolean getOriginalRepeating()
           
 String getOriginalType()
           
 String getOriginalUuid()
           
 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 isRepeating()
          Returns true if this cal event is repeating.
 boolean isTimeZoneSensitive()
          Returns true if this cal event is time zone sensitive.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setAllDay(boolean allDay)
          Sets whether this cal event is all day.
 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 setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this cal event.
 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.
static CalEvent toModel(CalEventSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<CalEvent> toModels(CalEventSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 CalEvent toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.calendar.model.CalEventModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

COMPANYID_COLUMN_BITMASK

public static long COMPANYID_COLUMN_BITMASK

GROUPID_COLUMN_BITMASK

public static long GROUPID_COLUMN_BITMASK

REMINDBY_COLUMN_BITMASK

public static long REMINDBY_COLUMN_BITMASK

REPEATING_COLUMN_BITMASK

public static long REPEATING_COLUMN_BITMASK

TYPE_COLUMN_BITMASK

public static long TYPE_COLUMN_BITMASK

UUID_COLUMN_BITMASK

public static long UUID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

CalEventModelImpl

public CalEventModelImpl()
Method Detail

toModel

public static CalEvent toModel(CalEventSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<CalEvent> toModels(CalEventSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: CalEventModel
Returns the primary key of this cal event.

Specified by:
getPrimaryKey in interface CalEventModel
Returns:
the primary key of this cal event

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: CalEventModel
Sets the primary key of this cal event.

Specified by:
setPrimaryKey in interface CalEventModel
Parameters:
primaryKey - the primary key of this cal event

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<CalEvent>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface CalEventModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<CalEvent>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface CalEventModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<CalEvent>
Overrides:
getModelAttributes in class BaseModelImpl<CalEvent>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<CalEvent>
Overrides:
setModelAttributes in class BaseModelImpl<CalEvent>

getUuid

@JSON
public String getUuid()
Description copied from interface: CalEventModel
Returns the uuid of this cal event.

Specified by:
getUuid in interface CalEventModel
Returns:
the uuid of this cal event

setUuid

public void setUuid(String uuid)
Description copied from interface: CalEventModel
Sets the uuid of this cal event.

Specified by:
setUuid in interface CalEventModel
Parameters:
uuid - the uuid of this cal event

getOriginalUuid

public String getOriginalUuid()

getEventId

@JSON
public long getEventId()
Description copied from interface: CalEventModel
Returns the event ID of this cal event.

Specified by:
getEventId in interface CalEventModel
Returns:
the event ID of this cal event

setEventId

public void setEventId(long eventId)
Description copied from interface: CalEventModel
Sets the event ID of this cal event.

Specified by:
setEventId in interface CalEventModel
Parameters:
eventId - the event ID of this cal event

getGroupId

@JSON
public long getGroupId()
Description copied from interface: CalEventModel
Returns the group ID of this cal event.

Specified by:
getGroupId in interface GroupedModel
Specified by:
getGroupId in interface CalEventModel
Returns:
the group ID of this cal event

setGroupId

public void setGroupId(long groupId)
Description copied from interface: CalEventModel
Sets the group ID of this cal event.

Specified by:
setGroupId in interface GroupedModel
Specified by:
setGroupId in interface CalEventModel
Parameters:
groupId - the group ID of this cal event

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: CalEventModel
Returns the company ID of this cal event.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface CalEventModel
Returns:
the company ID of this cal event

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: CalEventModel
Sets the company ID of this cal event.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface CalEventModel
Parameters:
companyId - the company ID of this cal event

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

@JSON
public long getUserId()
Description copied from interface: CalEventModel
Returns the user ID of this cal event.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface CalEventModel
Returns:
the user ID of this cal event

setUserId

public void setUserId(long userId)
Description copied from interface: CalEventModel
Sets the user ID of this cal event.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface CalEventModel
Parameters:
userId - the user ID of this cal event

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: CalEventModel
Returns the user uuid of this cal event.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface CalEventModel
Returns:
the user uuid of this cal event
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: CalEventModel
Sets the user uuid of this cal event.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface CalEventModel
Parameters:
userUuid - the user uuid of this cal event

getUserName

@JSON
public String getUserName()
Description copied from interface: CalEventModel
Returns the user name of this cal event.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface CalEventModel
Returns:
the user name of this cal event

setUserName

public void setUserName(String userName)
Description copied from interface: CalEventModel
Sets the user name of this cal event.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface CalEventModel
Parameters:
userName - the user name of this cal event

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: CalEventModel
Returns the create date of this cal event.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface CalEventModel
Returns:
the create date of this cal event

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: CalEventModel
Sets the create date of this cal event.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface CalEventModel
Parameters:
createDate - the create date of this cal event

getModifiedDate

@JSON
public Date getModifiedDate()
Description copied from interface: CalEventModel
Returns the modified date of this cal event.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface CalEventModel
Returns:
the modified date of this cal event

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: CalEventModel
Sets the modified date of this cal event.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface CalEventModel
Parameters:
modifiedDate - the modified date of this cal event

getTitle

@JSON
public String getTitle()
Description copied from interface: CalEventModel
Returns the title of this cal event.

Specified by:
getTitle in interface CalEventModel
Returns:
the title of this cal event

setTitle

public void setTitle(String title)
Description copied from interface: CalEventModel
Sets the title of this cal event.

Specified by:
setTitle in interface CalEventModel
Parameters:
title - the title of this cal event

getDescription

@JSON
public String getDescription()
Description copied from interface: CalEventModel
Returns the description of this cal event.

Specified by:
getDescription in interface CalEventModel
Returns:
the description of this cal event

setDescription

public void setDescription(String description)
Description copied from interface: CalEventModel
Sets the description of this cal event.

Specified by:
setDescription in interface CalEventModel
Parameters:
description - the description of this cal event

getLocation

@JSON
public String getLocation()
Description copied from interface: CalEventModel
Returns the location of this cal event.

Specified by:
getLocation in interface CalEventModel
Returns:
the location of this cal event

setLocation

public void setLocation(String location)
Description copied from interface: CalEventModel
Sets the location of this cal event.

Specified by:
setLocation in interface CalEventModel
Parameters:
location - the location of this cal event

getStartDate

@JSON
public Date getStartDate()
Description copied from interface: CalEventModel
Returns the start date of this cal event.

Specified by:
getStartDate in interface CalEventModel
Returns:
the start date of this cal event

setStartDate

public void setStartDate(Date startDate)
Description copied from interface: CalEventModel
Sets the start date of this cal event.

Specified by:
setStartDate in interface CalEventModel
Parameters:
startDate - the start date of this cal event

getEndDate

@JSON
public Date getEndDate()
Description copied from interface: CalEventModel
Returns the end date of this cal event.

Specified by:
getEndDate in interface CalEventModel
Returns:
the end date of this cal event

setEndDate

public void setEndDate(Date endDate)
Description copied from interface: CalEventModel
Sets the end date of this cal event.

Specified by:
setEndDate in interface CalEventModel
Parameters:
endDate - the end date of this cal event

getDurationHour

@JSON
public int getDurationHour()
Description copied from interface: CalEventModel
Returns the duration hour of this cal event.

Specified by:
getDurationHour in interface CalEventModel
Returns:
the duration hour of this cal event

setDurationHour

public void setDurationHour(int durationHour)
Description copied from interface: CalEventModel
Sets the duration hour of this cal event.

Specified by:
setDurationHour in interface CalEventModel
Parameters:
durationHour - the duration hour of this cal event

getDurationMinute

@JSON
public int getDurationMinute()
Description copied from interface: CalEventModel
Returns the duration minute of this cal event.

Specified by:
getDurationMinute in interface CalEventModel
Returns:
the duration minute of this cal event

setDurationMinute

public void setDurationMinute(int durationMinute)
Description copied from interface: CalEventModel
Sets the duration minute of this cal event.

Specified by:
setDurationMinute in interface CalEventModel
Parameters:
durationMinute - the duration minute of this cal event

getAllDay

@JSON
public boolean getAllDay()
Description copied from interface: CalEventModel
Returns the all day of this cal event.

Specified by:
getAllDay in interface CalEventModel
Returns:
the all day of this cal event

isAllDay

public boolean isAllDay()
Description copied from interface: CalEventModel
Returns true if this cal event is all day.

Specified by:
isAllDay in interface CalEventModel
Returns:
true if this cal event is all day; false otherwise

setAllDay

public void setAllDay(boolean allDay)
Description copied from interface: CalEventModel
Sets whether this cal event is all day.

Specified by:
setAllDay in interface CalEventModel
Parameters:
allDay - the all day of this cal event

getTimeZoneSensitive

@JSON
public boolean getTimeZoneSensitive()
Description copied from interface: CalEventModel
Returns the time zone sensitive of this cal event.

Specified by:
getTimeZoneSensitive in interface CalEventModel
Returns:
the time zone sensitive of this cal event

isTimeZoneSensitive

public boolean isTimeZoneSensitive()
Description copied from interface: CalEventModel
Returns true if this cal event is time zone sensitive.

Specified by:
isTimeZoneSensitive in interface CalEventModel
Returns:
true if this cal event is time zone sensitive; false otherwise

setTimeZoneSensitive

public void setTimeZoneSensitive(boolean timeZoneSensitive)
Description copied from interface: CalEventModel
Sets whether this cal event is time zone sensitive.

Specified by:
setTimeZoneSensitive in interface CalEventModel
Parameters:
timeZoneSensitive - the time zone sensitive of this cal event

getType

@JSON
public String getType()
Description copied from interface: CalEventModel
Returns the type of this cal event.

Specified by:
getType in interface CalEventModel
Returns:
the type of this cal event

setType

public void setType(String type)
Description copied from interface: CalEventModel
Sets the type of this cal event.

Specified by:
setType in interface CalEventModel
Parameters:
type - the type of this cal event

getOriginalType

public String getOriginalType()

getRepeating

@JSON
public boolean getRepeating()
Description copied from interface: CalEventModel
Returns the repeating of this cal event.

Specified by:
getRepeating in interface CalEventModel
Returns:
the repeating of this cal event

isRepeating

public boolean isRepeating()
Description copied from interface: CalEventModel
Returns true if this cal event is repeating.

Specified by:
isRepeating in interface CalEventModel
Returns:
true if this cal event is repeating; false otherwise

setRepeating

public void setRepeating(boolean repeating)
Description copied from interface: CalEventModel
Sets whether this cal event is repeating.

Specified by:
setRepeating in interface CalEventModel
Parameters:
repeating - the repeating of this cal event

getOriginalRepeating

public boolean getOriginalRepeating()

getRecurrence

@JSON
public String getRecurrence()
Description copied from interface: CalEventModel
Returns the recurrence of this cal event.

Specified by:
getRecurrence in interface CalEventModel
Returns:
the recurrence of this cal event

setRecurrence

public void setRecurrence(String recurrence)
Description copied from interface: CalEventModel
Sets the recurrence of this cal event.

Specified by:
setRecurrence in interface CalEventModel
Parameters:
recurrence - the recurrence of this cal event

getRemindBy

@JSON
public int getRemindBy()
Description copied from interface: CalEventModel
Returns the remind by of this cal event.

Specified by:
getRemindBy in interface CalEventModel
Returns:
the remind by of this cal event

setRemindBy

public void setRemindBy(int remindBy)
Description copied from interface: CalEventModel
Sets the remind by of this cal event.

Specified by:
setRemindBy in interface CalEventModel
Parameters:
remindBy - the remind by of this cal event

getOriginalRemindBy

public int getOriginalRemindBy()

getFirstReminder

@JSON
public int getFirstReminder()
Description copied from interface: CalEventModel
Returns the first reminder of this cal event.

Specified by:
getFirstReminder in interface CalEventModel
Returns:
the first reminder of this cal event

setFirstReminder

public void setFirstReminder(int firstReminder)
Description copied from interface: CalEventModel
Sets the first reminder of this cal event.

Specified by:
setFirstReminder in interface CalEventModel
Parameters:
firstReminder - the first reminder of this cal event

getSecondReminder

@JSON
public int getSecondReminder()
Description copied from interface: CalEventModel
Returns the second reminder of this cal event.

Specified by:
getSecondReminder in interface CalEventModel
Returns:
the second reminder of this cal event

setSecondReminder

public void setSecondReminder(int secondReminder)
Description copied from interface: CalEventModel
Sets the second reminder of this cal event.

Specified by:
setSecondReminder in interface CalEventModel
Parameters:
secondReminder - the second reminder of this cal event

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<CalEvent>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface CalEventModel
Overrides:
getExpandoBridge in class BaseModelImpl<CalEvent>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<CalEvent>
Specified by:
setExpandoBridgeAttributes in interface CalEventModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<CalEvent>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public CalEvent toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<CalEvent>
Specified by:
toEscapedModel in interface CalEventModel
Overrides:
toEscapedModel in class BaseModelImpl<CalEvent>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public CalEvent toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<CalEvent>
Specified by:
toUnescapedModel in interface CalEventModel
Overrides:
toUnescapedModel in class BaseModelImpl<CalEvent>

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<CalEvent>
Specified by:
clone in interface CalEventModel
Specified by:
clone in class BaseModelImpl<CalEvent>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(CalEvent calEvent)
Specified by:
compareTo in interface CalEventModel
Specified by:
compareTo in interface Comparable<CalEvent>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface CalEventModel
Overrides:
hashCode in class Object

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<CalEvent>
Overrides:
resetOriginalValues in class BaseModelImpl<CalEvent>

toCacheModel

public CacheModel<CalEvent> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<CalEvent>
Specified by:
toCacheModel in interface CalEventModel
Overrides:
toCacheModel in class BaseModelImpl<CalEvent>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface CalEventModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<CalEvent>
Specified by:
toXmlString in interface CalEventModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3