com.liferay.portlet.calendar.model
Class CalEventWrapper

java.lang.Object
  extended by com.liferay.portlet.calendar.model.CalEventWrapper
All Implemented Interfaces:
BaseModel<CalEvent>, CalEvent, CalEventModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<CalEvent>

public class CalEventWrapper
extends java.lang.Object
implements CalEvent

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for CalEvent.

Author:
Brian Wing Shun Chan
See Also:
CalEvent, Serialized Form
Generated:

Constructor Summary
CalEventWrapper(CalEvent calEvent)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(CalEvent calEvent)
           
 boolean getAllDay()
           
 long getCompanyId()
           
 java.util.Date getCreateDate()
           
 java.lang.String getDescription()
           
 int getDurationHour()
           
 int getDurationMinute()
           
 java.util.Date getEndDate()
           
 long getEventId()
           
 ExpandoBridge getExpandoBridge()
           
 int getFirstReminder()
           
 long getGroupId()
           
 java.util.Date getModifiedDate()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 java.lang.String getRecurrence()
           
 com.liferay.portal.kernel.cal.TZSRecurrence getRecurrenceObj()
           
 int getRemindBy()
           
 boolean getRepeating()
           
 int getSecondReminder()
           
 java.util.Date getStartDate()
           
 boolean getTimeZoneSensitive()
           
 java.lang.String getTitle()
           
 java.lang.String getType()
           
 long getUserId()
           
 java.lang.String getUserName()
           
 java.lang.String getUserUuid()
           
 java.lang.String getUuid()
           
 CalEvent getWrappedCalEvent()
           
 int hashCode()
           
 boolean isAllDay()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 boolean isRepeating()
           
 boolean isTimeZoneSensitive()
           
 void setAllDay(boolean allDay)
           
 void setCachedModel(boolean cachedModel)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(java.util.Date createDate)
           
 void setDescription(java.lang.String description)
           
 void setDurationHour(int durationHour)
           
 void setDurationMinute(int durationMinute)
           
 void setEndDate(java.util.Date endDate)
           
 void setEscapedModel(boolean escapedModel)
           
 void setEventId(long eventId)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setFirstReminder(int firstReminder)
           
 void setGroupId(long groupId)
           
 void setModifiedDate(java.util.Date modifiedDate)
           
 boolean setNew(boolean n)
           
 void setPrimaryKey(long pk)
           
 void setRecurrence(java.lang.String recurrence)
           
 void setRecurrenceObj(com.liferay.portal.kernel.cal.TZSRecurrence recurrenceObj)
           
 void setRemindBy(int remindBy)
           
 void setRepeating(boolean repeating)
           
 void setSecondReminder(int secondReminder)
           
 void setStartDate(java.util.Date startDate)
           
 void setTimeZoneSensitive(boolean timeZoneSensitive)
           
 void setTitle(java.lang.String title)
           
 void setType(java.lang.String type)
           
 void setUserId(long userId)
           
 void setUserName(java.lang.String userName)
           
 void setUserUuid(java.lang.String userUuid)
           
 void setUuid(java.lang.String uuid)
           
 CalEvent toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CalEventWrapper

public CalEventWrapper(CalEvent calEvent)
Method Detail

getPrimaryKey

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

setPrimaryKey

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

getUuid

public java.lang.String getUuid()
Specified by:
getUuid in interface CalEventModel

setUuid

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

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

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 java.lang.String getUserUuid()
                             throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getUserUuid in interface CalEventModel
Throws:
com.liferay.portal.kernel.exception.SystemException

setUserUuid

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

getUserName

public java.lang.String getUserName()
Specified by:
getUserName in interface CalEventModel

setUserName

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

getCreateDate

public java.util.Date getCreateDate()
Specified by:
getCreateDate in interface CalEventModel

setCreateDate

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

getModifiedDate

public java.util.Date getModifiedDate()
Specified by:
getModifiedDate in interface CalEventModel

setModifiedDate

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

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface CalEventModel

setTitle

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

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface CalEventModel

setDescription

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

getStartDate

public java.util.Date getStartDate()
Specified by:
getStartDate in interface CalEventModel

setStartDate

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

getEndDate

public java.util.Date getEndDate()
Specified by:
getEndDate in interface CalEventModel

setEndDate

public void setEndDate(java.util.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 java.lang.String getType()
Specified by:
getType in interface CalEventModel

setType

public void setType(java.lang.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 java.lang.String getRecurrence()
Specified by:
getRecurrence in interface CalEventModel

setRecurrence

public void setRecurrence(java.lang.String recurrence)
Specified by:
setRecurrence in interface CalEvent
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

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<CalEvent>
Specified by:
isNew in interface CalEventModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<CalEvent>
Specified by:
setNew in interface CalEventModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<CalEvent>
Specified by:
isCachedModel in interface CalEventModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<CalEvent>
Specified by:
setCachedModel in interface CalEventModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<CalEvent>
Specified by:
isEscapedModel in interface CalEventModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<CalEvent>
Specified by:
setEscapedModel in interface CalEventModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<CalEvent>
Specified by:
getPrimaryKeyObj in interface CalEventModel

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<CalEvent>
Specified by:
getExpandoBridge in interface CalEventModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<CalEvent>
Specified by:
setExpandoBridgeAttributes in interface CalEventModel

clone

public java.lang.Object clone()
Specified by:
clone in interface BaseModel<CalEvent>
Specified by:
clone in interface CalEventModel
Overrides:
clone in class java.lang.Object

compareTo

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

hashCode

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

toString

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

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<CalEvent>
Specified by:
toXmlString in interface CalEventModel

getRecurrenceObj

public com.liferay.portal.kernel.cal.TZSRecurrence getRecurrenceObj()
Specified by:
getRecurrenceObj in interface CalEvent

setRecurrenceObj

public void setRecurrenceObj(com.liferay.portal.kernel.cal.TZSRecurrence recurrenceObj)
Specified by:
setRecurrenceObj in interface CalEvent

getWrappedCalEvent

public CalEvent getWrappedCalEvent()