com.liferay.portlet.softwarecatalog.service
Interface SCLicenseService
- All Known Implementing Classes:
- SCLicenseServiceBaseImpl, SCLicenseServiceImpl, SCLicenseServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface SCLicenseService
This interface defines the service. The default implementation is
SCLicenseServiceImpl.
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:
SCLicenseServiceUtil- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
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