nl.surfnet.coin.api.service
Class PersonServiceImpl

java.lang.Object
  extended by nl.surfnet.coin.api.service.PersonServiceImpl
All Implemented Interfaces:
PersonService

@Component(value="ldapService")
public class PersonServiceImpl
extends Object
implements PersonService


Constructor Summary
PersonServiceImpl()
           
 
Method Summary
 GroupMembersEntry getGroupMembers(String groupId, String onBehalfOf, String spEntityId, Integer count, Integer startIndex, String sortBy)
          Get the group members of the given group.
 PersonEntry getPerson(String userId, String onBehalfOf, String spEntityId)
          Get the OpenSocial Person.
 void setArpEnforcer(PersonARPEnforcer arpEnforcer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersonServiceImpl

public PersonServiceImpl()
Method Detail

getPerson

public PersonEntry getPerson(String userId,
                             String onBehalfOf,
                             String spEntityId)
Description copied from interface: PersonService
Get the OpenSocial Person. Note that the onBehalfOf can be null.

Specified by:
getPerson in interface PersonService
Parameters:
userId - the unique identifier
onBehalfOf - the unique identifier of the user on behalf of whom the request is made.
spEntityId - the entity that performs the request
Returns:
the PersonEntry

getGroupMembers

public GroupMembersEntry getGroupMembers(String groupId,
                                         String onBehalfOf,
                                         String spEntityId,
                                         Integer count,
                                         Integer startIndex,
                                         String sortBy)
Description copied from interface: PersonService
Get the group members of the given group. Note that the onBehalfOf can be null.

Specified by:
getGroupMembers in interface PersonService
Parameters:
groupId - String the unique identifier for the group
onBehalfOf - the unique identifier of the user on behalf of whom the request is made.
spEntityId - the entity that performs the request
count - nr of records to fetch
startIndex - first record nr.
sortBy - field to sort by.
Returns:
an ArrayList containing Person's

setArpEnforcer

public void setArpEnforcer(PersonARPEnforcer arpEnforcer)


Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.