com.wewebu.ow.server.ecmimpl.opencmis.users
Interface OwUsersRepository

All Known Implementing Classes:
OwUsersRepositoryAlfresco, OwUsersRepositoryLDAP

public interface OwUsersRepository

An OwUsersRepository is an abstraction for a repository from which you can get information about the users, groups and roles that are available in the system.

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

Since:
4.1.1.0

Method Summary
 Set<OwGroup> findGroupsForUserID(String userId)
           
 Set<OwGroup> findGroupsMatching(String pattern)
           
 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.
 

Method Detail

findUserByID

com.wewebu.ow.server.ecm.OwUserInfo findUserByID(String id)
                                                 throws OwUserRepositoryException
Tries to find a user by his/her ID.

Parameters:
id -
Returns:
The user with the given ID or null if not found.
Throws:
OwUserRepositoryException

findGroupsMatching

Set<OwGroup> findGroupsMatching(String pattern)
                                throws OwUserRepositoryException
Throws:
OwUserRepositoryException

findGroupsForUserID

Set<OwGroup> findGroupsForUserID(String userId)
                                 throws OwUserRepositoryException
Throws:
OwUserRepositoryException

findUsersMatching

com.wewebu.ow.server.ecm.OwObjectCollection findUsersMatching(String pattern)
                                                              throws OwUserRepositoryException
Find users that match the pattern.

Parameters:
pattern -
Returns:
a collection of OwUser.
Throws:
OwUserRepositoryException

findRolesMatching

Set<OwUserRole> findRolesMatching(String pattern)
                                  throws OwUserRepositoryException
Throws:
OwUserRepositoryException


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.