|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServiceWrapper
public class SCLicenseLocalServiceWrapper
This class is 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. |
SCLicense |
createSCLicense(long licenseId)
Creates a new s c license with the primary key. |
void |
deleteLicense(long licenseId)
|
void |
deleteSCLicense(long licenseId)
Deletes the s c license with the primary key from the database. |
void |
deleteSCLicense(SCLicense scLicense)
Deletes the s c license from the database. |
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)
Counts the number of rows that match the dynamic query. |
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)
|
List<SCLicense> |
getProductEntryLicenses(long productEntryId)
|
SCLicense |
getSCLicense(long licenseId)
Gets the s c license with the primary key. |
List<SCLicense> |
getSCLicenses(int start,
int end)
Gets a range of all the s c licenses. |
int |
getSCLicensesCount()
Gets the number of s c licenses. |
SCLicenseLocalService |
getWrappedSCLicenseLocalService()
|
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. |
SCLicense |
updateSCLicense(SCLicense scLicense,
boolean merge)
Updates the s c license in the database. |
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 SCLicenseLocalService
scLicense
- the s c license to add
SystemException
- if a system exception occurredpublic SCLicense createSCLicense(long licenseId)
createSCLicense
in interface SCLicenseLocalService
licenseId
- the primary key for the new s c license
public void deleteSCLicense(long licenseId) throws PortalException, SystemException
deleteSCLicense
in interface SCLicenseLocalService
licenseId
- the primary key of the s c license to delete
PortalException
- if a s c license with the primary key could not be found
SystemException
- if a system exception occurredpublic void deleteSCLicense(SCLicense scLicense) throws SystemException
deleteSCLicense
in interface SCLicenseLocalService
scLicense
- the s c license to delete
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface SCLicenseLocalService
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredpublic 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.
dynamicQuery
in interface SCLicenseLocalService
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)
SystemException
- if a system exception occurredpublic 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.
dynamicQuery
in interface SCLicenseLocalService
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface SCLicenseLocalService
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredpublic SCLicense getSCLicense(long licenseId) throws PortalException, SystemException
getSCLicense
in interface SCLicenseLocalService
licenseId
- the primary key of the s c license to get
PortalException
- if a s c license with the primary key could not be found
SystemException
- if a system exception occurredpublic 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.
getSCLicenses
in interface SCLicenseLocalService
start
- the lower bound of the range of s c licenses to returnend
- the upper bound of the range of s c licenses to return (not inclusive)
SystemException
- if a system exception occurredpublic int getSCLicensesCount() throws SystemException
getSCLicensesCount
in interface SCLicenseLocalService
SystemException
- if a system exception occurredpublic SCLicense updateSCLicense(SCLicense scLicense) throws SystemException
updateSCLicense
in interface SCLicenseLocalService
scLicense
- the s c license to update
SystemException
- if a system exception occurredpublic SCLicense updateSCLicense(SCLicense scLicense, boolean merge) throws SystemException
updateSCLicense
in interface SCLicenseLocalService
scLicense
- the s c license to updatemerge
- whether to merge the s c license with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredpublic SCLicense addLicense(String name, String url, boolean openSource, boolean active, boolean recommended) throws PortalException, SystemException
addLicense
in interface SCLicenseLocalService
PortalException
SystemException
public void deleteLicense(long licenseId) throws PortalException, SystemException
deleteLicense
in interface SCLicenseLocalService
PortalException
SystemException
public SCLicense getLicense(long licenseId) throws PortalException, SystemException
getLicense
in interface SCLicenseLocalService
PortalException
SystemException
public List<SCLicense> getLicenses() throws SystemException
getLicenses
in interface SCLicenseLocalService
SystemException
public List<SCLicense> getLicenses(boolean active, boolean recommended) throws SystemException
getLicenses
in interface SCLicenseLocalService
SystemException
public List<SCLicense> getLicenses(boolean active, boolean recommended, int start, int end) throws SystemException
getLicenses
in interface SCLicenseLocalService
SystemException
public List<SCLicense> getLicenses(int start, int end) throws SystemException
getLicenses
in interface SCLicenseLocalService
SystemException
public int getLicensesCount() throws SystemException
getLicensesCount
in interface SCLicenseLocalService
SystemException
public int getLicensesCount(boolean active, boolean recommended) throws SystemException
getLicensesCount
in interface SCLicenseLocalService
SystemException
public List<SCLicense> getProductEntryLicenses(long productEntryId) throws SystemException
getProductEntryLicenses
in interface SCLicenseLocalService
SystemException
public SCLicense updateLicense(long licenseId, String name, String url, boolean openSource, boolean active, boolean recommended) throws PortalException, SystemException
updateLicense
in interface SCLicenseLocalService
PortalException
SystemException
public SCLicenseLocalService getWrappedSCLicenseLocalService()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |