Class SocialInformationPublication
- java.lang.Object
-
- org.silverpeas.core.socialnetwork.model.AbstractSocialInformation
-
- org.silverpeas.core.contribution.publication.social.SocialInformationPublication
-
- All Implemented Interfaces:
Comparable<SocialInformation>
,SocialInformation
public class SocialInformationPublication extends AbstractSocialInformation
-
-
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 SocialInformationPublication(PublicationWithStatus publication)
Constructor with one param
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
compare to SocialInformationPublication if are iquals or notPublicationDetail
getPublication()
int
hashCode()
-
Methods inherited from class org.silverpeas.core.socialnetwork.model.AbstractSocialInformation
compareByUrl, compareTo, getAuthor, getDate, getDescription, getIcon, getResourceReference, getTitle, getType, getUrl, isUpdated, setAuthor, setDate, setDescription, setIcon, setTitle, setType, setUpdated, setUrl
-
-
-
-
Constructor Detail
-
SocialInformationPublication
public SocialInformationPublication(PublicationWithStatus publication)
Constructor with one param- Parameters:
publication
-
-
-
Method Detail
-
equals
public boolean equals(Object obj)
compare to SocialInformationPublication if are iquals or not- Overrides:
equals
in classAbstractSocialInformation
- Parameters:
obj
-- Returns:
- boolean
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractSocialInformation
-
getPublication
public PublicationDetail getPublication()
-
-