com.liferay.portal.security.membershippolicy
Class UserGroupMembershipPolicyUtil
java.lang.Object
com.liferay.portal.security.membershippolicy.UserGroupMembershipPolicyUtil
public class UserGroupMembershipPolicyUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserGroupMembershipPolicyUtil
public UserGroupMembershipPolicyUtil()
checkMembership
public static void checkMembership(long[] userIds,
long[] addUserGroupIds,
long[] removeUserGroupIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
isMembershipAllowed
public static boolean isMembershipAllowed(long userId,
long userGroupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
isMembershipRequired
public static boolean isMembershipRequired(long userId,
long userGroupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
propagateMembership
public static void propagateMembership(long[] userIds,
long[] addUserGroupIds,
long[] removeUserGroupIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
verifyPolicy
public static void verifyPolicy()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
verifyPolicy
public static void verifyPolicy(UserGroup userGroup)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
verifyPolicy
public static void verifyPolicy(UserGroup userGroup,
UserGroup oldUserGroup,
Map<String,Serializable> oldExpandoAttributes)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException