com.liferay.portal.service
Interface ResourceService
- All Known Implementing Classes:
- ResourceServiceBaseImpl, ResourceServiceImpl, ResourceServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface ResourceService
The interface for the resource remote service.
Never modify or reference this interface directly. Always use ResourceServiceUtil
to access the resource remote service. Add custom service methods to ResourceServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.
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 is generated.
getResource
@Transactional(propagation=SUPPORTS,
readOnly=true)
Resource getResource(long companyId,
String name,
int scope,
String primKey)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException