Liferay 7.0-ce-b4

com.liferay.portal.security.auth
Class PrincipalException.MustHavePermission

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.auth.PrincipalException
                      extended by com.liferay.portal.security.auth.PrincipalException.MustHavePermission
All Implemented Interfaces:
Serializable
Enclosing class:
PrincipalException

public static class PrincipalException.MustHavePermission
extends PrincipalException

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.liferay.portal.security.auth.PrincipalException
PrincipalException.MustBeAuthenticated, PrincipalException.MustBeCompanyAdmin, PrincipalException.MustBeEnabled, PrincipalException.MustBeInvokedUsingPost, PrincipalException.MustBeOmniadmin, PrincipalException.MustBePortletStrutsPath, PrincipalException.MustHavePermission
 
Field Summary
 String[] actionId
           
 long resourceId
           
 String resourceName
           
 long userId
           
 
Constructor Summary
PrincipalException.MustHavePermission(long userId, String... actionIds)
           
PrincipalException.MustHavePermission(long userId, String resourceName, long resourceId, String... actionIds)
           
PrincipalException.MustHavePermission(PermissionChecker permissionChecker, String... actionIds)
           
PrincipalException.MustHavePermission(PermissionChecker permissionChecker, String resourceName, long resourceId, String... actionIds)
           
 
Method Summary
 
Methods inherited from class com.liferay.portal.security.auth.PrincipalException
getNestedClasses
 
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

actionId

public final String[] actionId

resourceId

public final long resourceId

resourceName

public final String resourceName

userId

public final long userId
Constructor Detail

PrincipalException.MustHavePermission

public PrincipalException.MustHavePermission(long userId,
                                             String... actionIds)

PrincipalException.MustHavePermission

public PrincipalException.MustHavePermission(long userId,
                                             String resourceName,
                                             long resourceId,
                                             String... actionIds)

PrincipalException.MustHavePermission

public PrincipalException.MustHavePermission(PermissionChecker permissionChecker,
                                             String... actionIds)

PrincipalException.MustHavePermission

public PrincipalException.MustHavePermission(PermissionChecker permissionChecker,
                                             String resourceName,
                                             long resourceId,
                                             String... actionIds)

Liferay 7.0-ce-b4