Liferay 6.1.2-ce-ga3

com.liferay.portal.service
Interface ResourceService

All Superinterfaces:
BaseService
All Known Implementing Classes:
ResourceServiceBaseImpl, ResourceServiceImpl, ResourceServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface ResourceService
extends BaseService

The interface for the resource remote service.

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:
ResourceServiceUtil, ResourceServiceBaseImpl, ResourceServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 Resource getResource(long companyId, String name, int scope, String primKey)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 

Method Detail

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

getResource

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Resource getResource(long companyId,
                                                              String name,
                                                              int scope,
                                                              String primKey)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

Liferay 6.1.2-ce-ga3