|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.softwarecatalog.service.SCLicenseLocalServiceWrapper
@ProviderType public class SCLicenseLocalServiceWrapper
Provides a wrapper for SCLicenseLocalService.
SCLicenseLocalService| Constructor Summary | |
|---|---|
SCLicenseLocalServiceWrapper(SCLicenseLocalService scLicenseLocalService)
|
|
| Method Summary | ||
|---|---|---|
SCLicense |
addLicense(String name,
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,
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,
List<SCLicense> SCLicenses)
|
|
void |
deleteSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds)
|
|
DynamicQuery |
dynamicQuery()
|
|
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
|
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()
|
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
|
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)
|
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
|
List<SCLicense> |
getProductEntryLicenses(long productEntryId)
|
|
SCLicense |
getSCLicense(long licenseId)
Returns the s c license with the primary key. |
|
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. |
|
List<SCLicense> |
getSCProductEntrySCLicenses(long productEntryId)
|
|
List<SCLicense> |
getSCProductEntrySCLicenses(long productEntryId,
int start,
int end)
|
|
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 |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
|
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,
String name,
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. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SCLicenseLocalServiceWrapper(SCLicenseLocalService scLicenseLocalService)
| Method Detail |
|---|
public SCLicense addLicense(String name,
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 license
public void addSCProductEntrySCLicense(long productEntryId,
long licenseId)
addSCProductEntrySCLicense in interface SCLicenseLocalService
public void addSCProductEntrySCLicense(long productEntryId,
SCLicense scLicense)
addSCProductEntrySCLicense in interface SCLicenseLocalService
public void addSCProductEntrySCLicenses(long productEntryId,
List<SCLicense> SCLicenses)
addSCProductEntrySCLicenses in interface SCLicenseLocalService
public 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 license
public void deleteLicense(SCLicense license)
deleteLicense in interface SCLicenseLocalService
public void deleteLicense(long licenseId)
throws PortalException
deleteLicense in interface SCLicenseLocalServicePortalException
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface SCLicenseLocalServicePortalException
public SCLicense deleteSCLicense(long licenseId)
throws PortalException
deleteSCLicense in interface SCLicenseLocalServicelicenseId - the primary key of the s c license
PortalException - if a s c license with the primary key could not be foundpublic SCLicense deleteSCLicense(SCLicense scLicense)
deleteSCLicense in interface SCLicenseLocalServicescLicense - the s c license
public void deleteSCProductEntrySCLicense(long productEntryId,
long licenseId)
deleteSCProductEntrySCLicense in interface SCLicenseLocalService
public void deleteSCProductEntrySCLicense(long productEntryId,
SCLicense scLicense)
deleteSCProductEntrySCLicense in interface SCLicenseLocalService
public void deleteSCProductEntrySCLicenses(long productEntryId,
List<SCLicense> SCLicenses)
deleteSCProductEntrySCLicenses in interface SCLicenseLocalService
public void deleteSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds)
deleteSCProductEntrySCLicenses in interface SCLicenseLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface SCLicenseLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface SCLicenseLocalServicedynamicQuery - the dynamic query
public <T> 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 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> 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 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 query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface SCLicenseLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public SCLicense fetchSCLicense(long licenseId)
fetchSCLicense in interface SCLicenseLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface SCLicenseLocalServicepublic String getBeanIdentifier()
getBeanIdentifier in interface SCLicenseLocalService
public SCLicense getLicense(long licenseId)
throws PortalException
getLicense in interface SCLicenseLocalServicePortalExceptionpublic List<SCLicense> getLicenses()
getLicenses in interface SCLicenseLocalService
public List<SCLicense> getLicenses(boolean active,
boolean recommended)
getLicenses in interface SCLicenseLocalService
public List<SCLicense> getLicenses(boolean active,
boolean recommended,
int start,
int end)
getLicenses in interface SCLicenseLocalService
public List<SCLicense> getLicenses(int start,
int end)
getLicenses in interface SCLicenseLocalServicepublic int getLicensesCount()
getLicensesCount in interface SCLicenseLocalService
public int getLicensesCount(boolean active,
boolean recommended)
getLicensesCount in interface SCLicenseLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface SCLicenseLocalServicePortalExceptionpublic List<SCLicense> getProductEntryLicenses(long productEntryId)
getProductEntryLicenses in interface SCLicenseLocalService
public SCLicense getSCLicense(long licenseId)
throws PortalException
getSCLicense in interface SCLicenseLocalServicelicenseId - the primary key of the s c license
PortalException - if a s c license with the primary key could not be found
public 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 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 license
public List<SCLicense> getSCProductEntrySCLicenses(long productEntryId)
getSCProductEntrySCLicenses in interface SCLicenseLocalService
public List<SCLicense> getSCProductEntrySCLicenses(long productEntryId,
int start,
int end)
getSCProductEntrySCLicenses in interface SCLicenseLocalService
public List<SCLicense> getSCProductEntrySCLicenses(long productEntryId,
int start,
int end,
OrderByComparator<SCLicense> orderByComparator)
getSCProductEntrySCLicenses in interface SCLicenseLocalServicepublic int getSCProductEntrySCLicensesCount(long productEntryId)
getSCProductEntrySCLicensesCount in interface SCLicenseLocalService
public boolean hasSCProductEntrySCLicense(long productEntryId,
long licenseId)
hasSCProductEntrySCLicense in interface SCLicenseLocalServicepublic boolean hasSCProductEntrySCLicenses(long productEntryId)
hasSCProductEntrySCLicenses in interface SCLicenseLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface SCLicenseLocalServicebeanIdentifier - the Spring bean ID for this bean
public void setSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds)
setSCProductEntrySCLicenses in interface SCLicenseLocalService
public SCLicense updateLicense(long licenseId,
String name,
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>
|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||