com.liferay.portlet.softwarecatalog.service
Interface SCLicenseLocalService
- public interface SCLicenseLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.softwarecatalog.service.impl.SCLicenseLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
SCLicenseLocalServiceFactory
,
SCLicenseLocalServiceUtil
Method Summary |
SCLicense |
addLicense(java.lang.String name,
java.lang.String url,
boolean openSource,
boolean active,
boolean recommended)
|
SCLicense |
addSCLicense(SCLicense model)
|
void |
afterPropertiesSet()
|
void |
deleteLicense(long licenseId)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
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)
|
SCFrameworkVersionPersistence |
getSCFrameworkVersionPersistence()
|
SCLicensePersistence |
getSCLicensePersistence()
|
SCProductEntryPersistence |
getSCProductEntryPersistence()
|
SCProductScreenshotPersistence |
getSCProductScreenshotPersistence()
|
SCProductVersionPersistence |
getSCProductVersionPersistence()
|
void |
setSCFrameworkVersionPersistence(SCFrameworkVersionPersistence scFrameworkVersionPersistence)
|
void |
setSCLicensePersistence(SCLicensePersistence scLicensePersistence)
|
void |
setSCProductEntryPersistence(SCProductEntryPersistence scProductEntryPersistence)
|
void |
setSCProductScreenshotPersistence(SCProductScreenshotPersistence scProductScreenshotPersistence)
|
void |
setSCProductVersionPersistence(SCProductVersionPersistence scProductVersionPersistence)
|
SCLicense |
updateLicense(long licenseId,
java.lang.String name,
java.lang.String url,
boolean openSource,
boolean active,
boolean recommended)
|
SCLicense |
updateSCLicense(SCLicense model)
|
addSCLicense
public SCLicense addSCLicense(SCLicense model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateSCLicense
public SCLicense updateSCLicense(SCLicense model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCLicensePersistence
public SCLicensePersistence getSCLicensePersistence()
setSCLicensePersistence
public void setSCLicensePersistence(SCLicensePersistence scLicensePersistence)
getSCFrameworkVersionPersistence
public SCFrameworkVersionPersistence getSCFrameworkVersionPersistence()
setSCFrameworkVersionPersistence
public void setSCFrameworkVersionPersistence(SCFrameworkVersionPersistence scFrameworkVersionPersistence)
getSCProductEntryPersistence
public SCProductEntryPersistence getSCProductEntryPersistence()
setSCProductEntryPersistence
public void setSCProductEntryPersistence(SCProductEntryPersistence scProductEntryPersistence)
getSCProductScreenshotPersistence
public SCProductScreenshotPersistence getSCProductScreenshotPersistence()
setSCProductScreenshotPersistence
public void setSCProductScreenshotPersistence(SCProductScreenshotPersistence scProductScreenshotPersistence)
getSCProductVersionPersistence
public SCProductVersionPersistence getSCProductVersionPersistence()
setSCProductVersionPersistence
public void setSCProductVersionPersistence(SCProductVersionPersistence scProductVersionPersistence)
afterPropertiesSet
public void afterPropertiesSet()
addLicense
public SCLicense addLicense(java.lang.String name,
java.lang.String url,
boolean openSource,
boolean active,
boolean recommended)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteLicense
public void deleteLicense(long licenseId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getLicense
public SCLicense getLicense(long licenseId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateLicense
public SCLicense updateLicense(long licenseId,
java.lang.String name,
java.lang.String url,
boolean openSource,
boolean active,
boolean recommended)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException