com.liferay.portlet.softwarecatalog.service
Interface SCLicenseService
- All Known Implementing Classes:
- SCLicenseServiceWrapper
@JSONWebService
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface SCLicenseService
The interface for the s c license 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:
SCLicenseServiceUtil
,
com.liferay.portlet.softwarecatalog.service.base.SCLicenseServiceBaseImpl
,
com.liferay.portlet.softwarecatalog.service.impl.SCLicenseServiceImpl
addLicense
SCLicense addLicense(String name,
String url,
boolean openSource,
boolean active,
boolean recommended)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteLicense
void deleteLicense(long licenseId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLicense
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCLicense getLicense(long licenseId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateLicense
SCLicense updateLicense(long licenseId,
String name,
String url,
boolean openSource,
boolean active,
boolean recommended)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException