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.

Author:
Brian Wing Shun Chan
See Also:
SCLicenseLocalService

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 SCLicense createSCLicense(long licenseId)
           
static void deleteLicense(long licenseId)
           
static void deleteSCLicense(long licenseId)
           
static void deleteSCLicense(SCLicense scLicense)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, 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 start, int end)
           
static java.util.List<SCLicense> getLicenses(int start, int end)
           
static int getLicensesCount()
           
static int getLicensesCount(boolean active, boolean recommended)
           
static java.util.List<SCLicense> getProductEntryLicenses(long productEntryId)
           
static SCLicense getSCLicense(long licenseId)
           
static java.util.List<SCLicense> getSCLicenses(int start, int end)
           
static int getSCLicensesCount()
           
static SCLicenseLocalService getService()
           
 void setService(SCLicenseLocalService service)
           
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

createSCLicense

public static SCLicense createSCLicense(long licenseId)

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.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

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

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

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

getSCLicenses

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

getSCLicensesCount

public static int getSCLicensesCount()
                              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 start,
                                                    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 start,
                                                    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.SystemException
Throws:
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

getService

public static SCLicenseLocalService getService()

setService

public void setService(SCLicenseLocalService service)