public class MembershipPolicyException extends PortalException
Modifier and Type | Field and Description |
---|---|
static int |
ORGANIZATION_MEMBERSHIP_NOT_ALLOWED |
static int |
ORGANIZATION_MEMBERSHIP_REQUIRED |
static int |
ROLE_MEMBERSHIP_NOT_ALLOWED |
static int |
ROLE_MEMBERSHIP_REQUIRED |
static int |
SITE_MEMBERSHIP_NOT_ALLOWED |
static int |
SITE_MEMBERSHIP_REQUIRED |
static int |
USER_GROUP_MEMBERSHIP_NOT_ALLOWED |
static int |
USER_GROUP_MEMBERSHIP_REQUIRED |
Constructor and Description |
---|
MembershipPolicyException(int type) |
Modifier and Type | Method and Description |
---|---|
void |
addGroup(Group group) |
void |
addOrganization(Organization organization) |
void |
addRole(Role role) |
void |
addUser(User user) |
void |
addUserGroup(UserGroup userGroup) |
List<Group> |
getGroups() |
List<Organization> |
getOrganizations() |
List<Role> |
getRoles() |
int |
getType() |
List<UserGroup> |
getUserGroups() |
List<User> |
getUsers() |
public static final int ORGANIZATION_MEMBERSHIP_NOT_ALLOWED
public static final int ORGANIZATION_MEMBERSHIP_REQUIRED
public static final int ROLE_MEMBERSHIP_NOT_ALLOWED
public static final int ROLE_MEMBERSHIP_REQUIRED
public static final int SITE_MEMBERSHIP_NOT_ALLOWED
public static final int SITE_MEMBERSHIP_REQUIRED
public static final int USER_GROUP_MEMBERSHIP_NOT_ALLOWED
public static final int USER_GROUP_MEMBERSHIP_REQUIRED
public void addGroup(Group group)
public void addOrganization(Organization organization)
public void addRole(Role role)
public void addUser(User user)
public void addUserGroup(UserGroup userGroup)
public List<Group> getGroups()
public List<Organization> getOrganizations()
public List<Role> getRoles()
public int getType()
public List<UserGroup> getUserGroups()
public List<User> getUsers()