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
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 |
getLicenses()
|
java.util.List |
getLicenses(boolean active,
boolean recommended)
|
java.util.List |
getLicenses(boolean active,
boolean recommended,
int begin,
int end)
|
java.util.List |
getLicenses(int begin,
int end)
|
int |
getLicensesCount()
|
int |
getLicensesCount(boolean active,
boolean recommended)
|
java.util.List |
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 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 getLicenses()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getLicenses
public java.util.List getLicenses(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getLicenses
public java.util.List getLicenses(boolean active,
boolean recommended)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getLicenses
public java.util.List getLicenses(boolean active,
boolean recommended,
int begin,
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 getProductEntryLicenses(long productEntryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
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