com.liferay.portlet.softwarecatalog.service
Interface SCLicenseLocalService


public interface SCLicenseLocalService

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.SCLicenseLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
SCLicenseLocalServiceUtil

Method Summary
 SCLicense addLicense(java.lang.String name, java.lang.String url, boolean openSource, boolean active, boolean recommended)
           
 SCLicense addSCLicense(SCLicense scLicense)
           
 void deleteLicense(long licenseId)
           
 void deleteSCLicense(long licenseId)
           
 void deleteSCLicense(SCLicense scLicense)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 SCLicense getLicense(long licenseId)
           
 java.util.List<SCLicense> getLicenses()
           
 java.util.List<SCLicense> getLicenses(boolean active, boolean recommended)
           
 java.util.List<SCLicense> getLicenses(boolean active, boolean recommended, int start, int end)
           
 java.util.List<SCLicense> getLicenses(int start, int end)
           
 int getLicensesCount()
           
 int getLicensesCount(boolean active, boolean recommended)
           
 java.util.List<SCLicense> getProductEntryLicenses(long productEntryId)
           
 SCLicense getSCLicense(long licenseId)
           
 java.util.List<SCLicense> getSCLicenses(int start, int end)
           
 int getSCLicensesCount()
           
 SCLicense updateLicense(long licenseId, java.lang.String name, java.lang.String url, boolean openSource, boolean active, boolean recommended)
           
 SCLicense updateSCLicense(SCLicense scLicense)
           
 

Method Detail

addSCLicense

SCLicense addSCLicense(SCLicense scLicense)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteSCLicense

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

deleteSCLicense

void deleteSCLicense(SCLicense scLicense)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSCLicense

SCLicense getSCLicense(long licenseId)
                       throws com.liferay.portal.SystemException,
                              com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getSCLicenses

java.util.List<SCLicense> getSCLicenses(int start,
                                        int end)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSCLicensesCount

int getSCLicensesCount()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateSCLicense

SCLicense updateSCLicense(SCLicense scLicense)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

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

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

getLicenses

java.util.List<SCLicense> getLicenses()
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getLicenses

java.util.List<SCLicense> getLicenses(int start,
                                      int end)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getLicenses

java.util.List<SCLicense> getLicenses(boolean active,
                                      boolean recommended)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getLicenses

java.util.List<SCLicense> getLicenses(boolean active,
                                      boolean recommended,
                                      int start,
                                      int end)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getLicensesCount

int getLicensesCount()
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getLicensesCount

int getLicensesCount(boolean active,
                     boolean recommended)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntryLicenses

java.util.List<SCLicense> getProductEntryLicenses(long productEntryId)
                                                  throws com.liferay.portal.SystemException
Throws:
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