Liferay 7.0-ce-a3

com.liferay.portlet.softwarecatalog.service
Interface SCLicenseService

All Superinterfaces:
BaseService
All Known Implementing Classes:
SCLicenseServiceBaseImpl, SCLicenseServiceImpl, 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, SCLicenseServiceBaseImpl, SCLicenseServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 SCLicense addLicense(String name, String url, boolean openSource, boolean active, boolean recommended)
           
 void deleteLicense(long licenseId)
           
 SCLicense getLicense(long licenseId)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 SCLicense updateLicense(long licenseId, String name, String url, boolean openSource, boolean active, boolean recommended)
           
 

Method Detail

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

Liferay 7.0-ce-a3