public class LiferayPortalUserManager extends Object implements PortalUserManager
| Constructor and Description |
|---|
LiferayPortalUserManager(String administratorUsername) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
createUser(PortalUserModel user2Add)
The username of one administrator is needed to perform this operation
|
static com.liferay.portal.model.Company |
getCompany()
return the companyId
|
protected static String |
getDefaultCommunityName()
read the root Default Community name from a property file and returns it
|
static String |
getDefaultCompanyWebId() |
protected static String |
getRootOrganizationName()
read the root VO name from a property file and returns it
|
PortalUserModel |
getUserByFiscalCode(String fiscalCode) |
PortalUserModel |
getUserByUsername(String username) |
List<PortalUserModel> |
listPortalUsers() |
void |
updateGroups() |
boolean |
updateUser(PortalUserModel user2Update) |
public LiferayPortalUserManager(String administratorUsername)
administratorUsername - one of the administrators username (screenname) of the portalpublic boolean createUser(PortalUserModel user2Add) throws UserManagementSystemException, UserRetrievalFault
createUser in interface PortalUserManageruser2Add - PortalUserModelUserManagementSystemExceptionUserRetrievalFaultpublic boolean updateUser(PortalUserModel user2Update) throws UserManagementSystemException, UserRetrievalFault
updateUser in interface PortalUserManageruser2Update - PortalUserModelUserManagementSystemExceptionUserRetrievalFaultpublic PortalUserModel getUserByUsername(String username) throws UserManagementSystemException
getUserByUsername in interface PortalUserManagerPortalUserModelUserManagementSystemExceptionpublic PortalUserModel getUserByFiscalCode(String fiscalCode) throws UserManagementSystemException
getUserByFiscalCode in interface PortalUserManagerPortalUserModelUserManagementSystemExceptionpublic List<PortalUserModel> listPortalUsers() throws UserManagementSystemException
listPortalUsers in interface PortalUserManagerPortalUserModel istancesUserManagementSystemExceptionpublic static com.liferay.portal.model.Company getCompany()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
webId - .com.liferay.portal.kernel.exception.PortalException - .com.liferay.portal.kernel.exception.SystemException - .public static String getDefaultCompanyWebId()
protected static String getRootOrganizationName()
protected static String getDefaultCommunityName()
Copyright © 2014. All Rights Reserved.