public class UserGroupMembershipPolicyUtil
extends Object
Constructor and Description |
---|
UserGroupMembershipPolicyUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
checkMembership(long[] userIds,
long[] addUserGroupIds,
long[] removeUserGroupIds) |
static boolean |
isMembershipAllowed(long userId,
long userGroupId) |
static boolean |
isMembershipRequired(long userId,
long userGroupId) |
static void |
propagateMembership(long[] userIds,
long[] addUserGroupIds,
long[] removeUserGroupIds) |
static void |
verifyPolicy() |
static void |
verifyPolicy(UserGroup userGroup) |
static void |
verifyPolicy(UserGroup userGroup,
UserGroup oldUserGroup,
Map<String,Serializable> oldExpandoAttributes) |
public static void checkMembership(long[] userIds, long[] addUserGroupIds, long[] removeUserGroupIds) throws PortalException
PortalException
public static boolean isMembershipAllowed(long userId, long userGroupId) throws PortalException
PortalException
public static boolean isMembershipRequired(long userId, long userGroupId) throws PortalException
PortalException
public static void propagateMembership(long[] userIds, long[] addUserGroupIds, long[] removeUserGroupIds) throws PortalException
PortalException
public static void verifyPolicy() throws PortalException
PortalException
public static void verifyPolicy(UserGroup userGroup) throws PortalException
PortalException
public static void verifyPolicy(UserGroup userGroup, UserGroup oldUserGroup, Map<String,Serializable> oldExpandoAttributes) throws PortalException
PortalException