public class OwUsersRepositoryAlfresco extends Object implements OwUsersRepository
User repository implementation based on a connection to an Alfresco server (Using the REST API).
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Constructor and Description |
|---|
OwUsersRepositoryAlfresco(com.wewebu.ow.server.util.OwAuthenticationConfiguration conf,
org.alfresco.wd.ext.restlet.auth.OwRestletAuthenticationHandler authHandler)
Constructor which provides all informations about repository and corresponding authentication handler.
|
OwUsersRepositoryAlfresco(String baseURL,
String userName,
String password)
Deprecated.
since 4.2.0.0 use
OwUsersRepositoryAlfresco(OwAuthenticationConfiguration, OwRestletAuthenticationHandler) instead |
| Modifier and Type | Method and Description |
|---|---|
Set<OwGroup> |
findGroupsForUserID(String id) |
Set<OwGroup> |
findGroupsMatching(String pattern)
The pattern can be applied to the group's id (shortName field in the REST response) only.
|
Set<OwUserRole> |
findRolesMatching(String pattern) |
com.wewebu.ow.server.ecm.OwUserInfo |
findUserByID(String id)
Tries to find a user by his/her ID.
|
com.wewebu.ow.server.ecm.OwObjectCollection |
findUsersMatching(String pattern)
Find users that match the pattern.
|
public OwUsersRepositoryAlfresco(String baseURL, String userName, String password)
OwUsersRepositoryAlfresco(OwAuthenticationConfiguration, OwRestletAuthenticationHandler) insteadbaseURL - userName - password - public OwUsersRepositoryAlfresco(com.wewebu.ow.server.util.OwAuthenticationConfiguration conf,
org.alfresco.wd.ext.restlet.auth.OwRestletAuthenticationHandler authHandler)
conf - OwAuthenticationConfigurationauthHandler - OwCMISRestletAuthenticationHandlerpublic com.wewebu.ow.server.ecm.OwUserInfo findUserByID(String id) throws OwUserRepositoryException
OwUsersRepositoryfindUserByID in interface OwUsersRepositoryOwUserRepositoryExceptionpublic Set<OwGroup> findGroupsMatching(String pattern) throws OwUserRepositoryException
findGroupsMatching in interface OwUsersRepositoryOwUserRepositoryExceptionpublic Set<OwGroup> findGroupsForUserID(String id) throws OwUserRepositoryException
findGroupsForUserID in interface OwUsersRepositoryOwUserRepositoryExceptionpublic com.wewebu.ow.server.ecm.OwObjectCollection findUsersMatching(String pattern) throws OwUserRepositoryException
OwUsersRepositoryfindUsersMatching in interface OwUsersRepositoryOwUser.OwUserRepositoryExceptionpublic Set<OwUserRole> findRolesMatching(String pattern) throws OwUserRepositoryException
findRolesMatching in interface OwUsersRepositoryOwUserRepositoryExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.