com.liferay.portal.service
Interface ResourceService
- All Known Implementing Classes:
- ResourceServiceBaseImpl, ResourceServiceImpl, ResourceServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface ResourceService
This interface defines the service. The default implementation is
ResourceServiceImpl.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
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- 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