Class CalendarEventOccurrenceSocialInformation
- java.lang.Object
-
- org.silverpeas.core.socialnetwork.model.AbstractSocialInformation
-
- org.silverpeas.core.web.calendar.socialnetwork.CalendarEventOccurrenceSocialInformation
-
- All Implemented Interfaces:
Comparable<SocialInformation>
,SocialInformation
public class CalendarEventOccurrenceSocialInformation extends AbstractSocialInformation
- Author:
- silveryocha
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.socialnetwork.model.AbstractSocialInformation
author, date, description, icon, resourceReference, socialInformationWasupdated, title, type, url
-
-
Constructor Summary
Constructors Constructor Description CalendarEventOccurrenceSocialInformation(CalendarEventOccurrence occurrence, OffsetDateTime now, String requesterId, ZoneId userZoneId, String userOwnerId)
Creates aSocialInformation
instance corresponding to aCalendarEventOccurrence
one.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getAuthor()
return the Author of this SocialInfoDate
getDate()
return the Date of this SocialInfoString
getDescription()
return the Description of this SocialInformationString
getIcon()
return icon name of this SocialInfoCalendarEventOccurrence
getOccurrence()
String
getTitle()
return the Title of this SocialInformationint
hashCode()
-
Methods inherited from class org.silverpeas.core.socialnetwork.model.AbstractSocialInformation
compareByUrl, compareTo, getResourceReference, getType, getUrl, isUpdated, setAuthor, setDate, setDescription, setIcon, setTitle, setType, setUpdated, setUrl
-
-
-
-
Constructor Detail
-
CalendarEventOccurrenceSocialInformation
public CalendarEventOccurrenceSocialInformation(CalendarEventOccurrence occurrence, OffsetDateTime now, String requesterId, ZoneId userZoneId, String userOwnerId)
Creates aSocialInformation
instance corresponding to aCalendarEventOccurrence
one.- Parameters:
occurrence
- an occurrence.now
- the now temporal (date and time).requesterId
- the identifier of the requester.userZoneId
- a user zone id in order to handle properly dates according to user timezone.userOwnerId
- the identifier of the user the social information belong to.
-
-
Method Detail
-
getIcon
public String getIcon()
Description copied from interface:SocialInformation
return icon name of this SocialInfo- Specified by:
getIcon
in interfaceSocialInformation
- Overrides:
getIcon
in classAbstractSocialInformation
- Returns:
- String
-
getTitle
public String getTitle()
Description copied from interface:SocialInformation
return the Title of this SocialInformation- Specified by:
getTitle
in interfaceSocialInformation
- Overrides:
getTitle
in classAbstractSocialInformation
- Returns:
- String
-
getDescription
public String getDescription()
Description copied from interface:SocialInformation
return the Description of this SocialInformation- Specified by:
getDescription
in interfaceSocialInformation
- Overrides:
getDescription
in classAbstractSocialInformation
- Returns:
- String
-
getAuthor
public String getAuthor()
Description copied from interface:SocialInformation
return the Author of this SocialInfo- Specified by:
getAuthor
in interfaceSocialInformation
- Overrides:
getAuthor
in classAbstractSocialInformation
- Returns:
- String
-
getDate
public Date getDate()
Description copied from interface:SocialInformation
return the Date of this SocialInfo- Specified by:
getDate
in interfaceSocialInformation
- Overrides:
getDate
in classAbstractSocialInformation
- Returns:
- Date
-
getOccurrence
public CalendarEventOccurrence getOccurrence()
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAbstractSocialInformation
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractSocialInformation
-
-