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
The interface for the s c license remote service.
Never modify or reference this interface directly. Always use SCLicenseServiceUtil
to access the s c license remote service. Add custom service methods to SCLicenseServiceImpl
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:
SCLicenseServiceUtil
,
SCLicenseServiceBaseImpl
,
SCLicenseServiceImpl
- 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