public class DefaultSiteMembershipPolicy
extends com.liferay.portal.kernel.security.membershippolicy.BaseSiteMembershipPolicy
Constructor and Description |
---|
DefaultSiteMembershipPolicy() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkAddUsersLimitedGroup(long[] userIds,
long[] groupIds) |
void |
checkMembership(long[] userIds,
long[] addGroupIds,
long[] removeGroupIds) |
protected List<com.liferay.portal.kernel.model.Group> |
getLimitedChildrenGroups(com.liferay.portal.kernel.model.Group group) |
boolean |
isMembershipAllowed(long userId,
long groupId) |
void |
propagateMembership(long[] userIds,
long[] addGroupIds,
long[] removeGroupIds) |
protected void |
removeUsersFromLimitedChildrenGroups(long[] userIds,
long groupId) |
protected void |
verifyLimitedParentMembership(com.liferay.portal.kernel.model.Group group) |
void |
verifyPolicy(com.liferay.portal.kernel.model.Group group) |
void |
verifyPolicy(com.liferay.portal.kernel.model.Group group,
com.liferay.portal.kernel.model.Group oldGroup,
List<com.liferay.asset.kernel.model.AssetCategory> oldAssetCategories,
List<com.liferay.asset.kernel.model.AssetTag> oldAssetTags,
Map<String,Serializable> oldExpandoAttributes,
com.liferay.portal.kernel.util.UnicodeProperties oldTypeSettingsProperties) |
public void checkMembership(long[] userIds, long[] addGroupIds, long[] removeGroupIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public boolean isMembershipAllowed(long userId, long groupId)
isMembershipAllowed
in interface com.liferay.portal.kernel.security.membershippolicy.SiteMembershipPolicy
isMembershipAllowed
in class com.liferay.portal.kernel.security.membershippolicy.BaseSiteMembershipPolicy
public void propagateMembership(long[] userIds, long[] addGroupIds, long[] removeGroupIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void verifyPolicy(com.liferay.portal.kernel.model.Group group) throws com.liferay.portal.kernel.exception.PortalException
verifyPolicy
in interface com.liferay.portal.kernel.security.membershippolicy.SiteMembershipPolicy
verifyPolicy
in class com.liferay.portal.kernel.security.membershippolicy.BaseSiteMembershipPolicy
com.liferay.portal.kernel.exception.PortalException
public void verifyPolicy(com.liferay.portal.kernel.model.Group group, com.liferay.portal.kernel.model.Group oldGroup, List<com.liferay.asset.kernel.model.AssetCategory> oldAssetCategories, List<com.liferay.asset.kernel.model.AssetTag> oldAssetTags, Map<String,Serializable> oldExpandoAttributes, com.liferay.portal.kernel.util.UnicodeProperties oldTypeSettingsProperties) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void checkAddUsersLimitedGroup(long[] userIds, long[] groupIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected List<com.liferay.portal.kernel.model.Group> getLimitedChildrenGroups(com.liferay.portal.kernel.model.Group group) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void removeUsersFromLimitedChildrenGroups(long[] userIds, long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void verifyLimitedParentMembership(com.liferay.portal.kernel.model.Group group) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException