uPortal 2.4.1
API Documentation

org.jasig.portal.channels.groupsmanager
Interface IGroupsManagerPermissions

All Known Implementing Classes:
GroupsManagerDefaultPermissions

public interface IGroupsManagerPermissions

IGroupsManagerPermissions allows servants to be created using pluggable permissions policies to reflect the needs of the master channel.

Version:
$Revision: 1.4 $
Author:
Don Fracapane

Method Summary
 boolean canAssignPermissions(IAuthorizationPrincipal ap, IGroupMember gm)
          Answers if the principal is able to assign permissions on the group member.
 boolean canCreateGroup(IAuthorizationPrincipal ap, IGroupMember gm)
          Answers if the principal is able to create a subgroup under the group member.
 boolean canDelete(IAuthorizationPrincipal ap, IGroupMember gm)
          Answers if the principal is able to delete the group member.
 boolean canManageMembers(IAuthorizationPrincipal ap, IGroupMember gm)
          Answers if the principal is able to manage the group member.
 boolean canSelect(IAuthorizationPrincipal ap, IGroupMember gm)
          Answers if the principal is able to select the group member.
 boolean canUpdate(IAuthorizationPrincipal ap, IGroupMember gm)
          Answers if the principal is able to update the group member.
 boolean canView(IAuthorizationPrincipal ap, IGroupMember gm)
          Answers if the principal is able to view the group member.
 boolean canViewProperties(IAuthorizationPrincipal ap, IGroupMember gm)
          Answers if the principal is able to view the group member properties.
 

Method Detail

canAssignPermissions

public boolean canAssignPermissions(IAuthorizationPrincipal ap,
                                    IGroupMember gm)
Answers if the principal is able to assign permissions on the group member.

Parameters:
ap - IAuthorizationPrincipal
gm - IGroupMember
Returns:
boolean

canCreateGroup

public boolean canCreateGroup(IAuthorizationPrincipal ap,
                              IGroupMember gm)
Answers if the principal is able to create a subgroup under the group member.

Parameters:
ap - IAuthorizationPrincipal
gm - IGroupMember
Returns:
boolean

canManageMembers

public boolean canManageMembers(IAuthorizationPrincipal ap,
                                IGroupMember gm)
Answers if the principal is able to manage the group member.

Parameters:
ap - IAuthorizationPrincipal
gm - IGroupMember
Returns:
boolean

canDelete

public boolean canDelete(IAuthorizationPrincipal ap,
                         IGroupMember gm)
Answers if the principal is able to delete the group member.

Parameters:
ap - IAuthorizationPrincipal
gm - IGroupMember
Returns:
boolean

canSelect

public boolean canSelect(IAuthorizationPrincipal ap,
                         IGroupMember gm)
Answers if the principal is able to select the group member.

Parameters:
ap - IAuthorizationPrincipal
gm - IGroupMember
Returns:
boolean

canUpdate

public boolean canUpdate(IAuthorizationPrincipal ap,
                         IGroupMember gm)
Answers if the principal is able to update the group member.

Parameters:
ap - IAuthorizationPrincipal
gm - IGroupMember
Returns:
boolean

canView

public boolean canView(IAuthorizationPrincipal ap,
                       IGroupMember gm)
Answers if the principal is able to view the group member.

Parameters:
ap - IAuthorizationPrincipal
gm - IGroupMember
Returns:
boolean

canViewProperties

public boolean canViewProperties(IAuthorizationPrincipal ap,
                                 IGroupMember gm)
Answers if the principal is able to view the group member properties.

Parameters:
ap - IAuthorizationPrincipal
gm - IGroupMember
Returns:
boolean

uPortal 2.4.1
API Documentation