Package | Description |
---|---|
org.exoplatform.forum.service |
Provides the classes necessary to manage Forums, including creating, getting, updating, deleting, moving forums.
|
org.exoplatform.services.organization |
This package provides the organization API.
|
Modifier and Type | Method and Description |
---|---|
void |
ForumService.addMember(User user,
org.exoplatform.forum.service.UserProfile profileTemplate)
Adds a new member to a forum.
|
void |
ForumService.createUserProfile(User user)
Creates a new user profile.
|
void |
ForumService.removeMember(User user)
Removes an existing member from a forum.
|
void |
ForumService.updateUserProfile(User user)
Saves the user profile.
|
Modifier and Type | Method and Description |
---|---|
User |
UserHandler.createUserInstance()
Deprecated.
This method create an User instance that implement the User
interface. The user instance is not persisted yet
|
User |
UserHandler.createUserInstance(String username)
This method create an User instance that implement the User interface.
|
User |
UserHandler.findUserByName(String userName) |
User |
UserHandler.removeUser(String userName,
boolean broadcast)
Remove an user and broadcast the event to all the registerd listener.
|
Modifier and Type | Method and Description |
---|---|
ListAccess<User> |
UserHandler.findAllUsers()
This method is used to get all the users in the database
|
org.exoplatform.commons.utils.PageList<User> |
UserHandler.findUsers(org.exoplatform.services.organization.Query query)
Deprecated.
use
UserHandler.findUsersByQuery(Query) instead |
org.exoplatform.commons.utils.PageList<User> |
UserHandler.findUsersByGroup(String groupId)
Deprecated.
use
UserHandler.findUsersByGroupId(String) instead |
ListAccess<User> |
UserHandler.findUsersByGroupId(String groupId)
This method should search and return the list of the users in a given
group.
|
ListAccess<User> |
UserHandler.findUsersByQuery(org.exoplatform.services.organization.Query query)
This method search for the users accordding to a search criteria, the query
|
org.exoplatform.commons.utils.PageList<User> |
UserHandler.getUserPageList(int pageSize)
Deprecated.
use
UserHandler.findAllUsers() instead |
Modifier and Type | Method and Description |
---|---|
void |
UserHandler.createUser(User user,
boolean broadcast)
This method is used to persist a new user object.
|
void |
MembershipHandler.linkMembership(User user,
Group group,
MembershipType m,
boolean broadcast)
Use this method to create a membership record, a relation of the user,
group and membership type.
|
void |
UserEventListener.postDelete(User user)
This method should be called after the user has been removed from the
database but not commited yet.
|
void |
UserEventListener.postSave(User user,
boolean isNew)
This method is called after the user has been saved but not commited yet
|
void |
UserEventListener.preDelete(User user)
This method is called before an user should be deleted
|
void |
UserEventListener.preSave(User user,
boolean isNew)
This method is called before the user is persisted to the database.
|
void |
UserHandler.saveUser(User user,
boolean broadcast)
This method is used to update an existing User object
|
Copyright © 2003-2017 eXo Platform SAS. All Rights Reserved.