Java com.liferay.portal.kernel.security.permission PermissionChecker fields, constructors, methods, implement or subclass

Example usage for Java com.liferay.portal.kernel.security.permission PermissionChecker fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.liferay.portal.kernel.security.permission PermissionChecker.

The text is from its open source code.

Implementation

com.liferay.portal.kernel.security.permission.PermissionChecker has the following implementations.
Click this link to see all its implementation.

Method

longgetCompanyId()
Returns the primary key of the user's company.
MapgetPermissionChecksMap()
UsergetUser()
longgetUserId()
Returns the primary key of the user.
booleanhasOwnerPermission(long companyId, String name, long primKey, long ownerId, String actionId)
Returns true if the user is the owner of the resource and has permission to perform the action.
booleanhasOwnerPermission(long companyId, String name, String primKey, long ownerId, String actionId)
Returns true if the user is the owner of the resource and has permission to perform the action.
booleanhasPermission(Group group, String name, long primKey, String actionId)
booleanhasPermission(Group group, String name, String primKey, String actionId)
booleanhasPermission(long groupId, String name, long primKey, String actionId)
Returns true if the user has permission to perform the action on the resource.
booleanhasPermission(long groupId, String name, String primKey, String actionId)
Returns true if the user has permission to perform the action on the resource.
booleanisCompanyAdmin()
Returns true if the user is an administrator of their company.
booleanisCompanyAdmin(long companyId)
Returns true if the user is an administrator of the company.
booleanisContentReviewer(long companyId, long groupId)
Returns true if the user is a content reviewer or has sufficient permissions to review content (i.e.
booleanisGroupAdmin(long groupId)
Returns true if the user is an administrator of the group.
booleanisGroupMember(long groupId)
Returns true if the user is a member of the group.
booleanisGroupOwner(long groupId)
Returns true if the user is the owner of the group.
booleanisOmniadmin()
Returns true if the user is a universal administrator.
booleanisSignedIn()
Returns true if the user is signed in.