Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.softwarecatalog.service.base.SCLicenseLocalServiceBaseImpl
          extended by com.liferay.portlet.softwarecatalog.service.impl.SCLicenseLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, SCLicenseLocalService

public class SCLicenseLocalServiceImpl
extends SCLicenseLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.softwarecatalog.service.base.SCLicenseLocalServiceBaseImpl
counterLocalService, persistedModelLocalServiceRegistry, 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)
           
 void deleteLicense(SCLicense license)
           
 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, addSCProductEntrySCLicense, addSCProductEntrySCLicense, addSCProductEntrySCLicenses, addSCProductEntrySCLicenses, afterPropertiesSet, clearSCProductEntrySCLicenses, createSCLicense, deleteSCLicense, deleteSCLicense, deleteSCProductEntrySCLicense, deleteSCProductEntrySCLicense, deleteSCProductEntrySCLicenses, deleteSCProductEntrySCLicenses, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchSCLicense, getBeanIdentifier, getCounterLocalService, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSCFrameworkVersionLocalService, getSCFrameworkVersionPersistence, getSCFrameworkVersionService, getSCLicense, getSCLicenseLocalService, getSCLicensePersistence, getSCLicenses, getSCLicensesCount, getSCLicenseService, getSCProductEntryLocalService, getSCProductEntryPersistence, getSCProductEntrySCLicenses, getSCProductEntrySCLicenses, getSCProductEntrySCLicenses, getSCProductEntrySCLicensesCount, getSCProductEntryService, getSCProductScreenshotLocalService, getSCProductScreenshotPersistence, getSCProductVersionLocalService, getSCProductVersionPersistence, getSCProductVersionService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, hasSCProductEntrySCLicense, hasSCProductEntrySCLicenses, runSQL, setBeanIdentifier, setCounterLocalService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSCFrameworkVersionLocalService, setSCFrameworkVersionPersistence, setSCFrameworkVersionService, setSCLicenseLocalService, setSCLicensePersistence, setSCLicenseService, setSCProductEntryLocalService, setSCProductEntryPersistence, setSCProductEntrySCLicenses, setSCProductEntryService, setSCProductScreenshotLocalService, setSCProductScreenshotPersistence, setSCProductVersionLocalService, setSCProductVersionPersistence, setSCProductVersionService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateSCLicense, updateSCLicense
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
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

deleteLicense

public void deleteLicense(SCLicense license)
                   throws SystemException
Throws:
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.1.2-ce-ga3