Package org.exoplatform.agenda.entity
Class CalendarEntity
java.lang.Object
org.exoplatform.agenda.entity.CalendarEntity
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()getId()getName()booleanbooleanisSystem()voidvoidsetCreatedDate(Date createdDate) voidsetDescription(String description) voidvoidvoidsetOwnerId(Long ownerId) voidsetSubscription(boolean isSubscription) voidsetSyncUid(String syncUid) voidsetSystem(boolean isSystem) voidsetUpdatedDate(Date updatedDate)
-
Constructor Details
-
CalendarEntity
public CalendarEntity()
-
-
Method Details
-
getId
-
setId
-
getOwnerId
-
setOwnerId
-
isSystem
public boolean isSystem() -
setSystem
public void setSystem(boolean isSystem) -
getName
- Returns:
- user-defined display name of the calendar, or
nullwhen the calendar title has to be derived from its owner identity
-
setName
- Parameters:
name- user-defined display name of the calendar,nullto keep deriving the title from the owner identity
-
getSyncUid
- Returns:
- stable, environment-independent unique identifier of the calendar (UUID), used by external synchronization engines
-
setSyncUid
- Parameters:
syncUid- stable, environment-independent unique identifier of the calendar (UUID)
-
getDescription
-
setDescription
-
getColor
-
setColor
-
getCreatedDate
-
setCreatedDate
-
getUpdatedDate
-
setUpdatedDate
-
isSubscription
public boolean isSubscription()- Returns:
- whether the calendar holds a subscribed calendar link (EXO-90278)
-
setSubscription
public void setSubscription(boolean isSubscription) - Parameters:
isSubscription- whether the calendar holds a subscribed calendar link
-