com.liferay.portlet.softwarecatalog.service
Interface SCLicenseService


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:
SCLicenseServiceFactory, 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 java.rmi.RemoteException,
                            com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteLicense

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

getLicense

SCLicense getLicense(long licenseId)
                     throws java.rmi.RemoteException,
                            com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateLicense

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