com.liferay.portal.security.membershippolicy
Class MembershipPolicyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.liferay.portal.kernel.exception.NestableException
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.security.membershippolicy.MembershipPolicyException
- All Implemented Interfaces:
- Serializable
public class MembershipPolicyException
- extends PortalException
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ORGANIZATION_MEMBERSHIP_NOT_ALLOWED
public static final int ORGANIZATION_MEMBERSHIP_NOT_ALLOWED
- See Also:
- Constant Field Values
ORGANIZATION_MEMBERSHIP_REQUIRED
public static final int ORGANIZATION_MEMBERSHIP_REQUIRED
- See Also:
- Constant Field Values
ROLE_MEMBERSHIP_NOT_ALLOWED
public static final int ROLE_MEMBERSHIP_NOT_ALLOWED
- See Also:
- Constant Field Values
ROLE_MEMBERSHIP_REQUIRED
public static final int ROLE_MEMBERSHIP_REQUIRED
- See Also:
- Constant Field Values
SITE_MEMBERSHIP_NOT_ALLOWED
public static final int SITE_MEMBERSHIP_NOT_ALLOWED
- See Also:
- Constant Field Values
SITE_MEMBERSHIP_REQUIRED
public static final int SITE_MEMBERSHIP_REQUIRED
- See Also:
- Constant Field Values
USER_GROUP_MEMBERSHIP_NOT_ALLOWED
public static final int USER_GROUP_MEMBERSHIP_NOT_ALLOWED
- See Also:
- Constant Field Values
USER_GROUP_MEMBERSHIP_REQUIRED
public static final int USER_GROUP_MEMBERSHIP_REQUIRED
- See Also:
- Constant Field Values
MembershipPolicyException
public MembershipPolicyException(int type)
addGroup
public void addGroup(Group group)
addOrganization
public void addOrganization(Organization organization)
addRole
public void addRole(Role role)
addUser
public void addUser(User user)
addUserGroup
public void addUserGroup(UserGroup userGroup)
getGroups
public List<Group> getGroups()
getOrganizations
public List<Organization> getOrganizations()
getRoles
public List<Role> getRoles()
getType
public int getType()
getUserGroups
public List<UserGroup> getUserGroups()
getUsers
public List<User> getUsers()