com.stratelia.webactiv.calendar.socialnetwork
Class SocialInformationEvent

java.lang.Object
  extended by com.silverpeas.socialnetwork.model.AbstractSocialInformation
      extended by com.stratelia.webactiv.calendar.socialnetwork.SocialInformationEvent
All Implemented Interfaces:
SocialInformation, Comparable<SocialInformation>

public class SocialInformationEvent
extends AbstractSocialInformation

Author:
Bensalem Nabil

Field Summary
 
Fields inherited from class com.silverpeas.socialnetwork.model.AbstractSocialInformation
author, date, description, icon, socialInformationWasupdated, title, type, url
 
Constructor Summary
SocialInformationEvent(Schedulable schedulable)
          Constructor with on Param
SocialInformationEvent(Schedulable schedulable, boolean isMyEvent)
          * Constructor with Tow Params
 
Method Summary
 int compareTo(SocialInformation si)
          Indicates whether some other SocialInformation date is befor or after the date of this one.
 String getAuthor()
          return the Author of this SocialInfo
 Date getDate()
          return the Date of this SocialInfo
 String getDescription()
          return the Description of this SocialInformation
 String getIcon()
          return the icon of this SocialInformation
 String getTitle()
          return the Title of this SocialInformation
 String getUrl()
          return the Url of this SocialInfo
 
Methods inherited from class com.silverpeas.socialnetwork.model.AbstractSocialInformation
equals, getType, hashCode, isUpdated, setAuthor, setDate, setDescription, setIcon, setTitle, setType, setUpdated, setUrl
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialInformationEvent

public SocialInformationEvent(Schedulable schedulable)
Constructor with on Param

Parameters:
schedulable -

SocialInformationEvent

public SocialInformationEvent(Schedulable schedulable,
                              boolean isMyEvent)
* Constructor with Tow Params

Parameters:
schedulable -
isMyEvent -
Method Detail

getIcon

public String getIcon()
return the icon of this SocialInformation

Specified by:
getIcon in interface SocialInformation
Overrides:
getIcon in class AbstractSocialInformation
Returns:
String

getTitle

public String getTitle()
return the Title of this SocialInformation

Specified by:
getTitle in interface SocialInformation
Overrides:
getTitle in class AbstractSocialInformation
Returns:
String

getDescription

public String getDescription()
return the Description of this SocialInformation

Specified by:
getDescription in interface SocialInformation
Overrides:
getDescription in class AbstractSocialInformation
Returns:
String

getAuthor

public String getAuthor()
return the Author of this SocialInfo

Specified by:
getAuthor in interface SocialInformation
Overrides:
getAuthor in class AbstractSocialInformation
Returns:
String

getUrl

public String getUrl()
return the Url of this SocialInfo

Specified by:
getUrl in interface SocialInformation
Overrides:
getUrl in class AbstractSocialInformation
Returns:
String

getDate

public Date getDate()
return the Date of this SocialInfo

Specified by:
getDate in interface SocialInformation
Overrides:
getDate in class AbstractSocialInformation
Returns:

compareTo

public int compareTo(SocialInformation si)
Indicates whether some other SocialInformation date is befor or after the date of this one.

Specified by:
compareTo in interface Comparable<SocialInformation>
Overrides:
compareTo in class AbstractSocialInformation
Parameters:
obj - the reference object with which to compare.
Returns:
int


Copyright © 2016 Silverpeas. All Rights Reserved.