Class ProfileUpdatesPublisher

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.social.common.lifecycle.AbstractListenerPlugin
org.exoplatform.social.core.profile.ProfileListenerPlugin
org.exoplatform.social.core.application.ProfileUpdatesPublisher
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin, org.exoplatform.social.common.lifecycle.LifeCycleListener<org.exoplatform.social.core.profile.ProfileLifeCycleEvent>, org.exoplatform.social.core.profile.ProfileListener

public class ProfileUpdatesPublisher extends org.exoplatform.social.core.profile.ProfileListenerPlugin
Publish updates onto the user's activity stream when his profile is updated.
Version:
$Revision$
Author:
Patrice Lamarque
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
    The USER_NAME_PARAM template param key
    static final String
     
    static final String
     

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProfileUpdatesPublisher(org.exoplatform.container.xml.InitParams params, org.exoplatform.social.core.manager.ActivityManager activityManager, org.exoplatform.social.core.manager.IdentityManager identityManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    aboutMeUpdated(org.exoplatform.social.core.profile.ProfileLifeCycleEvent event)
     
    void
    avatarUpdated(org.exoplatform.social.core.profile.ProfileLifeCycleEvent event)
     
    void
    bannerUpdated(org.exoplatform.social.core.profile.ProfileLifeCycleEvent event)
     
    void
    contactSectionUpdated(org.exoplatform.social.core.profile.ProfileLifeCycleEvent event)
     
    void
    createProfile(org.exoplatform.social.core.profile.ProfileLifeCycleEvent event)
     
    void
    experienceSectionUpdated(org.exoplatform.social.core.profile.ProfileLifeCycleEvent event)
     

    Methods inherited from class org.exoplatform.social.core.profile.ProfileListenerPlugin

    technicalUpdated

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.exoplatform.social.common.lifecycle.LifeCycleListener

    getDescription, getName, setDescription, setName

    Methods inherited from interface org.exoplatform.social.core.profile.ProfileListener

    basicInfoUpdated, headerSectionUpdated
  • Field Details

  • Constructor Details

    • ProfileUpdatesPublisher

      public ProfileUpdatesPublisher(org.exoplatform.container.xml.InitParams params, org.exoplatform.social.core.manager.ActivityManager activityManager, org.exoplatform.social.core.manager.IdentityManager identityManager)
  • Method Details

    • avatarUpdated

      public void avatarUpdated(org.exoplatform.social.core.profile.ProfileLifeCycleEvent event)
      Specified by:
      avatarUpdated in interface org.exoplatform.social.core.profile.ProfileListener
      Overrides:
      avatarUpdated in class org.exoplatform.social.core.profile.ProfileListenerPlugin
    • bannerUpdated

      public void bannerUpdated(org.exoplatform.social.core.profile.ProfileLifeCycleEvent event)
      Specified by:
      bannerUpdated in interface org.exoplatform.social.core.profile.ProfileListener
      Overrides:
      bannerUpdated in class org.exoplatform.social.core.profile.ProfileListenerPlugin
    • contactSectionUpdated

      public void contactSectionUpdated(org.exoplatform.social.core.profile.ProfileLifeCycleEvent event)
      Specified by:
      contactSectionUpdated in interface org.exoplatform.social.core.profile.ProfileListener
      Overrides:
      contactSectionUpdated in class org.exoplatform.social.core.profile.ProfileListenerPlugin
    • experienceSectionUpdated

      public void experienceSectionUpdated(org.exoplatform.social.core.profile.ProfileLifeCycleEvent event)
      Specified by:
      experienceSectionUpdated in interface org.exoplatform.social.core.profile.ProfileListener
      Overrides:
      experienceSectionUpdated in class org.exoplatform.social.core.profile.ProfileListenerPlugin
    • createProfile

      public void createProfile(org.exoplatform.social.core.profile.ProfileLifeCycleEvent event)
      Specified by:
      createProfile in interface org.exoplatform.social.core.profile.ProfileListener
      Overrides:
      createProfile in class org.exoplatform.social.core.profile.ProfileListenerPlugin
    • aboutMeUpdated

      public void aboutMeUpdated(org.exoplatform.social.core.profile.ProfileLifeCycleEvent event)
      Specified by:
      aboutMeUpdated in interface org.exoplatform.social.core.profile.ProfileListener
      Overrides:
      aboutMeUpdated in class org.exoplatform.social.core.profile.ProfileListenerPlugin