com.liferay.portlet.softwarecatalog.service
Interface SCLicenseService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface SCLicenseService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.softwarecatalog.service.impl.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.

Author:
Brian Wing Shun Chan
See Also:
SCLicenseServiceUtil

Method Summary
 SCLicense addLicense(java.lang.String name, java.lang.String url, boolean openSource, boolean active, boolean recommended)
           
 void deleteLicense(long licenseId)
           
 SCLicense getLicense(long licenseId)
           
 SCLicense updateLicense(long licenseId, java.lang.String name, java.lang.String url, boolean openSource, boolean active, boolean recommended)
           
 

Method Detail

addLicense

SCLicense addLicense(java.lang.String name,
                     java.lang.String url,
                     boolean openSource,
                     boolean active,
                     boolean recommended)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteLicense

void deleteLicense(long licenseId)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getLicense

@Transactional(propagation=SUPPORTS,
               readOnly=true)
SCLicense getLicense(long licenseId)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateLicense

SCLicense updateLicense(long licenseId,
                        java.lang.String name,
                        java.lang.String url,
                        boolean openSource,
                        boolean active,
                        boolean recommended)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException