Liferay 7.0-ce-m2

com.liferay.portlet.bookmarks.service.permission
Class BookmarksEntryPermission

java.lang.Object
  extended by com.liferay.portlet.bookmarks.service.permission.BookmarksEntryPermission
All Implemented Interfaces:
BaseModelPermissionChecker, ResourcePermissionChecker

public class BookmarksEntryPermission
extends Object
implements BaseModelPermissionChecker, ResourcePermissionChecker


Constructor Summary
BookmarksEntryPermission()
           
 
Method Summary
static void check(PermissionChecker permissionChecker, BookmarksEntry entry, String actionId)
           
static void check(PermissionChecker permissionChecker, long entryId, String actionId)
           
 void checkBaseModel(PermissionChecker permissionChecker, long groupId, long primaryKey, String actionId)
           
 Boolean checkResource(PermissionChecker permissionChecker, long classPK, String actionId)
           
static boolean contains(PermissionChecker permissionChecker, BookmarksEntry entry, String actionId)
           
static boolean contains(PermissionChecker permissionChecker, long entryId, String actionId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookmarksEntryPermission

public BookmarksEntryPermission()
Method Detail

check

public static void check(PermissionChecker permissionChecker,
                         BookmarksEntry entry,
                         String actionId)
                  throws PortalException
Throws:
PortalException

check

public static void check(PermissionChecker permissionChecker,
                         long entryId,
                         String actionId)
                  throws PortalException
Throws:
PortalException

contains

public static boolean contains(PermissionChecker permissionChecker,
                               BookmarksEntry entry,
                               String actionId)
                        throws PortalException
Throws:
PortalException

contains

public static boolean contains(PermissionChecker permissionChecker,
                               long entryId,
                               String actionId)
                        throws PortalException
Throws:
PortalException

checkBaseModel

public void checkBaseModel(PermissionChecker permissionChecker,
                           long groupId,
                           long primaryKey,
                           String actionId)
                    throws PortalException
Specified by:
checkBaseModel in interface BaseModelPermissionChecker
Throws:
PortalException

checkResource

public Boolean checkResource(PermissionChecker permissionChecker,
                             long classPK,
                             String actionId)
                      throws PortalException
Specified by:
checkResource in interface ResourcePermissionChecker
Throws:
PortalException

Liferay 7.0-ce-m2