eXo JCR :: Ext :: Services 1.16.0-Alpha1

org.exoplatform.services.jcr.ext.organization
Class UserProfileHandlerImpl

java.lang.Object
  extended by org.exoplatform.services.jcr.ext.organization.JCROrgServiceHandler
      extended by org.exoplatform.services.jcr.ext.organization.UserProfileHandlerImpl
All Implemented Interfaces:
org.exoplatform.services.organization.UserProfileEventListenerHandler, org.exoplatform.services.organization.UserProfileHandler

public class UserProfileHandlerImpl
extends JCROrgServiceHandler
implements org.exoplatform.services.organization.UserProfileHandler, org.exoplatform.services.organization.UserProfileEventListenerHandler

Created by The eXo Platform SAS Date: 24.07.2008

Version:
$Id: UserProfileHandlerImpl.java 33732 2009-07-08 15:00:43Z pnedonosko $
Author:
Peter Nedonosko

Field Summary
static String ATTRIBUTE_PREFIX
          The prefix for properties name which store profile attributes.
protected  List<org.exoplatform.services.organization.UserProfileEventListener> listeners
          The list of listeners to broadcast events.
 
Fields inherited from class org.exoplatform.services.jcr.ext.organization.JCROrgServiceHandler
cache, groupHandler, LOG, membershipHandler, service, typeHandler, userHandler, userProfileHandler, utils
 
Method Summary
 void addUserProfileEventListener(org.exoplatform.services.organization.UserProfileEventListener listener)
          
 org.exoplatform.services.organization.UserProfile createUserProfileInstance()
          
 org.exoplatform.services.organization.UserProfile createUserProfileInstance(String userName)
          
 org.exoplatform.services.organization.UserProfile findUserProfileByName(String userName)
          
 Collection findUserProfiles()
          
 List<org.exoplatform.services.organization.UserProfileEventListener> getUserProfileListeners()
          
 org.exoplatform.services.organization.UserProfile removeUserProfile(String userName, boolean broadcast)
          
 void removeUserProfileEventListener(org.exoplatform.services.organization.UserProfileEventListener listener)
          
 void saveUserProfile(org.exoplatform.services.organization.UserProfile profile, boolean broadcast)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTRIBUTE_PREFIX

public static final String ATTRIBUTE_PREFIX
The prefix for properties name which store profile attributes.

See Also:
Constant Field Values

listeners

protected final List<org.exoplatform.services.organization.UserProfileEventListener> listeners
The list of listeners to broadcast events.

Method Detail

createUserProfileInstance

public org.exoplatform.services.organization.UserProfile createUserProfileInstance()

Specified by:
createUserProfileInstance in interface org.exoplatform.services.organization.UserProfileHandler

createUserProfileInstance

public org.exoplatform.services.organization.UserProfile createUserProfileInstance(String userName)

Specified by:
createUserProfileInstance in interface org.exoplatform.services.organization.UserProfileHandler

findUserProfileByName

public org.exoplatform.services.organization.UserProfile findUserProfileByName(String userName)
                                                                        throws Exception

Specified by:
findUserProfileByName in interface org.exoplatform.services.organization.UserProfileHandler
Throws:
Exception

findUserProfiles

public Collection findUserProfiles()
                            throws Exception

Specified by:
findUserProfiles in interface org.exoplatform.services.organization.UserProfileHandler
Throws:
Exception

removeUserProfile

public org.exoplatform.services.organization.UserProfile removeUserProfile(String userName,
                                                                           boolean broadcast)
                                                                    throws Exception

Specified by:
removeUserProfile in interface org.exoplatform.services.organization.UserProfileHandler
Throws:
Exception

saveUserProfile

public void saveUserProfile(org.exoplatform.services.organization.UserProfile profile,
                            boolean broadcast)
                     throws Exception

Specified by:
saveUserProfile in interface org.exoplatform.services.organization.UserProfileHandler
Throws:
Exception

addUserProfileEventListener

public void addUserProfileEventListener(org.exoplatform.services.organization.UserProfileEventListener listener)

Specified by:
addUserProfileEventListener in interface org.exoplatform.services.organization.UserProfileHandler

removeUserProfileEventListener

public void removeUserProfileEventListener(org.exoplatform.services.organization.UserProfileEventListener listener)

Specified by:
removeUserProfileEventListener in interface org.exoplatform.services.organization.UserProfileHandler

getUserProfileListeners

public List<org.exoplatform.services.organization.UserProfileEventListener> getUserProfileListeners()

Specified by:
getUserProfileListeners in interface org.exoplatform.services.organization.UserProfileEventListenerHandler

eXo JCR :: Ext :: Services 1.16.0-Alpha1

Copyright © 2013 eXo Platform SAS. All Rights Reserved.