com.liferay.portlet.softwarecatalog.service.impl
Class SCLicenseLocalServiceImpl
java.lang.Object
com.liferay.portlet.softwarecatalog.service.base.SCLicenseLocalServiceBaseImpl
com.liferay.portlet.softwarecatalog.service.impl.SCLicenseLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
public class SCLicenseLocalServiceImpl
- extends SCLicenseLocalServiceBaseImpl
View Source
- Author:
- Jorge Ferrer, Brian Wing Shun Chan
Fields inherited from class com.liferay.portlet.softwarecatalog.service.base.SCLicenseLocalServiceBaseImpl |
counterLocalService, counterService, scFrameworkVersionLocalService, scFrameworkVersionPersistence, scFrameworkVersionService, scLicenseLocalService, scLicensePersistence, scLicenseService, scProductEntryLocalService, scProductEntryPersistence, scProductEntryService, scProductScreenshotLocalService, scProductScreenshotPersistence, scProductVersionLocalService, scProductVersionPersistence, scProductVersionService |
Method Summary |
com.liferay.portlet.softwarecatalog.model.SCLicense |
addLicense(java.lang.String name,
java.lang.String url,
boolean openSource,
boolean active,
boolean recommended)
|
void |
deleteLicense(long licenseId)
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
getLicense(long licenseId)
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
getLicenses()
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
getLicenses(boolean active,
boolean recommended)
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
getLicenses(boolean active,
boolean recommended,
int start,
int end)
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
getLicenses(int start,
int end)
|
int |
getLicensesCount()
|
int |
getLicensesCount(boolean active,
boolean recommended)
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
getProductEntryLicenses(long productEntryId)
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
updateLicense(long licenseId,
java.lang.String name,
java.lang.String url,
boolean openSource,
boolean active,
boolean recommended)
|
protected void |
validate(java.lang.String name)
|
Methods inherited from class com.liferay.portlet.softwarecatalog.service.base.SCLicenseLocalServiceBaseImpl |
addSCLicense, createSCLicense, deleteSCLicense, deleteSCLicense, dynamicQuery, dynamicQuery, getCounterLocalService, getCounterService, getSCFrameworkVersionLocalService, getSCFrameworkVersionPersistence, getSCFrameworkVersionService, getSCLicense, getSCLicenseLocalService, getSCLicensePersistence, getSCLicenses, getSCLicensesCount, getSCLicenseService, getSCProductEntryLocalService, getSCProductEntryPersistence, getSCProductEntryService, getSCProductScreenshotLocalService, getSCProductScreenshotPersistence, getSCProductVersionLocalService, getSCProductVersionPersistence, getSCProductVersionService, runSQL, setCounterLocalService, setCounterService, setSCFrameworkVersionLocalService, setSCFrameworkVersionPersistence, setSCFrameworkVersionService, setSCLicenseLocalService, setSCLicensePersistence, setSCLicenseService, setSCProductEntryLocalService, setSCProductEntryPersistence, setSCProductEntryService, setSCProductScreenshotLocalService, setSCProductScreenshotPersistence, setSCProductVersionLocalService, setSCProductVersionPersistence, setSCProductVersionService, updateSCLicense, updateSCLicense |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCLicenseLocalServiceImpl
public SCLicenseLocalServiceImpl()
addLicense
public com.liferay.portlet.softwarecatalog.model.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 void deleteLicense(long licenseId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getLicense
public com.liferay.portlet.softwarecatalog.model.SCLicense getLicense(long licenseId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getLicenses
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getLicenses
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getLicenses
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(boolean active,
boolean recommended)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getLicenses
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(boolean active,
boolean recommended,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getLicensesCount
public int getLicensesCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getLicensesCount
public int getLicensesCount(boolean active,
boolean recommended)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getProductEntryLicenses
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getProductEntryLicenses(long productEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateLicense
public com.liferay.portlet.softwarecatalog.model.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
validate
protected void validate(java.lang.String name)
throws com.liferay.portal.PortalException
- Throws:
com.liferay.portal.PortalException