Liferay 6.0.3

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, Serializable, Cloneable, Comparable<CalEvent>

public class CalEventWrapper
extends Object
implements CalEvent

This class is a wrapper for CalEvent.

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

Constructor Summary
CalEventWrapper(CalEvent calEvent)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(CalEvent calEvent)
           
 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 getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 String getRecurrence()
           
 TZSRecurrence getRecurrenceObj()
           
 int getRemindBy()
           
 boolean getRepeating()
           
 int getSecondReminder()
           
 Date getStartDate()
           
 boolean getTimeZoneSensitive()
           
 String getTitle()
           
 String getType()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 String getUuid()
           
 CalEvent getWrappedCalEvent()
           
 int hashCode()
           
 boolean isAllDay()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Determines if this model instance has been wrapped with an HTML auto escape handler.
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 boolean isRepeating()
           
 boolean isTimeZoneSensitive()
           
 void setAllDay(boolean allDay)
           
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 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 setEscapedModel(boolean escapedModel)
          Sets whether this model instance has been wrapped with an HTML auto escape handler.
 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 setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long pk)
           
 void setRecurrence(String recurrence)
           
 void setRecurrenceObj(TZSRecurrence recurrenceObj)
           
 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()
           
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
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 String getUuid()
Specified by:
getUuid in interface CalEventModel

setUuid

public void setUuid(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 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 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()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<CalEvent>
Specified by:
isNew in interface CalEventModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<CalEvent>
Specified by:
setNew in interface CalEventModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<CalEvent>
Specified by:
isCachedModel in interface CalEventModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<CalEvent>
Specified by:
setCachedModel in interface CalEventModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance has been wrapped with an HTML auto escape handler.

Specified by:
isEscapedModel in interface BaseModel<CalEvent>
Specified by:
isEscapedModel in interface CalEventModel
Returns:
true if this model instance has been wrapped with an HTML auto escape handler; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance has been wrapped with an HTML auto escape handler.

A model instance can be wrapped with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<CalEvent>
Specified by:
setEscapedModel in interface CalEventModel
Parameters:
escapedModel - whether this model instance has been wrapped with an HTML auto escape handler
See Also:
AutoEscapeBeanHandler

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

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
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
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
Overrides:
clone in class Object
Returns:
the clone

compareTo

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

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

getRecurrenceObj

public TZSRecurrence getRecurrenceObj()
Specified by:
getRecurrenceObj in interface CalEvent

setRecurrenceObj

public void setRecurrenceObj(TZSRecurrence recurrenceObj)
Specified by:
setRecurrenceObj in interface CalEvent

getWrappedCalEvent

public CalEvent getWrappedCalEvent()

Liferay 6.0.3