@ProviderType
public abstract class SCLicenseLocalServiceBaseImpl
extends com.liferay.portal.service.BaseLocalServiceImpl
implements com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in SCLicenseLocalServiceImpl.
SCLicenseLocalServiceImpl,
SCLicenseLocalServiceUtil| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.counter.service.CounterLocalService |
counterLocalService |
protected com.liferay.portal.service.PersistedModelLocalServiceRegistry |
persistedModelLocalServiceRegistry |
protected com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService |
scLicenseLocalService |
protected com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence |
scLicensePersistence |
protected com.liferay.portlet.softwarecatalog.service.SCLicenseService |
scLicenseService |
protected com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService |
scProductEntryLocalService |
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence |
scProductEntryPersistence |
protected com.liferay.portlet.softwarecatalog.service.SCProductEntryService |
scProductEntryService |
| Constructor and Description |
|---|
SCLicenseLocalServiceBaseImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portlet.softwarecatalog.model.SCLicense |
addSCLicense(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
Adds the s c license to the database.
|
void |
addSCProductEntrySCLicense(long productEntryId,
long licenseId) |
void |
addSCProductEntrySCLicense(long productEntryId,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense) |
void |
addSCProductEntrySCLicenses(long productEntryId,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> SCLicenses) |
void |
addSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds) |
void |
afterPropertiesSet() |
void |
clearSCProductEntrySCLicenses(long productEntryId) |
com.liferay.portlet.softwarecatalog.model.SCLicense |
createSCLicense(long licenseId)
Creates a new s c license with the primary key.
|
com.liferay.portal.model.PersistedModel |
deletePersistedModel(com.liferay.portal.model.PersistedModel persistedModel) |
com.liferay.portlet.softwarecatalog.model.SCLicense |
deleteSCLicense(long licenseId)
Deletes the s c license with the primary key from the database.
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
deleteSCLicense(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
Deletes the s c license from the database.
|
void |
deleteSCProductEntrySCLicense(long productEntryId,
long licenseId) |
void |
deleteSCProductEntrySCLicense(long productEntryId,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense) |
void |
deleteSCProductEntrySCLicenses(long productEntryId,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> SCLicenses) |
void |
deleteSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds) |
void |
destroy() |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
fetchSCLicense(long licenseId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.counter.service.CounterLocalService |
getCounterLocalService()
Returns the counter local service.
|
protected java.lang.Class<?> |
getModelClass() |
protected java.lang.String |
getModelClassName() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
com.liferay.portlet.softwarecatalog.model.SCLicense |
getSCLicense(long licenseId)
Returns the s c license with the primary key.
|
com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService |
getSCLicenseLocalService()
Returns the s c license local service.
|
com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence |
getSCLicensePersistence()
Returns the s c license persistence.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
getSCLicenses(int start,
int end)
Returns a range of all the s c licenses.
|
int |
getSCLicensesCount()
Returns the number of s c licenses.
|
com.liferay.portlet.softwarecatalog.service.SCLicenseService |
getSCLicenseService()
Returns the s c license remote service.
|
com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService |
getSCProductEntryLocalService()
Returns the s c product entry local service.
|
com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence |
getSCProductEntryPersistence()
Returns the s c product entry persistence.
|
long[] |
getSCProductEntryPrimaryKeys(long licenseId)
Returns the productEntryIds of the s c product entries associated with the s c license.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
getSCProductEntrySCLicenses(long productEntryId) |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
getSCProductEntrySCLicenses(long productEntryId,
int start,
int end) |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
getSCProductEntrySCLicenses(long productEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator) |
int |
getSCProductEntrySCLicensesCount(long productEntryId) |
com.liferay.portlet.softwarecatalog.service.SCProductEntryService |
getSCProductEntryService()
Returns the s c product entry remote service.
|
boolean |
hasSCProductEntrySCLicense(long productEntryId,
long licenseId) |
boolean |
hasSCProductEntrySCLicenses(long productEntryId) |
protected void |
initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery) |
protected void |
runSQL(java.lang.String sql)
Performs a SQL query.
|
void |
setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
Sets the counter local service.
|
void |
setSCLicenseLocalService(com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService scLicenseLocalService)
Sets the s c license local service.
|
void |
setSCLicensePersistence(com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence)
Sets the s c license persistence.
|
void |
setSCLicenseService(com.liferay.portlet.softwarecatalog.service.SCLicenseService scLicenseService)
Sets the s c license remote service.
|
void |
setSCProductEntryLocalService(com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService scProductEntryLocalService)
Sets the s c product entry local service.
|
void |
setSCProductEntryPersistence(com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence)
Sets the s c product entry persistence.
|
void |
setSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds) |
void |
setSCProductEntryService(com.liferay.portlet.softwarecatalog.service.SCProductEntryService scProductEntryService)
Sets the s c product entry remote service.
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
updateSCLicense(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
Updates the s c license in the database or adds it if it does not yet exist.
|
getClassLoader, getLocalizationMap@BeanReference(type=com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService.class) protected com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService scLicenseLocalService
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.SCLicenseService.class) protected com.liferay.portlet.softwarecatalog.service.SCLicenseService scLicenseService
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence
@BeanReference(type=com.liferay.counter.service.CounterLocalService.class) protected com.liferay.counter.service.CounterLocalService counterLocalService
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService.class) protected com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService scProductEntryLocalService
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.SCProductEntryService.class) protected com.liferay.portlet.softwarecatalog.service.SCProductEntryService scProductEntryService
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence
@BeanReference(type=com.liferay.portal.service.PersistedModelLocalServiceRegistry.class) protected com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
@Indexable(type=REINDEX) public com.liferay.portlet.softwarecatalog.model.SCLicense addSCLicense(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
addSCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicescLicense - the s c licensepublic com.liferay.portlet.softwarecatalog.model.SCLicense createSCLicense(long licenseId)
createSCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicelicenseId - the primary key for the new s c license@Indexable(type=DELETE)
public com.liferay.portlet.softwarecatalog.model.SCLicense deleteSCLicense(long licenseId)
throws com.liferay.portal.kernel.exception.PortalException
deleteSCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicelicenseId - the primary key of the s c licensecom.liferay.portal.kernel.exception.PortalException - if a s c license with the primary key could not be found@Indexable(type=DELETE) public com.liferay.portlet.softwarecatalog.model.SCLicense deleteSCLicense(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
deleteSCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicescLicense - the s c licensepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCLicenseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCLicenseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic com.liferay.portlet.softwarecatalog.model.SCLicense fetchSCLicense(long licenseId)
fetchSCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicepublic com.liferay.portlet.softwarecatalog.model.SCLicense getSCLicense(long licenseId)
throws com.liferay.portal.kernel.exception.PortalException
getSCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicelicenseId - the primary key of the s c licensecom.liferay.portal.kernel.exception.PortalException - if a s c license with the primary key could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServiceprotected void initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery)
public com.liferay.portal.model.PersistedModel deletePersistedModel(com.liferay.portal.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface com.liferay.portal.service.PersistedModelLocalServicedeletePersistedModel in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface com.liferay.portal.service.PersistedModelLocalServicegetPersistedModel in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCLicenseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getSCLicenses in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicestart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)public int getSCLicensesCount()
getSCLicensesCount in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService@Indexable(type=REINDEX) public com.liferay.portlet.softwarecatalog.model.SCLicense updateSCLicense(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
updateSCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicescLicense - the s c licensepublic void addSCProductEntrySCLicense(long productEntryId,
long licenseId)
addSCProductEntrySCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicepublic void addSCProductEntrySCLicense(long productEntryId,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
addSCProductEntrySCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicepublic void addSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds)
addSCProductEntrySCLicenses in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicepublic void addSCProductEntrySCLicenses(long productEntryId,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> SCLicenses)
addSCProductEntrySCLicenses in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicepublic void clearSCProductEntrySCLicenses(long productEntryId)
clearSCProductEntrySCLicenses in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicepublic void deleteSCProductEntrySCLicense(long productEntryId,
long licenseId)
deleteSCProductEntrySCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicepublic void deleteSCProductEntrySCLicense(long productEntryId,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
deleteSCProductEntrySCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicepublic void deleteSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds)
deleteSCProductEntrySCLicenses in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicepublic void deleteSCProductEntrySCLicenses(long productEntryId,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> SCLicenses)
deleteSCProductEntrySCLicenses in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicepublic long[] getSCProductEntryPrimaryKeys(long licenseId)
getSCProductEntryPrimaryKeys in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicelicenseId - the licenseId of the s c licensepublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCProductEntrySCLicenses(long productEntryId)
getSCProductEntrySCLicenses in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicepublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCProductEntrySCLicenses(long productEntryId,
int start,
int end)
getSCProductEntrySCLicenses in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicepublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCProductEntrySCLicenses(long productEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCLicense> orderByComparator)
getSCProductEntrySCLicenses in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicepublic int getSCProductEntrySCLicensesCount(long productEntryId)
getSCProductEntrySCLicensesCount in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicepublic boolean hasSCProductEntrySCLicense(long productEntryId,
long licenseId)
hasSCProductEntrySCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicepublic boolean hasSCProductEntrySCLicenses(long productEntryId)
hasSCProductEntrySCLicenses in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicepublic void setSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds)
setSCProductEntrySCLicenses in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServicepublic com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService getSCLicenseLocalService()
public void setSCLicenseLocalService(com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService scLicenseLocalService)
scLicenseLocalService - the s c license local servicepublic com.liferay.portlet.softwarecatalog.service.SCLicenseService getSCLicenseService()
public void setSCLicenseService(com.liferay.portlet.softwarecatalog.service.SCLicenseService scLicenseService)
scLicenseService - the s c license remote servicepublic com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence getSCLicensePersistence()
public void setSCLicensePersistence(com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence)
scLicensePersistence - the s c license persistencepublic com.liferay.counter.service.CounterLocalService getCounterLocalService()
public void setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
counterLocalService - the counter local servicepublic com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService getSCProductEntryLocalService()
public void setSCProductEntryLocalService(com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService scProductEntryLocalService)
scProductEntryLocalService - the s c product entry local servicepublic com.liferay.portlet.softwarecatalog.service.SCProductEntryService getSCProductEntryService()
public void setSCProductEntryService(com.liferay.portlet.softwarecatalog.service.SCProductEntryService scProductEntryService)
scProductEntryService - the s c product entry remote servicepublic com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence getSCProductEntryPersistence()
public void setSCProductEntryPersistence(com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence)
scProductEntryPersistence - the s c product entry persistencepublic void afterPropertiesSet()
public void destroy()
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiServicegetOSGiServiceIdentifier in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServiceprotected java.lang.Class<?> getModelClass()
protected java.lang.String getModelClassName()
protected void runSQL(java.lang.String sql)
sql - the sql query