public class DummyPermissionChecker
extends java.lang.Object
implements com.liferay.portal.kernel.security.permission.PermissionChecker
Constructor and Description |
---|
DummyPermissionChecker() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.security.permission.PermissionChecker |
clone() |
long |
getCompanyId() |
long[] |
getGuestUserRoleIds() |
long |
getOwnerRoleId() |
java.util.Map<java.lang.Object,java.lang.Object> |
getPermissionChecksMap() |
long[] |
getRoleIds(long userId,
long groupId) |
com.liferay.portal.kernel.model.User |
getUser() |
com.liferay.portal.kernel.security.permission.UserBag |
getUserBag() |
long |
getUserId() |
boolean |
hasOwnerPermission(long companyId,
java.lang.String name,
long primKey,
long ownerId,
java.lang.String actionId) |
boolean |
hasOwnerPermission(long companyId,
java.lang.String name,
java.lang.String primKey,
long ownerId,
java.lang.String actionId) |
boolean |
hasPermission(com.liferay.portal.kernel.model.Group group,
java.lang.String name,
long primKey,
java.lang.String actionId) |
boolean |
hasPermission(com.liferay.portal.kernel.model.Group group,
java.lang.String name,
java.lang.String primKey,
java.lang.String actionId) |
boolean |
hasPermission(long groupId,
java.lang.String name,
long primKey,
java.lang.String actionId) |
boolean |
hasPermission(long groupId,
java.lang.String name,
java.lang.String primKey,
java.lang.String actionId) |
void |
init(com.liferay.portal.kernel.model.User user) |
boolean |
isCheckGuest() |
boolean |
isCompanyAdmin() |
boolean |
isCompanyAdmin(long arg0) |
boolean |
isContentReviewer(long arg0,
long arg1) |
boolean |
isGroupAdmin(long arg0) |
boolean |
isGroupMember(long arg0) |
boolean |
isGroupOwner(long arg0) |
boolean |
isOmniadmin() |
boolean |
isOrganizationAdmin(long arg0) |
boolean |
isOrganizationOwner(long arg0) |
boolean |
isSignedIn() |
public com.liferay.portal.kernel.security.permission.PermissionChecker clone()
clone
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
clone
in class java.lang.Object
public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public long[] getGuestUserRoleIds()
getGuestUserRoleIds
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public long getOwnerRoleId()
getOwnerRoleId
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public java.util.Map<java.lang.Object,java.lang.Object> getPermissionChecksMap()
getPermissionChecksMap
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public long[] getRoleIds(long userId, long groupId)
getRoleIds
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public com.liferay.portal.kernel.model.User getUser()
getUser
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public com.liferay.portal.kernel.security.permission.UserBag getUserBag() throws java.lang.Exception
getUserBag
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
java.lang.Exception
public long getUserId()
getUserId
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public boolean hasOwnerPermission(long companyId, java.lang.String name, long primKey, long ownerId, java.lang.String actionId)
hasOwnerPermission
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public boolean hasOwnerPermission(long companyId, java.lang.String name, java.lang.String primKey, long ownerId, java.lang.String actionId)
hasOwnerPermission
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public boolean hasPermission(com.liferay.portal.kernel.model.Group group, java.lang.String name, long primKey, java.lang.String actionId)
hasPermission
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public boolean hasPermission(com.liferay.portal.kernel.model.Group group, java.lang.String name, java.lang.String primKey, java.lang.String actionId)
hasPermission
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public boolean hasPermission(long groupId, java.lang.String name, long primKey, java.lang.String actionId)
hasPermission
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public boolean hasPermission(long groupId, java.lang.String name, java.lang.String primKey, java.lang.String actionId)
hasPermission
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public void init(com.liferay.portal.kernel.model.User user)
init
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public boolean isCheckGuest()
isCheckGuest
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public boolean isCompanyAdmin()
isCompanyAdmin
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public boolean isCompanyAdmin(long arg0)
isCompanyAdmin
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public boolean isContentReviewer(long arg0, long arg1)
isContentReviewer
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public boolean isGroupAdmin(long arg0)
isGroupAdmin
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public boolean isGroupMember(long arg0)
isGroupMember
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public boolean isGroupOwner(long arg0)
isGroupOwner
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public boolean isOmniadmin()
isOmniadmin
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public boolean isOrganizationAdmin(long arg0)
isOrganizationAdmin
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public boolean isOrganizationOwner(long arg0)
isOrganizationOwner
in interface com.liferay.portal.kernel.security.permission.PermissionChecker
public boolean isSignedIn()
isSignedIn
in interface com.liferay.portal.kernel.security.permission.PermissionChecker