com.liferay.portlet.softwarecatalog.service
Class SCLicenseLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServiceUtil

public class SCLicenseLocalServiceUtil
extends java.lang.Object

View Source

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

This class provides static methods for the com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
SCLicenseLocalService, SCLicenseLocalServiceFactory

Constructor Summary
SCLicenseLocalServiceUtil()
           
 
Method Summary
static SCLicense addLicense(java.lang.String name, java.lang.String url, boolean openSource, boolean active, boolean recommended)
           
static SCLicense addSCLicense(SCLicense scLicense)
           
static void deleteLicense(long licenseId)
           
static void deleteSCLicense(long licenseId)
           
static void deleteSCLicense(SCLicense scLicense)
           
static java.util.List<SCLicense> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List<SCLicense> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static SCLicense getLicense(long licenseId)
           
static java.util.List<SCLicense> getLicenses()
           
static java.util.List<SCLicense> getLicenses(boolean active, boolean recommended)
           
static java.util.List<SCLicense> getLicenses(boolean active, boolean recommended, int begin, int end)
           
static java.util.List<SCLicense> getLicenses(int begin, int end)
           
static int getLicensesCount()
           
static int getLicensesCount(boolean active, boolean recommended)
           
static java.util.List<SCLicense> getProductEntryLicenses(long productEntryId)
           
static SCLicense updateLicense(long licenseId, java.lang.String name, java.lang.String url, boolean openSource, boolean active, boolean recommended)
           
static SCLicense updateSCLicense(SCLicense scLicense)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCLicenseLocalServiceUtil

public SCLicenseLocalServiceUtil()
Method Detail

addSCLicense

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

deleteSCLicense

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

deleteSCLicense

public static void deleteSCLicense(SCLicense scLicense)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<SCLicense> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<SCLicense> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                                     int begin,
                                                     int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateSCLicense

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

addLicense

public static 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

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

getLicense

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

getLicenses

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

getLicenses

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

getLicenses

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

getLicenses

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

getLicensesCount

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

getLicensesCount

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

getProductEntryLicenses

public static java.util.List<SCLicense> getProductEntryLicenses(long productEntryId)
                                                         throws com.liferay.portal.PortalException,
                                                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateLicense

public static 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