Liferay 6.1.2-ce-ga3

com.liferay.portal.service
Class ResourceBlockServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.ResourceBlockServiceUtil

public class ResourceBlockServiceUtil
extends Object

The utility for the resource block remote service. This utility wraps com.liferay.portal.service.impl.ResourceBlockServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
ResourceBlockService, ResourceBlockServiceBaseImpl, com.liferay.portal.service.impl.ResourceBlockServiceImpl

Constructor Summary
ResourceBlockServiceUtil()
           
 
Method Summary
static void addCompanyScopePermission(long scopeGroupId, long companyId, String name, long roleId, String actionId)
           
static void addGroupScopePermission(long scopeGroupId, long companyId, long groupId, String name, long roleId, String actionId)
           
static void addIndividualScopePermission(long companyId, long groupId, String name, long primKey, long roleId, String actionId)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static ResourceBlockService getService()
           
static void removeAllGroupScopePermissions(long scopeGroupId, long companyId, String name, long roleId, String actionId)
           
static void removeCompanyScopePermission(long scopeGroupId, long companyId, String name, long roleId, String actionId)
           
static void removeGroupScopePermission(long scopeGroupId, long companyId, long groupId, String name, long roleId, String actionId)
           
static void removeIndividualScopePermission(long companyId, long groupId, String name, long primKey, long roleId, String actionId)
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
static void setCompanyScopePermissions(long scopeGroupId, long companyId, String name, long roleId, List<String> actionIds)
           
static void setGroupScopePermissions(long scopeGroupId, long companyId, long groupId, String name, long roleId, List<String> actionIds)
           
static void setIndividualScopePermissions(long companyId, long groupId, String name, long primKey, long roleId, List<String> actionIds)
           
static void setIndividualScopePermissions(long companyId, long groupId, String name, long primKey, Map<Long,String[]> roleIdsToActionIds)
           
 void setService(ResourceBlockService service)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceBlockServiceUtil

public ResourceBlockServiceUtil()
Method Detail

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

addCompanyScopePermission

public static void addCompanyScopePermission(long scopeGroupId,
                                             long companyId,
                                             String name,
                                             long roleId,
                                             String actionId)
                                      throws PortalException,
                                             SystemException
Throws:
PortalException
SystemException

addGroupScopePermission

public static void addGroupScopePermission(long scopeGroupId,
                                           long companyId,
                                           long groupId,
                                           String name,
                                           long roleId,
                                           String actionId)
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
SystemException

addIndividualScopePermission

public static void addIndividualScopePermission(long companyId,
                                                long groupId,
                                                String name,
                                                long primKey,
                                                long roleId,
                                                String actionId)
                                         throws PortalException,
                                                SystemException
Throws:
PortalException
SystemException

removeAllGroupScopePermissions

public static void removeAllGroupScopePermissions(long scopeGroupId,
                                                  long companyId,
                                                  String name,
                                                  long roleId,
                                                  String actionId)
                                           throws PortalException,
                                                  SystemException
Throws:
PortalException
SystemException

removeCompanyScopePermission

public static void removeCompanyScopePermission(long scopeGroupId,
                                                long companyId,
                                                String name,
                                                long roleId,
                                                String actionId)
                                         throws PortalException,
                                                SystemException
Throws:
PortalException
SystemException

removeGroupScopePermission

public static void removeGroupScopePermission(long scopeGroupId,
                                              long companyId,
                                              long groupId,
                                              String name,
                                              long roleId,
                                              String actionId)
                                       throws PortalException,
                                              SystemException
Throws:
PortalException
SystemException

removeIndividualScopePermission

public static void removeIndividualScopePermission(long companyId,
                                                   long groupId,
                                                   String name,
                                                   long primKey,
                                                   long roleId,
                                                   String actionId)
                                            throws PortalException,
                                                   SystemException
Throws:
PortalException
SystemException

setCompanyScopePermissions

public static void setCompanyScopePermissions(long scopeGroupId,
                                              long companyId,
                                              String name,
                                              long roleId,
                                              List<String> actionIds)
                                       throws PortalException,
                                              SystemException
Throws:
PortalException
SystemException

setGroupScopePermissions

public static void setGroupScopePermissions(long scopeGroupId,
                                            long companyId,
                                            long groupId,
                                            String name,
                                            long roleId,
                                            List<String> actionIds)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

setIndividualScopePermissions

public static void setIndividualScopePermissions(long companyId,
                                                 long groupId,
                                                 String name,
                                                 long primKey,
                                                 long roleId,
                                                 List<String> actionIds)
                                          throws PortalException,
                                                 SystemException
Throws:
PortalException
SystemException

setIndividualScopePermissions

public static void setIndividualScopePermissions(long companyId,
                                                 long groupId,
                                                 String name,
                                                 long primKey,
                                                 Map<Long,String[]> roleIdsToActionIds)
                                          throws PortalException,
                                                 SystemException
Throws:
PortalException
SystemException

getService

public static ResourceBlockService getService()

setService

public void setService(ResourceBlockService service)
Deprecated. 


Liferay 6.1.2-ce-ga3