@ProviderType public class SCLicenseLocalServiceWrapper extends java.lang.Object implements SCLicenseLocalService, ServiceWrapper<SCLicenseLocalService>
SCLicenseLocalService.SCLicenseLocalService| Constructor and Description |
|---|
SCLicenseLocalServiceWrapper(SCLicenseLocalService scLicenseLocalService) |
| Modifier and Type | Method and Description |
|---|---|
SCLicense |
addLicense(java.lang.String name,
java.lang.String url,
boolean openSource,
boolean active,
boolean recommended) |
SCLicense |
addSCLicense(SCLicense scLicense)
Adds the s c license to the database.
|
void |
addSCProductEntrySCLicense(long productEntryId,
long licenseId) |
void |
addSCProductEntrySCLicense(long productEntryId,
SCLicense scLicense) |
void |
addSCProductEntrySCLicenses(long productEntryId,
java.util.List<SCLicense> SCLicenses) |
void |
addSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds) |
void |
clearSCProductEntrySCLicenses(long productEntryId) |
SCLicense |
createSCLicense(long licenseId)
Creates a new s c license with the primary key.
|
void |
deleteLicense(long licenseId) |
void |
deleteLicense(SCLicense license) |
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
SCLicense |
deleteSCLicense(long licenseId)
Deletes the s c license with the primary key from the database.
|
SCLicense |
deleteSCLicense(SCLicense scLicense)
Deletes the s c license from the database.
|
void |
deleteSCProductEntrySCLicense(long productEntryId,
long licenseId) |
void |
deleteSCProductEntrySCLicense(long productEntryId,
SCLicense scLicense) |
void |
deleteSCProductEntrySCLicenses(long productEntryId,
java.util.List<SCLicense> SCLicenses) |
void |
deleteSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds) |
DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(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(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
SCLicense |
fetchSCLicense(long licenseId) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
SCLicense |
getLicense(long licenseId) |
java.util.List<SCLicense> |
getLicenses() |
java.util.List<SCLicense> |
getLicenses(boolean active,
boolean recommended) |
java.util.List<SCLicense> |
getLicenses(boolean active,
boolean recommended,
int start,
int end) |
java.util.List<SCLicense> |
getLicenses(int start,
int end) |
int |
getLicensesCount() |
int |
getLicensesCount(boolean active,
boolean recommended) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<SCLicense> |
getProductEntryLicenses(long productEntryId) |
SCLicense |
getSCLicense(long licenseId)
Returns the s c license with the primary key.
|
java.util.List<SCLicense> |
getSCLicenses(int start,
int end)
Returns a range of all the s c licenses.
|
int |
getSCLicensesCount()
Returns the number of s c licenses.
|
long[] |
getSCProductEntryPrimaryKeys(long licenseId)
Returns the productEntryIds of the s c product entries associated with the s c license.
|
java.util.List<SCLicense> |
getSCProductEntrySCLicenses(long productEntryId) |
java.util.List<SCLicense> |
getSCProductEntrySCLicenses(long productEntryId,
int start,
int end) |
java.util.List<SCLicense> |
getSCProductEntrySCLicenses(long productEntryId,
int start,
int end,
OrderByComparator<SCLicense> orderByComparator) |
int |
getSCProductEntrySCLicensesCount(long productEntryId) |
SCLicenseLocalService |
getWrappedSCLicenseLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
SCLicenseLocalService |
getWrappedService() |
boolean |
hasSCProductEntrySCLicense(long productEntryId,
long licenseId) |
boolean |
hasSCProductEntrySCLicenses(long productEntryId) |
void |
setSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds) |
void |
setWrappedSCLicenseLocalService(SCLicenseLocalService scLicenseLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService) |
void |
setWrappedService(SCLicenseLocalService scLicenseLocalService) |
SCLicense |
updateLicense(long licenseId,
java.lang.String name,
java.lang.String url,
boolean openSource,
boolean active,
boolean recommended) |
SCLicense |
updateSCLicense(SCLicense scLicense)
Updates the s c license in the database or adds it if it does not yet exist.
|
public SCLicenseLocalServiceWrapper(SCLicenseLocalService scLicenseLocalService)
public SCLicense addLicense(java.lang.String name, java.lang.String url, boolean openSource, boolean active, boolean recommended) throws PortalException
addLicense in interface SCLicenseLocalServicePortalExceptionpublic SCLicense addSCLicense(SCLicense scLicense)
addSCLicense in interface SCLicenseLocalServicescLicense - the s c licensepublic void addSCProductEntrySCLicense(long productEntryId,
long licenseId)
addSCProductEntrySCLicense in interface SCLicenseLocalServicepublic void addSCProductEntrySCLicense(long productEntryId,
SCLicense scLicense)
addSCProductEntrySCLicense in interface SCLicenseLocalServicepublic void addSCProductEntrySCLicenses(long productEntryId,
java.util.List<SCLicense> SCLicenses)
addSCProductEntrySCLicenses in interface SCLicenseLocalServicepublic void addSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds)
addSCProductEntrySCLicenses in interface SCLicenseLocalServicepublic void clearSCProductEntrySCLicenses(long productEntryId)
clearSCProductEntrySCLicenses in interface SCLicenseLocalServicepublic SCLicense createSCLicense(long licenseId)
createSCLicense in interface SCLicenseLocalServicelicenseId - the primary key for the new s c licensepublic void deleteLicense(SCLicense license)
deleteLicense in interface SCLicenseLocalServicepublic void deleteLicense(long licenseId)
throws PortalException
deleteLicense in interface SCLicenseLocalServicePortalExceptionpublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface SCLicenseLocalServicePortalExceptionpublic SCLicense deleteSCLicense(long licenseId) throws PortalException
deleteSCLicense in interface SCLicenseLocalServicelicenseId - the primary key of the s c licensePortalException - if a s c license with the primary key could not be foundpublic SCLicense deleteSCLicense(SCLicense scLicense)
deleteSCLicense in interface SCLicenseLocalServicescLicense - the s c licensepublic void deleteSCProductEntrySCLicense(long productEntryId,
long licenseId)
deleteSCProductEntrySCLicense in interface SCLicenseLocalServicepublic void deleteSCProductEntrySCLicense(long productEntryId,
SCLicense scLicense)
deleteSCProductEntrySCLicense in interface SCLicenseLocalServicepublic void deleteSCProductEntrySCLicenses(long productEntryId,
java.util.List<SCLicense> SCLicenses)
deleteSCProductEntrySCLicenses in interface SCLicenseLocalServicepublic void deleteSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds)
deleteSCProductEntrySCLicenses in interface SCLicenseLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface SCLicenseLocalServicepublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface SCLicenseLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(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 com.liferay.portlet.softwarecatalog.model.impl.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 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(DynamicQuery dynamicQuery, int start, int end, 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 com.liferay.portlet.softwarecatalog.model.impl.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 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(DynamicQuery dynamicQuery)
dynamicQueryCount in interface SCLicenseLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface SCLicenseLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic SCLicense fetchSCLicense(long licenseId)
fetchSCLicense in interface SCLicenseLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface SCLicenseLocalServicepublic SCLicense getLicense(long licenseId) throws PortalException
getLicense in interface SCLicenseLocalServicePortalExceptionpublic java.util.List<SCLicense> getLicenses()
getLicenses in interface SCLicenseLocalServicepublic java.util.List<SCLicense> getLicenses(boolean active, boolean recommended)
getLicenses in interface SCLicenseLocalServicepublic java.util.List<SCLicense> getLicenses(boolean active, boolean recommended, int start, int end)
getLicenses in interface SCLicenseLocalServicepublic java.util.List<SCLicense> getLicenses(int start, int end)
getLicenses in interface SCLicenseLocalServicepublic int getLicensesCount()
getLicensesCount in interface SCLicenseLocalServicepublic int getLicensesCount(boolean active,
boolean recommended)
getLicensesCount in interface SCLicenseLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface SCLicenseLocalServicepublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface SCLicenseLocalServicePortalExceptionpublic java.util.List<SCLicense> getProductEntryLicenses(long productEntryId)
getProductEntryLicenses in interface SCLicenseLocalServicepublic SCLicense getSCLicense(long licenseId) throws PortalException
getSCLicense in interface SCLicenseLocalServicelicenseId - the primary key of the s c licensePortalException - if a s c license with the primary key could not be foundpublic java.util.List<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 com.liferay.portlet.softwarecatalog.model.impl.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 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 SCLicenseLocalServicepublic long[] getSCProductEntryPrimaryKeys(long licenseId)
getSCProductEntryPrimaryKeys in interface SCLicenseLocalServicelicenseId - the licenseId of the s c licensepublic java.util.List<SCLicense> getSCProductEntrySCLicenses(long productEntryId)
getSCProductEntrySCLicenses in interface SCLicenseLocalServicepublic java.util.List<SCLicense> getSCProductEntrySCLicenses(long productEntryId, int start, int end)
getSCProductEntrySCLicenses in interface SCLicenseLocalServicepublic java.util.List<SCLicense> getSCProductEntrySCLicenses(long productEntryId, int start, int end, OrderByComparator<SCLicense> orderByComparator)
getSCProductEntrySCLicenses in interface SCLicenseLocalServicepublic int getSCProductEntrySCLicensesCount(long productEntryId)
getSCProductEntrySCLicensesCount in interface SCLicenseLocalServicepublic boolean hasSCProductEntrySCLicense(long productEntryId,
long licenseId)
hasSCProductEntrySCLicense in interface SCLicenseLocalServicepublic boolean hasSCProductEntrySCLicenses(long productEntryId)
hasSCProductEntrySCLicenses in interface SCLicenseLocalServicepublic void setSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds)
setSCProductEntrySCLicenses in interface SCLicenseLocalServicepublic SCLicense updateLicense(long licenseId, java.lang.String name, java.lang.String url, boolean openSource, boolean active, boolean recommended) throws PortalException
updateLicense in interface SCLicenseLocalServicePortalExceptionpublic SCLicense updateSCLicense(SCLicense scLicense)
updateSCLicense in interface SCLicenseLocalServicescLicense - the s c license@Deprecated public SCLicenseLocalService getWrappedSCLicenseLocalService()
getWrappedService()@Deprecated public void setWrappedSCLicenseLocalService(SCLicenseLocalService scLicenseLocalService)
setWrappedService(com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService)public SCLicenseLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<SCLicenseLocalService>public void setWrappedService(SCLicenseLocalService scLicenseLocalService)
setWrappedService in interface ServiceWrapper<SCLicenseLocalService>