|
Liferay 6.1.10-ee-ga1 | |||||||||
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
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 |
deleteLicense(SCLicense license)
|
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)
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. |
SCLicenseLocalService |
getWrappedSCLicenseLocalService()
Deprecated. Renamed to getWrappedService() |
SCLicenseLocalService |
getWrappedService()
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedSCLicenseLocalService(SCLicenseLocalService scLicenseLocalService)
Deprecated. Renamed to 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. |
SCLicense |
updateSCLicense(SCLicense scLicense,
boolean merge)
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 SCLicenseLocalService
scLicense
- the s c license
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
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
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface SCLicenseLocalService
dynamicQuery
- the dynamic query
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 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 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 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 occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface SCLicenseLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic SCLicense fetchSCLicense(long licenseId) throws SystemException
fetchSCLicense
in interface SCLicenseLocalService
SystemException
public SCLicense getSCLicense(long licenseId) throws PortalException, SystemException
getSCLicense
in interface SCLicenseLocalService
licenseId
- 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 occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface SCLicenseLocalService
PortalException
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.
getSCLicenses
in interface SCLicenseLocalService
start
- 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 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
SystemException
- if a system exception occurredpublic SCLicense updateSCLicense(SCLicense scLicense, boolean merge) throws SystemException
updateSCLicense
in interface SCLicenseLocalService
scLicense
- the s c licensemerge
- 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 String getBeanIdentifier()
getBeanIdentifier
in interface SCLicenseLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface SCLicenseLocalService
beanIdentifier
- the Spring bean ID for this beanpublic 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 void deleteLicense(SCLicense license) throws SystemException
deleteLicense
in interface SCLicenseLocalService
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()
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.1.10-ee-ga1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |