public class AlfrescoUserGroupServiceHandler extends Object implements UserGroupServiceHandler
| Constructor and Description |
|---|
AlfrescoUserGroupServiceHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addUserCollectionToRole(String dws,
String roleName,
List<UserBean> usersList)
Adds the collection of users to the specified site group.
|
protected UserBean |
getUserBean(org.alfresco.service.cmr.repository.NodeRef personNodeRef)
Returns user bean for person node reference
|
List<UserBean> |
getUserLoginFromEmail(String dwsUrl,
List<String> emailList)
Returns a user name based on the specified e-mail address.
|
boolean |
isUserMember(String dwsUrl,
String username)
Check user on member
|
void |
setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService)
Set the authority service
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Set the node service
|
void |
setPersonService(org.alfresco.service.cmr.security.PersonService personService)
Set the person service
|
void |
setSiteService(org.alfresco.service.cmr.site.SiteService siteService)
Set site service
|
void |
setTransactionService(org.alfresco.service.transaction.TransactionService transactionService)
Set transaction service
|
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - the node service to set (NodeService)public void setPersonService(org.alfresco.service.cmr.security.PersonService personService)
personService - the person service to set (PersonService)public void setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService)
authorityService - the authority service to set (AuthorityService)public void setTransactionService(org.alfresco.service.transaction.TransactionService transactionService)
transactionService - the transaction service to set (TransactionService)public void setSiteService(org.alfresco.service.cmr.site.SiteService siteService)
siteService - the site service to set (SiteService)public void addUserCollectionToRole(String dws, String roleName, List<UserBean> usersList)
UserGroupServiceHandleraddUserCollectionToRole in interface UserGroupServiceHandlerdws - dws urlroleName - name of the site group to add users tousersList - list that contains information about the users to add (UserBean)UserGroupServiceHandler.addUserCollectionToRole(java.lang.String, java.lang.String, java.util.List)public boolean isUserMember(String dwsUrl, String username)
UserGroupServiceHandlerisUserMember in interface UserGroupServiceHandlerdwsUrl - dws urlusername - list that contains information about the users to addUserGroupServiceHandler.isUserMember(java.lang.String, java.lang.String)public List<UserBean> getUserLoginFromEmail(String dwsUrl, List<String> emailList)
UserGroupServiceHandlergetUserLoginFromEmail in interface UserGroupServiceHandlerdwsUrl - dws urlemailList - list that specifies the e-mail address of the userUserGroupServiceHandler.getUserLoginFromEmail(java.lang.String, java.util.List)protected UserBean getUserBean(org.alfresco.service.cmr.repository.NodeRef personNodeRef)
personNodeRef - the person node reference (NodeRef)Copyright © 2005–2014 Alfresco Software. All rights reserved.