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

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

deleteLicense

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

getLicense

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

updateLicense

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