|
Liferay 6.2.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.ResourceLocalServiceUtil
public class ResourceLocalServiceUtil
The utility for the resource local service. This utility wraps ResourceLocalServiceImpl and is the primary access point for service operations in application layer code running on the local server.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
ResourceLocalService,
ResourceLocalServiceBaseImpl,
ResourceLocalServiceImpl| Constructor Summary | |
|---|---|
ResourceLocalServiceUtil()
|
|
| Method Summary | |
|---|---|
static void |
addModelResources(AuditedModel auditedModel,
ServiceContext serviceContext)
|
static void |
addModelResources(long companyId,
long groupId,
long userId,
String name,
long primKey,
String[] groupPermissions,
String[] guestPermissions)
|
static void |
addModelResources(long companyId,
long groupId,
long userId,
String name,
String primKey,
String[] groupPermissions,
String[] guestPermissions)
|
static void |
addResources(long companyId,
long groupId,
long userId,
String name,
long primKey,
boolean portletActions,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
static void |
addResources(long companyId,
long groupId,
long userId,
String name,
String primKey,
boolean portletActions,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
static void |
addResources(long companyId,
long groupId,
String name,
boolean portletActions)
|
static void |
deleteResource(AuditedModel auditedModel,
int scope)
|
static void |
deleteResource(long companyId,
String name,
int scope,
long primKey)
|
static void |
deleteResource(long companyId,
String name,
int scope,
String primKey)
|
static String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static Resource |
getResource(long companyId,
String name,
int scope,
String primKey)
|
static ResourceLocalService |
getService()
|
static boolean |
hasUserPermissions(long userId,
long resourceId,
List<Resource> resources,
String actionId,
long[] roleIds)
|
static void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setService(ResourceLocalService service)
Deprecated. |
static void |
updateModelResources(AuditedModel auditedModel,
ServiceContext serviceContext)
|
static void |
updateResources(long companyId,
long groupId,
String name,
long primKey,
String[] groupPermissions,
String[] guestPermissions)
|
static void |
updateResources(long companyId,
long groupId,
String name,
String primKey,
String[] groupPermissions,
String[] guestPermissions)
|
static void |
updateResources(long companyId,
String name,
int scope,
String primKey,
String newPrimKey)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceLocalServiceUtil()
| Method Detail |
|---|
public static String getBeanIdentifier()
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier - the Spring bean ID for this bean
public static void addModelResources(AuditedModel auditedModel,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static void addModelResources(long companyId,
long groupId,
long userId,
String name,
long primKey,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
PortalException
SystemException
public static void addModelResources(long companyId,
long groupId,
long userId,
String name,
String primKey,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
PortalException
SystemException
public static void addResources(long companyId,
long groupId,
long userId,
String name,
long primKey,
boolean portletActions,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
PortalException
SystemException
public static void addResources(long companyId,
long groupId,
long userId,
String name,
String primKey,
boolean portletActions,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
PortalException
SystemException
public static void addResources(long companyId,
long groupId,
String name,
boolean portletActions)
throws PortalException,
SystemException
PortalException
SystemException
public static void deleteResource(AuditedModel auditedModel,
int scope)
throws PortalException,
SystemException
PortalException
SystemException
public static void deleteResource(long companyId,
String name,
int scope,
long primKey)
throws PortalException,
SystemException
PortalException
SystemException
public static void deleteResource(long companyId,
String name,
int scope,
String primKey)
throws PortalException,
SystemException
PortalException
SystemException
public static Resource getResource(long companyId,
String name,
int scope,
String primKey)
public static boolean hasUserPermissions(long userId,
long resourceId,
List<Resource> resources,
String actionId,
long[] roleIds)
throws PortalException,
SystemException
PortalException
SystemException
public static void updateModelResources(AuditedModel auditedModel,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static void updateResources(long companyId,
long groupId,
String name,
long primKey,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
PortalException
SystemException
public static void updateResources(long companyId,
long groupId,
String name,
String primKey,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
PortalException
SystemException
public static void updateResources(long companyId,
String name,
int scope,
String primKey,
String newPrimKey)
throws SystemException
SystemExceptionpublic static ResourceLocalService getService()
public void setService(ResourceLocalService service)
|
Liferay 6.2.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||