|
Liferay 6.2.0-ce-b3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.softwarecatalog.service.SCLicenseLocalServiceWrapper
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)
|
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()
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator 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 that match the dynamic query. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query. |
SCLicense |
fetchSCLicense(long licenseId)
|
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. |
List<SCLicense> |
getSCProductEntrySCLicenses(long productEntryId)
|
List<SCLicense> |
getSCProductEntrySCLicenses(long productEntryId,
int start,
int end)
|
List<SCLicense> |
getSCProductEntrySCLicenses(long productEntryId,
int start,
int end,
OrderByComparator 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 addSCLicense(SCLicense scLicense)
throws SystemException
addSCLicense in interface SCLicenseLocalServicescLicense - the s c license
SystemException - if a system exception occurredpublic SCLicense createSCLicense(long licenseId)
createSCLicense in interface SCLicenseLocalServicelicenseId - the primary key for the new s c license
public SCLicense deleteSCLicense(long licenseId)
throws PortalException,
SystemException
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 found
SystemException - if a system exception occurred
public SCLicense deleteSCLicense(SCLicense scLicense)
throws SystemException
deleteSCLicense in interface SCLicenseLocalServicescLicense - the s c license
SystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface SCLicenseLocalService
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery in interface SCLicenseLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
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)
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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)
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface SCLicenseLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
throws SystemException
dynamicQueryCount in interface SCLicenseLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
SystemException - if a system exception occurred
public SCLicense fetchSCLicense(long licenseId)
throws SystemException
fetchSCLicense in interface SCLicenseLocalServiceSystemException
public SCLicense getSCLicense(long licenseId)
throws PortalException,
SystemException
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
SystemException - if a system exception occurred
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException,
SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface SCLicenseLocalServicePortalException
SystemException
public List<SCLicense> getSCLicenses(int start,
int end)
throws SystemException
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)
SystemException - if a system exception occurred
public int getSCLicensesCount()
throws SystemException
getSCLicensesCount in interface SCLicenseLocalServiceSystemException - if a system exception occurred
public SCLicense updateSCLicense(SCLicense scLicense)
throws SystemException
updateSCLicense in interface SCLicenseLocalServicescLicense - the s c license
SystemException - if a system exception occurred
public void addSCProductEntrySCLicense(long productEntryId,
long licenseId)
throws SystemException
addSCProductEntrySCLicense in interface SCLicenseLocalServiceSystemException - if a system exception occurred
public void addSCProductEntrySCLicense(long productEntryId,
SCLicense scLicense)
throws SystemException
addSCProductEntrySCLicense in interface SCLicenseLocalServiceSystemException - if a system exception occurred
public void addSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds)
throws SystemException
addSCProductEntrySCLicenses in interface SCLicenseLocalServiceSystemException - if a system exception occurred
public void addSCProductEntrySCLicenses(long productEntryId,
List<SCLicense> SCLicenses)
throws SystemException
addSCProductEntrySCLicenses in interface SCLicenseLocalServiceSystemException - if a system exception occurred
public void clearSCProductEntrySCLicenses(long productEntryId)
throws SystemException
clearSCProductEntrySCLicenses in interface SCLicenseLocalServiceSystemException - if a system exception occurred
public void deleteSCProductEntrySCLicense(long productEntryId,
long licenseId)
throws SystemException
deleteSCProductEntrySCLicense in interface SCLicenseLocalServiceSystemException - if a system exception occurred
public void deleteSCProductEntrySCLicense(long productEntryId,
SCLicense scLicense)
throws SystemException
deleteSCProductEntrySCLicense in interface SCLicenseLocalServiceSystemException - if a system exception occurred
public void deleteSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds)
throws SystemException
deleteSCProductEntrySCLicenses in interface SCLicenseLocalServiceSystemException - if a system exception occurred
public void deleteSCProductEntrySCLicenses(long productEntryId,
List<SCLicense> SCLicenses)
throws SystemException
deleteSCProductEntrySCLicenses in interface SCLicenseLocalServiceSystemException - if a system exception occurred
public List<SCLicense> getSCProductEntrySCLicenses(long productEntryId)
throws SystemException
getSCProductEntrySCLicenses in interface SCLicenseLocalServiceSystemException - if a system exception occurred
public List<SCLicense> getSCProductEntrySCLicenses(long productEntryId,
int start,
int end)
throws SystemException
getSCProductEntrySCLicenses in interface SCLicenseLocalServiceSystemException - if a system exception occurred
public List<SCLicense> getSCProductEntrySCLicenses(long productEntryId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
getSCProductEntrySCLicenses in interface SCLicenseLocalServiceSystemException - if a system exception occurred
public int getSCProductEntrySCLicensesCount(long productEntryId)
throws SystemException
getSCProductEntrySCLicensesCount in interface SCLicenseLocalServiceSystemException - if a system exception occurred
public boolean hasSCProductEntrySCLicense(long productEntryId,
long licenseId)
throws SystemException
hasSCProductEntrySCLicense in interface SCLicenseLocalServiceSystemException - if a system exception occurred
public boolean hasSCProductEntrySCLicenses(long productEntryId)
throws SystemException
hasSCProductEntrySCLicenses in interface SCLicenseLocalServiceSystemException - if a system exception occurred
public void setSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds)
throws SystemException
setSCProductEntrySCLicenses in interface SCLicenseLocalServiceSystemException - if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier in interface SCLicenseLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface SCLicenseLocalServicebeanIdentifier - the Spring bean ID for this bean
public SCLicense addLicense(String name,
String url,
boolean openSource,
boolean active,
boolean recommended)
throws PortalException,
SystemException
addLicense in interface SCLicenseLocalServicePortalException
SystemException
public void deleteLicense(long licenseId)
throws PortalException,
SystemException
deleteLicense in interface SCLicenseLocalServicePortalException
SystemException
public void deleteLicense(SCLicense license)
throws SystemException
deleteLicense in interface SCLicenseLocalServiceSystemException
public SCLicense getLicense(long licenseId)
throws PortalException,
SystemException
getLicense in interface SCLicenseLocalServicePortalException
SystemException
public List<SCLicense> getLicenses()
throws SystemException
getLicenses in interface SCLicenseLocalServiceSystemException
public List<SCLicense> getLicenses(boolean active,
boolean recommended)
throws SystemException
getLicenses in interface SCLicenseLocalServiceSystemException
public List<SCLicense> getLicenses(boolean active,
boolean recommended,
int start,
int end)
throws SystemException
getLicenses in interface SCLicenseLocalServiceSystemException
public List<SCLicense> getLicenses(int start,
int end)
throws SystemException
getLicenses in interface SCLicenseLocalServiceSystemException
public int getLicensesCount()
throws SystemException
getLicensesCount in interface SCLicenseLocalServiceSystemException
public int getLicensesCount(boolean active,
boolean recommended)
throws SystemException
getLicensesCount in interface SCLicenseLocalServiceSystemException
public List<SCLicense> getProductEntryLicenses(long productEntryId)
throws SystemException
getProductEntryLicenses in interface SCLicenseLocalServiceSystemException
public SCLicense updateLicense(long licenseId,
String name,
String url,
boolean openSource,
boolean active,
boolean recommended)
throws PortalException,
SystemException
updateLicense in interface SCLicenseLocalServicePortalException
SystemExceptionpublic SCLicenseLocalService getWrappedSCLicenseLocalService()
getWrappedService()
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 6.2.0-ce-b3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||