net.incongru.berkano.user
Interface MembershipManager

All Known Implementing Classes:
MembershipManagerImpl

public interface MembershipManager

This is the interface to manage link between users and groups.

Author:
fburlet

Method Summary
 boolean isMemberOf(java.lang.Long userId, java.lang.Long groupId)
          This is checking whether a user is a member of a given group.
 

Method Detail

isMemberOf

boolean isMemberOf(java.lang.Long userId,
                   java.lang.Long groupId)
This is checking whether a user is a member of a given group.

Parameters:
userId - the id of the user
groupId - the id of the group
Returns:
true, if the user is a member of the group, false otherwise.


Copyright © 2004-2007. All Rights Reserved.