Liferay 6.2-ce-ga5

com.liferay.portlet.softwarecatalog.service
Interface SCLicenseService

All Superinterfaces:
BaseService
All Known Implementing Classes:
SCLicenseServiceWrapper

@ProviderType
@AccessControlled
@JSONWebService
@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

Method Summary
 SCLicense addLicense(String name, String url, boolean openSource, boolean active, boolean recommended)
           
 void deleteLicense(long licenseId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 SCLicense getLicense(long licenseId)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 SCLicense updateLicense(long licenseId, String name, String url, boolean openSource, boolean active, boolean recommended)
           
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

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

Liferay 6.2-ce-ga5