Class MembershipPolicyException
Object
Throwable
Exception
com.liferay.portal.kernel.exception.NestableException
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.security.membershippolicy.MembershipPolicyException
- All Implemented Interfaces:
Serializable
- Author:
- Brian Wing Shun Chan
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addOrganization
(Organization organization) void
void
void
addUserGroup
(UserGroup userGroup) getRoles()
int
getType()
getUsers()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ORGANIZATION_MEMBERSHIP_NOT_ALLOWED
public static final int ORGANIZATION_MEMBERSHIP_NOT_ALLOWED- See Also:
-
ORGANIZATION_MEMBERSHIP_REQUIRED
public static final int ORGANIZATION_MEMBERSHIP_REQUIRED- See Also:
-
ROLE_MEMBERSHIP_NOT_ALLOWED
public static final int ROLE_MEMBERSHIP_NOT_ALLOWED- See Also:
-
ROLE_MEMBERSHIP_REQUIRED
public static final int ROLE_MEMBERSHIP_REQUIRED- See Also:
-
SITE_MEMBERSHIP_NOT_ALLOWED
public static final int SITE_MEMBERSHIP_NOT_ALLOWED- See Also:
-
SITE_MEMBERSHIP_REQUIRED
public static final int SITE_MEMBERSHIP_REQUIRED- See Also:
-
USER_GROUP_MEMBERSHIP_NOT_ALLOWED
public static final int USER_GROUP_MEMBERSHIP_NOT_ALLOWED- See Also:
-
USER_GROUP_MEMBERSHIP_REQUIRED
public static final int USER_GROUP_MEMBERSHIP_REQUIRED- See Also:
-
-
Constructor Details
-
MembershipPolicyException
public MembershipPolicyException(int type)
-
-
Method Details
-
addGroup
-
addOrganization
-
addRole
-
addUser
-
addUserGroup
-
getGroups
-
getOrganizations
-
getRoles
-
getType
public int getType() -
getUserGroups
-
getUsers
-