|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.profiles.ProfileManagerImpl
public class ProfileManagerImpl
Method Summary | |
---|---|
void |
deleteProfileByID(long fieldID)
Removes all user profile data associated with a particular profile field. |
void |
deleteProfileByUserID(long userID)
Removes all user profile data associated with a particular user. |
static ProfileManager |
getInstance()
Provides singleton access to a ProfileManagerImpl instance. |
java.util.Map |
getProfile(User user)
Gets a map of user profile values for a particular user mapped to their corresponding ProfileField id. |
void |
setProfile(User user,
java.util.List profile)
Sets a list of profile values for a particular user. |
void |
userCreated(UserEvent event)
Fired when a user is created. |
void |
userDeleted(UserEvent event)
Fired when a user is deleted. |
void |
userModified(UserEvent event)
Fired when a user is modified. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ProfileManager getInstance()
public java.util.Map getProfile(User user)
ProfileManager
getProfile
in interface ProfileManager
user
- get the profile for this user
public void setProfile(User user, java.util.List profile)
ProfileManager
setProfile
in interface ProfileManager
user
- the user that represents the profile listprofile
- the list of user profile values to savepublic void deleteProfileByUserID(long userID)
ProfileManager
deleteProfileByUserID
in interface ProfileManager
userID
- remove all user profile data associated with this userID.public void deleteProfileByID(long fieldID)
ProfileManager
deleteProfileByID
in interface ProfileManager
fieldID
- remove all user profile data associated with this profile field id.public void userCreated(UserEvent event)
UserListener
userCreated
in interface UserListener
event
- the UserEventpublic void userDeleted(UserEvent event)
UserListener
userDeleted
in interface UserListener
event
- the UserEventpublic void userModified(UserEvent event)
UserListener
userModified
in interface UserListener
event
- the UserEvent
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |