com.liferay.portlet.softwarecatalog.service
Interface SCLicenseService
- All Superinterfaces:
- BaseService
- All Known Implementing Classes:
- SCLicenseServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface SCLicenseService- extends BaseService
Provides the remote service interface for SCLicense. 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
- Throws:
PortalException
deleteLicense
void deleteLicense(long licenseId)
throws PortalException
- Throws:
PortalException
getLicense
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCLicense getLicense(long licenseId)
throws PortalException
- Throws:
PortalException
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Returns:
- the OSGi service identifier
updateLicense
SCLicense updateLicense(long licenseId,
String name,
String url,
boolean openSource,
boolean active,
boolean recommended)
throws PortalException
- Throws:
PortalException