|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.channels.groupsmanager.permissions.GroupsManagerDefaultPermissions
GroupsManagerDefaultPermissions answers if the Authorization Principal is able to perform specific actions on the target Group Member.
Field Summary |
Fields inherited from interface org.jasig.portal.channels.groupsmanager.GroupsManagerConstants |
ADD_REMOVE_PERMISSION, ASSIGN_PERMISSION, BASE_PACKAGE, BROWSE_MODE, COMMANDS_PACKAGE, CREATE_PERMISSION, DELETE_PERMISSION, EDIT_MODE, ENTITY_CLASSNAME, ENTITY_TAGNAME, GROUP_CLASSNAME, GROUP_TAGNAME, GROUPS_PACKAGE, MEMBERS_ONLY_MODE, OWNER, PROPERTIES_TAGNAME, ROOT_GROUP_DESCRIPTION, ROOT_GROUP_TITLE, SECURITY_PACKAGE, SELECT_MODE, SELECT_PERMISSION, UPDATE_PERMISSION, VIEW_PERMISSION, WRAPPERS_PACKAGE |
Constructor Summary | |
GroupsManagerDefaultPermissions()
put your documentation comment here |
Method Summary | |
boolean |
canAssignPermissions(IAuthorizationPrincipal ap,
IGroupMember gm)
Answers if principal can assign permissions to the target group member. |
boolean |
canCreateGroup(IAuthorizationPrincipal ap,
IGroupMember gm)
Answers if principal can create a group in the target group member. |
boolean |
canDelete(IAuthorizationPrincipal ap,
IGroupMember gm)
Answers if principal can delete the target group member. |
boolean |
canManageMembers(IAuthorizationPrincipal ap,
IGroupMember gm)
Answers if principal can manage the members in the target group member. |
boolean |
canSelect(IAuthorizationPrincipal ap,
IGroupMember gm)
Answers if principal can select the target group member. |
boolean |
canUpdate(IAuthorizationPrincipal ap,
IGroupMember gm)
Answers if principal can update the target group member. |
boolean |
canView(IAuthorizationPrincipal ap,
IGroupMember gm)
Answers if principal can view the target group member. |
boolean |
canViewProperties(IAuthorizationPrincipal ap,
IGroupMember gm)
Answers if the principal is able to view the group member properties. |
static IGroupsManagerPermissions |
getInstance()
Return the single instance of GroupsManagerDefaultPermissions. |
boolean |
isAuthorized(IAuthorizationPrincipal ap,
java.lang.String activity,
IGroupMember gm)
Answers if principal can perform the activity on the target group member. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GroupsManagerDefaultPermissions()
Method Detail |
public static IGroupsManagerPermissions getInstance()
public boolean canAssignPermissions(IAuthorizationPrincipal ap, IGroupMember gm)
canAssignPermissions
in interface IGroupsManagerPermissions
ap
- AuthorizationPrincipalgm
- IGroupMember
public boolean canCreateGroup(IAuthorizationPrincipal ap, IGroupMember gm)
canCreateGroup
in interface IGroupsManagerPermissions
ap
- AuthorizationPrincipalgm
- IGroupMember
public boolean canManageMembers(IAuthorizationPrincipal ap, IGroupMember gm)
canManageMembers
in interface IGroupsManagerPermissions
ap
- AuthorizationPrincipalgm
- IGroupMember
public boolean canDelete(IAuthorizationPrincipal ap, IGroupMember gm)
canDelete
in interface IGroupsManagerPermissions
ap
- AuthorizationPrincipalgm
- IGroupMember
public boolean canUpdate(IAuthorizationPrincipal ap, IGroupMember gm)
canUpdate
in interface IGroupsManagerPermissions
ap
- AuthorizationPrincipalgm
- IGroupMember
public boolean canSelect(IAuthorizationPrincipal ap, IGroupMember gm)
canSelect
in interface IGroupsManagerPermissions
ap
- AuthorizationPrincipalgm
- IGroupMember
public boolean canView(IAuthorizationPrincipal ap, IGroupMember gm)
canView
in interface IGroupsManagerPermissions
ap
- AuthorizationPrincipalgm
- IGroupMember
public boolean canViewProperties(IAuthorizationPrincipal ap, IGroupMember gm)
canViewProperties
in interface IGroupsManagerPermissions
ap
- IAuthorizationPrincipalgm
- IGroupMember
public boolean isAuthorized(IAuthorizationPrincipal ap, java.lang.String activity, IGroupMember gm)
ap
- AuthorizationPrincipalactivity
- Stringgm
- IGroupMember
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |