Liferay 6.0.5

com.liferay.portlet.softwarecatalog.service.impl
Class SCLicenseLocalServiceImpl

java.lang.Object
  extended by com.liferay.portlet.softwarecatalog.service.base.SCLicenseLocalServiceBaseImpl
      extended by com.liferay.portlet.softwarecatalog.service.impl.SCLicenseLocalServiceImpl
All Implemented Interfaces:
SCLicenseLocalService

public class SCLicenseLocalServiceImpl
extends SCLicenseLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.softwarecatalog.service.base.SCLicenseLocalServiceBaseImpl
counterLocalService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, scFrameworkVersionLocalService, scFrameworkVersionPersistence, scFrameworkVersionService, scLicenseLocalService, scLicensePersistence, scLicenseService, scProductEntryLocalService, scProductEntryPersistence, scProductEntryService, scProductScreenshotLocalService, scProductScreenshotPersistence, scProductVersionLocalService, scProductVersionPersistence, scProductVersionService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
SCLicenseLocalServiceImpl()
           
 
Method Summary
 SCLicense addLicense(String name, String url, boolean openSource, boolean active, boolean recommended)
           
 void deleteLicense(long licenseId)
           
 SCLicense getLicense(long licenseId)
           
 List<SCLicense> getLicenses()
           
 List<SCLicense> getLicenses(boolean active, boolean recommended)
           
 List<SCLicense> getLicenses(boolean active, boolean recommended, int start, int end)
           
 List<SCLicense> getLicenses(int start, int end)
           
 int getLicensesCount()
           
 int getLicensesCount(boolean active, boolean recommended)
           
 List<SCLicense> getProductEntryLicenses(long productEntryId)
           
 SCLicense updateLicense(long licenseId, String name, String url, boolean openSource, boolean active, boolean recommended)
           
protected  void validate(String name)
           
 
Methods inherited from class com.liferay.portlet.softwarecatalog.service.base.SCLicenseLocalServiceBaseImpl
addSCLicense, createSCLicense, deleteSCLicense, deleteSCLicense, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getCounterLocalService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSCFrameworkVersionLocalService, getSCFrameworkVersionPersistence, getSCFrameworkVersionService, getSCLicense, getSCLicenseLocalService, getSCLicensePersistence, getSCLicenses, getSCLicensesCount, getSCLicenseService, getSCProductEntryLocalService, getSCProductEntryPersistence, getSCProductEntryService, getSCProductScreenshotLocalService, getSCProductScreenshotPersistence, getSCProductVersionLocalService, getSCProductVersionPersistence, getSCProductVersionService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSCFrameworkVersionLocalService, setSCFrameworkVersionPersistence, setSCFrameworkVersionService, setSCLicenseLocalService, setSCLicensePersistence, setSCLicenseService, setSCProductEntryLocalService, setSCProductEntryPersistence, setSCProductEntryService, setSCProductScreenshotLocalService, setSCProductScreenshotPersistence, setSCProductVersionLocalService, setSCProductVersionPersistence, setSCProductVersionService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateSCLicense, updateSCLicense
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCLicenseLocalServiceImpl

public SCLicenseLocalServiceImpl()
Method Detail

addLicense

public SCLicense addLicense(String name,
                            String url,
                            boolean openSource,
                            boolean active,
                            boolean recommended)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

deleteLicense

public void deleteLicense(long licenseId)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getLicense

public SCLicense getLicense(long licenseId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getLicenses

public List<SCLicense> getLicenses()
                            throws SystemException
Throws:
SystemException

getLicenses

public List<SCLicense> getLicenses(boolean active,
                                   boolean recommended)
                            throws SystemException
Throws:
SystemException

getLicenses

public List<SCLicense> getLicenses(boolean active,
                                   boolean recommended,
                                   int start,
                                   int end)
                            throws SystemException
Throws:
SystemException

getLicenses

public List<SCLicense> getLicenses(int start,
                                   int end)
                            throws SystemException
Throws:
SystemException

getLicensesCount

public int getLicensesCount()
                     throws SystemException
Throws:
SystemException

getLicensesCount

public int getLicensesCount(boolean active,
                            boolean recommended)
                     throws SystemException
Throws:
SystemException

getProductEntryLicenses

public List<SCLicense> getProductEntryLicenses(long productEntryId)
                                        throws SystemException
Throws:
SystemException

updateLicense

public SCLicense updateLicense(long licenseId,
                               String name,
                               String url,
                               boolean openSource,
                               boolean active,
                               boolean recommended)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

validate

protected void validate(String name)
                 throws PortalException
Throws:
PortalException

Liferay 6.0.5