Liferay 6.0.3

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:
BaseModel<CalEvent>, CalEventModel, Serializable, Cloneable, Comparable<CalEvent>
Direct Known Subclasses:
CalEventImpl

public class CalEventModelImpl
extends BaseModelImpl<CalEvent>
implements CalEventModel

This interface is a model that represents the CalEvent table in the database.

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

Field Summary
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
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
           
 
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()
           
 long getCompanyId()
           
 Date getCreateDate()
           
 String getDescription()
           
 int getDurationHour()
           
 int getDurationMinute()
           
 Date getEndDate()
           
 long getEventId()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 int getFirstReminder()
           
 long getGroupId()
           
 Date getModifiedDate()
           
 long getOriginalGroupId()
           
 String getOriginalUuid()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 String getRecurrence()
           
 int getRemindBy()
           
 boolean getRepeating()
           
 int getSecondReminder()
           
 Date getStartDate()
           
 boolean getTimeZoneSensitive()
           
 String getTitle()
           
 String getType()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 String getUuid()
           
 int hashCode()
           
 boolean isAllDay()
           
 boolean isRepeating()
           
 boolean isTimeZoneSensitive()
           
 void setAllDay(boolean allDay)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(Date createDate)
           
 void setDescription(String description)
           
 void setDurationHour(int durationHour)
           
 void setDurationMinute(int durationMinute)
           
 void setEndDate(Date endDate)
           
 void setEventId(long eventId)
           
 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)
           
 void setGroupId(long groupId)
           
 void setModifiedDate(Date modifiedDate)
           
 void setPrimaryKey(long pk)
           
 void setRecurrence(String recurrence)
           
 void setRemindBy(int remindBy)
           
 void setRepeating(boolean repeating)
           
 void setSecondReminder(int secondReminder)
           
 void setStartDate(Date startDate)
           
 void setTimeZoneSensitive(boolean timeZoneSensitive)
           
 void setTitle(String title)
           
 void setType(String type)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 void setUuid(String uuid)
           
 CalEvent toEscapedModel()
           
static CalEvent toModel(CalEventSoap soapModel)
           
static List<CalEvent> toModels(CalEventSoap[] soapModels)
           
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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, setEscapedModel, 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

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

CalEventModelImpl

public CalEventModelImpl()
Method Detail

toModel

public static CalEvent toModel(CalEventSoap soapModel)

toModels

public static List<CalEvent> toModels(CalEventSoap[] soapModels)

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface CalEventModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface CalEventModel

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<CalEvent>
Specified by:
getPrimaryKeyObj in interface CalEventModel
Returns:
the primary key

getUuid

public String getUuid()
Specified by:
getUuid in interface CalEventModel

setUuid

public void setUuid(String uuid)
Specified by:
setUuid in interface CalEventModel

getOriginalUuid

public String getOriginalUuid()

getEventId

public long getEventId()
Specified by:
getEventId in interface CalEventModel

setEventId

public void setEventId(long eventId)
Specified by:
setEventId in interface CalEventModel

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface CalEventModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface CalEventModel

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface CalEventModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface CalEventModel

getUserId

public long getUserId()
Specified by:
getUserId in interface CalEventModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface CalEventModel

getUserUuid

public String getUserUuid()
                   throws SystemException
Specified by:
getUserUuid in interface CalEventModel
Throws:
SystemException

setUserUuid

public void setUserUuid(String userUuid)
Specified by:
setUserUuid in interface CalEventModel

getUserName

public String getUserName()
Specified by:
getUserName in interface CalEventModel

setUserName

public void setUserName(String userName)
Specified by:
setUserName in interface CalEventModel

getCreateDate

public Date getCreateDate()
Specified by:
getCreateDate in interface CalEventModel

setCreateDate

public void setCreateDate(Date createDate)
Specified by:
setCreateDate in interface CalEventModel

getModifiedDate

public Date getModifiedDate()
Specified by:
getModifiedDate in interface CalEventModel

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Specified by:
setModifiedDate in interface CalEventModel

getTitle

public String getTitle()
Specified by:
getTitle in interface CalEventModel

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface CalEventModel

getDescription

public String getDescription()
Specified by:
getDescription in interface CalEventModel

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface CalEventModel

getStartDate

public Date getStartDate()
Specified by:
getStartDate in interface CalEventModel

setStartDate

public void setStartDate(Date startDate)
Specified by:
setStartDate in interface CalEventModel

getEndDate

public Date getEndDate()
Specified by:
getEndDate in interface CalEventModel

setEndDate

public void setEndDate(Date endDate)
Specified by:
setEndDate in interface CalEventModel

getDurationHour

public int getDurationHour()
Specified by:
getDurationHour in interface CalEventModel

setDurationHour

public void setDurationHour(int durationHour)
Specified by:
setDurationHour in interface CalEventModel

getDurationMinute

public int getDurationMinute()
Specified by:
getDurationMinute in interface CalEventModel

setDurationMinute

public void setDurationMinute(int durationMinute)
Specified by:
setDurationMinute in interface CalEventModel

getAllDay

public boolean getAllDay()
Specified by:
getAllDay in interface CalEventModel

isAllDay

public boolean isAllDay()
Specified by:
isAllDay in interface CalEventModel

setAllDay

public void setAllDay(boolean allDay)
Specified by:
setAllDay in interface CalEventModel

getTimeZoneSensitive

public boolean getTimeZoneSensitive()
Specified by:
getTimeZoneSensitive in interface CalEventModel

isTimeZoneSensitive

public boolean isTimeZoneSensitive()
Specified by:
isTimeZoneSensitive in interface CalEventModel

setTimeZoneSensitive

public void setTimeZoneSensitive(boolean timeZoneSensitive)
Specified by:
setTimeZoneSensitive in interface CalEventModel

getType

public String getType()
Specified by:
getType in interface CalEventModel

setType

public void setType(String type)
Specified by:
setType in interface CalEventModel

getRepeating

public boolean getRepeating()
Specified by:
getRepeating in interface CalEventModel

isRepeating

public boolean isRepeating()
Specified by:
isRepeating in interface CalEventModel

setRepeating

public void setRepeating(boolean repeating)
Specified by:
setRepeating in interface CalEventModel

getRecurrence

public String getRecurrence()
Specified by:
getRecurrence in interface CalEventModel

setRecurrence

public void setRecurrence(String recurrence)
Specified by:
setRecurrence in interface CalEventModel

getRemindBy

public int getRemindBy()
Specified by:
getRemindBy in interface CalEventModel

setRemindBy

public void setRemindBy(int remindBy)
Specified by:
setRemindBy in interface CalEventModel

getFirstReminder

public int getFirstReminder()
Specified by:
getFirstReminder in interface CalEventModel

setFirstReminder

public void setFirstReminder(int firstReminder)
Specified by:
setFirstReminder in interface CalEventModel

getSecondReminder

public int getSecondReminder()
Specified by:
getSecondReminder in interface CalEventModel

setSecondReminder

public void setSecondReminder(int secondReminder)
Specified by:
setSecondReminder in interface CalEventModel

toEscapedModel

public CalEvent toEscapedModel()
Specified by:
toEscapedModel in interface CalEventModel

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<CalEvent>
Specified by:
getExpandoBridge in interface CalEventModel
Overrides:
getExpandoBridge in class BaseModelImpl<CalEvent>
Returns:
the expando bridge

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 to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

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 clone

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

toString

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

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets 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.0.3