Liferay 6.2-ce-ga5

com.liferay.portal.security.membershippolicy
Class MembershipPolicyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.liferay.portal.kernel.exception.NestableException
              extended by com.liferay.portal.kernel.exception.PortalException
                  extended by com.liferay.portal.security.membershippolicy.MembershipPolicyException
All Implemented Interfaces:
Serializable

public class MembershipPolicyException
extends PortalException

See Also:
Serialized Form

Field Summary
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 Summary
MembershipPolicyException(int type)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

MembershipPolicyException

public MembershipPolicyException(int type)
Method Detail

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()

Liferay 6.2-ce-ga5