com.liferay.portlet.softwarecatalog.service.impl
Class SCLicenseLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.softwarecatalog.service.base.SCLicenseLocalServiceBaseImpl
com.liferay.portlet.softwarecatalog.service.impl.SCLicenseLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, SCLicenseLocalService
public class SCLicenseLocalServiceImpl
- extends SCLicenseLocalServiceBaseImpl
|
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, deletePersistedModel, deleteSCLicense, deleteSCLicense, deleteSCProductEntrySCLicense, deleteSCProductEntrySCLicense, deleteSCProductEntrySCLicenses, deleteSCProductEntrySCLicenses, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchSCLicense, getActionableDynamicQuery, getCounterLocalService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getSCLicense, getSCLicenseLocalService, getSCLicensePersistence, getSCLicenses, getSCLicensesCount, getSCLicenseService, getSCProductEntryLocalService, getSCProductEntryPersistence, getSCProductEntryPrimaryKeys, getSCProductEntrySCLicenses, getSCProductEntrySCLicenses, getSCProductEntrySCLicenses, getSCProductEntrySCLicensesCount, getSCProductEntryService, hasSCProductEntrySCLicense, hasSCProductEntrySCLicenses, initActionableDynamicQuery, runSQL, setCounterLocalService, setSCLicenseLocalService, setSCLicensePersistence, setSCLicenseService, setSCProductEntryLocalService, setSCProductEntryPersistence, setSCProductEntrySCLicenses, setSCProductEntryService, updateSCLicense |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCLicenseLocalServiceImpl
public SCLicenseLocalServiceImpl()
addLicense
public SCLicense addLicense(String name,
String url,
boolean openSource,
boolean active,
boolean recommended)
throws PortalException
- Throws:
PortalException
deleteLicense
public void deleteLicense(long licenseId)
throws PortalException
- Throws:
PortalException
deleteLicense
public void deleteLicense(SCLicense license)
getLicense
public SCLicense getLicense(long licenseId)
throws PortalException
- Throws:
PortalException
getLicenses
public List<SCLicense> getLicenses()
getLicenses
public List<SCLicense> getLicenses(boolean active,
boolean recommended)
getLicenses
public List<SCLicense> getLicenses(boolean active,
boolean recommended,
int start,
int end)
getLicenses
public List<SCLicense> getLicenses(int start,
int end)
getLicensesCount
public int getLicensesCount()
getLicensesCount
public int getLicensesCount(boolean active,
boolean recommended)
getProductEntryLicenses
public List<SCLicense> getProductEntryLicenses(long productEntryId)
updateLicense
public SCLicense updateLicense(long licenseId,
String name,
String url,
boolean openSource,
boolean active,
boolean recommended)
throws PortalException
- Throws:
PortalException
validate
protected void validate(String name)
throws PortalException
- Throws:
PortalException