com.liferay.portal.security.membershippolicy
Class RoleMembershipPolicyUtil
java.lang.Object
com.liferay.portal.security.membershippolicy.RoleMembershipPolicyUtil
public class RoleMembershipPolicyUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoleMembershipPolicyUtil
public RoleMembershipPolicyUtil()
checkRoles
public static void checkRoles(long[] userIds,
long[] addRoleIds,
long[] removeRoleIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
isRoleAllowed
public static boolean isRoleAllowed(long userId,
long roleId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
isRoleRequired
public static boolean isRoleRequired(long userId,
long roleId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
propagateRoles
public static void propagateRoles(long[] userIds,
long[] addRoleIds,
long[] removeRoleIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
verifyPolicy
public static void verifyPolicy()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
verifyPolicy
public static void verifyPolicy(Role role)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
verifyPolicy
public static void verifyPolicy(Role role,
Role oldRole,
Map<String,Serializable> oldExpandoAttributes)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException