com.liferay.portlet.softwarecatalog.service
Class SCLicenseLocalServiceUtil

java.lang.Object
  extended bycom.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 model)
           
static void afterPropertiesSet()
           
static void deleteLicense(long licenseId)
           
static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static SCLicense getLicense(long licenseId)
           
static java.util.List getLicenses()
           
static java.util.List getLicenses(boolean active, boolean recommended)
           
static java.util.List getLicenses(boolean active, boolean recommended, int begin, int end)
           
static java.util.List getLicenses(int begin, int end)
           
static int getLicensesCount()
           
static int getLicensesCount(boolean active, boolean recommended)
           
static java.util.List getProductEntryLicenses(long productEntryId)
           
static SCFrameworkVersionPersistence getSCFrameworkVersionPersistence()
           
static SCLicensePersistence getSCLicensePersistence()
           
static SCProductEntryPersistence getSCProductEntryPersistence()
           
static SCProductScreenshotPersistence getSCProductScreenshotPersistence()
           
static SCProductVersionPersistence getSCProductVersionPersistence()
           
static void setSCFrameworkVersionPersistence(SCFrameworkVersionPersistence scFrameworkVersionPersistence)
           
static void setSCLicensePersistence(SCLicensePersistence scLicensePersistence)
           
static void setSCProductEntryPersistence(SCProductEntryPersistence scProductEntryPersistence)
           
static void setSCProductScreenshotPersistence(SCProductScreenshotPersistence scProductScreenshotPersistence)
           
static void setSCProductVersionPersistence(SCProductVersionPersistence scProductVersionPersistence)
           
static SCLicense updateLicense(long licenseId, java.lang.String name, java.lang.String url, boolean openSource, boolean active, boolean recommended)
           
static SCLicense updateSCLicense(SCLicense model)
           
 
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 model)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

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

dynamicQuery

public static java.util.List 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 model)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSCLicensePersistence

public static SCLicensePersistence getSCLicensePersistence()

setSCLicensePersistence

public static void setSCLicensePersistence(SCLicensePersistence scLicensePersistence)

getSCFrameworkVersionPersistence

public static SCFrameworkVersionPersistence getSCFrameworkVersionPersistence()

setSCFrameworkVersionPersistence

public static void setSCFrameworkVersionPersistence(SCFrameworkVersionPersistence scFrameworkVersionPersistence)

getSCProductEntryPersistence

public static SCProductEntryPersistence getSCProductEntryPersistence()

setSCProductEntryPersistence

public static void setSCProductEntryPersistence(SCProductEntryPersistence scProductEntryPersistence)

getSCProductScreenshotPersistence

public static SCProductScreenshotPersistence getSCProductScreenshotPersistence()

setSCProductScreenshotPersistence

public static void setSCProductScreenshotPersistence(SCProductScreenshotPersistence scProductScreenshotPersistence)

getSCProductVersionPersistence

public static SCProductVersionPersistence getSCProductVersionPersistence()

setSCProductVersionPersistence

public static void setSCProductVersionPersistence(SCProductVersionPersistence scProductVersionPersistence)

afterPropertiesSet

public static void afterPropertiesSet()

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 getLicenses()
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getLicenses

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

getLicenses

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

getLicenses

public static java.util.List 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 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