001
014
015 package com.liferay.portal.security.permission;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.model.Group;
020 import com.liferay.portal.model.Organization;
021
022
025 @ProviderType
026 public interface PermissionCheckerBag extends UserPermissionCheckerBag {
027
028 public long[] getRoleIds();
029
030
034 @Deprecated
035 public boolean isCommunityAdmin(
036 PermissionChecker permissionChecker, Group group)
037 throws Exception;
038
039
043 @Deprecated
044 public boolean isCommunityOwner(
045 PermissionChecker permissionChecker, Group group)
046 throws Exception;
047
048 public boolean isContentReviewer(
049 PermissionChecker permissionChecker, Group group)
050 throws Exception;
051
052 public boolean isGroupAdmin(
053 PermissionChecker permissionChecker, Group group)
054 throws Exception;
055
056 public boolean isGroupMember(
057 PermissionChecker permissionChecker, Group group)
058 throws Exception;
059
060 public boolean isGroupOwner(
061 PermissionChecker permissionChecker, Group group)
062 throws Exception;
063
064 public boolean isOrganizationAdmin(
065 PermissionChecker permissionChecker, Organization organization)
066 throws Exception;
067
068 public boolean isOrganizationOwner(
069 PermissionChecker permissionChecker, Organization organization)
070 throws Exception;
071
072 }