Liferay 6.2-ce-ga5

com.liferay.portal.security.permission
Interface PermissionCheckerBag

All Superinterfaces:
Serializable, UserPermissionCheckerBag
All Known Implementing Classes:
PermissionCheckerBagImpl

public interface PermissionCheckerBag
extends UserPermissionCheckerBag


Method Summary
 List<Group> getGroups()
          Deprecated. As of 7.0.0, replaced by UserPermissionCheckerBag.getGroups()
 long[] getRoleIds()
           
 List<Role> getRoles()
           
 List<Group> getUserGroups()
          Deprecated. As of 7.0.0, replaced by UserPermissionCheckerBag.getUserGroups()
 List<Group> getUserOrgGroups()
          Deprecated. As of 7.0.0, replaced by UserPermissionCheckerBag.getUserOrgGroups()
 List<Organization> getUserOrgs()
          Deprecated. As of 7.0.0, replaced by UserPermissionCheckerBag.getUserOrgs()
 List<Group> getUserUserGroupGroups()
          Deprecated. As of 7.0.0, replaced by UserPermissionCheckerBag.getUserUserGroupGroups()
 boolean isCommunityAdmin(PermissionChecker permissionChecker, Group group)
          Deprecated. As of 6.1.0, renamed to isGroupAdmin(PermissionChecker, Group)
 boolean isCommunityOwner(PermissionChecker permissionChecker, Group group)
          Deprecated. As of 6.1.0, renamed to isGroupOwner(PermissionChecker, Group)
 boolean isContentReviewer(PermissionChecker permissionChecker, Group group)
           
 boolean isGroupAdmin(PermissionChecker permissionChecker, Group group)
           
 boolean isGroupMember(PermissionChecker permissionChecker, Group group)
           
 boolean isGroupOwner(PermissionChecker permissionChecker, Group group)
           
 boolean isOrganizationAdmin(PermissionChecker permissionChecker, Organization organization)
           
 boolean isOrganizationOwner(PermissionChecker permissionChecker, Organization organization)
           
 
Methods inherited from interface com.liferay.portal.security.permission.UserPermissionCheckerBag
getUserId
 

Method Detail

getGroups

List<Group> getGroups()
Deprecated. As of 7.0.0, replaced by UserPermissionCheckerBag.getGroups()

Specified by:
getGroups in interface UserPermissionCheckerBag

getRoleIds

long[] getRoleIds()

getRoles

List<Role> getRoles()

getUserGroups

List<Group> getUserGroups()
Deprecated. As of 7.0.0, replaced by UserPermissionCheckerBag.getUserGroups()

Specified by:
getUserGroups in interface UserPermissionCheckerBag

getUserOrgGroups

List<Group> getUserOrgGroups()
Deprecated. As of 7.0.0, replaced by UserPermissionCheckerBag.getUserOrgGroups()

Specified by:
getUserOrgGroups in interface UserPermissionCheckerBag

getUserOrgs

List<Organization> getUserOrgs()
Deprecated. As of 7.0.0, replaced by UserPermissionCheckerBag.getUserOrgs()

Specified by:
getUserOrgs in interface UserPermissionCheckerBag

getUserUserGroupGroups

List<Group> getUserUserGroupGroups()
Deprecated. As of 7.0.0, replaced by UserPermissionCheckerBag.getUserUserGroupGroups()

Specified by:
getUserUserGroupGroups in interface UserPermissionCheckerBag

isCommunityAdmin

boolean isCommunityAdmin(PermissionChecker permissionChecker,
                         Group group)
                         throws Exception
Deprecated. As of 6.1.0, renamed to isGroupAdmin(PermissionChecker, Group)

Throws:
Exception

isCommunityOwner

boolean isCommunityOwner(PermissionChecker permissionChecker,
                         Group group)
                         throws Exception
Deprecated. As of 6.1.0, renamed to isGroupOwner(PermissionChecker, Group)

Throws:
Exception

isContentReviewer

boolean isContentReviewer(PermissionChecker permissionChecker,
                          Group group)
                          throws Exception
Throws:
Exception

isGroupAdmin

boolean isGroupAdmin(PermissionChecker permissionChecker,
                     Group group)
                     throws Exception
Throws:
Exception

isGroupMember

boolean isGroupMember(PermissionChecker permissionChecker,
                      Group group)
                      throws Exception
Throws:
Exception

isGroupOwner

boolean isGroupOwner(PermissionChecker permissionChecker,
                     Group group)
                     throws Exception
Throws:
Exception

isOrganizationAdmin

boolean isOrganizationAdmin(PermissionChecker permissionChecker,
                            Organization organization)
                            throws Exception
Throws:
Exception

isOrganizationOwner

boolean isOrganizationOwner(PermissionChecker permissionChecker,
                            Organization organization)
                            throws Exception
Throws:
Exception

Liferay 6.2-ce-ga5