com.liferay.portlet.softwarecatalog.service
Interface SCLicenseLocalService
- All Known Implementing Classes:
- SCLicenseLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface SCLicenseLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.softwarecatalog.service.impl.SCLicenseLocalServiceImpl
}.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
SCLicenseLocalServiceUtil
- Generated:
Method Summary |
SCLicense |
addLicense(java.lang.String name,
java.lang.String url,
boolean openSource,
boolean active,
boolean recommended)
|
SCLicense |
addSCLicense(SCLicense scLicense)
|
SCLicense |
createSCLicense(long licenseId)
|
void |
deleteLicense(long licenseId)
|
void |
deleteSCLicense(long licenseId)
|
void |
deleteSCLicense(SCLicense scLicense)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
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.util.List<SCLicense> |
getProductEntryLicenses(long productEntryId)
|
SCLicense |
getSCLicense(long licenseId)
|
java.util.List<SCLicense> |
getSCLicenses(int start,
int end)
|
int |
getSCLicensesCount()
|
SCLicense |
updateLicense(long licenseId,
java.lang.String name,
java.lang.String url,
boolean openSource,
boolean active,
boolean recommended)
|
SCLicense |
updateSCLicense(SCLicense scLicense)
|
SCLicense |
updateSCLicense(SCLicense scLicense,
boolean merge)
|
addSCLicense
SCLicense addSCLicense(SCLicense scLicense)
throws SystemException
- Throws:
SystemException
createSCLicense
SCLicense createSCLicense(long licenseId)
deleteSCLicense
void deleteSCLicense(long licenseId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteSCLicense
void deleteSCLicense(SCLicense scLicense)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getSCLicense
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCLicense getSCLicense(long licenseId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getSCLicenses
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCLicense> getSCLicenses(int start,
int end)
throws SystemException
- Throws:
SystemException
getSCLicensesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getSCLicensesCount()
throws SystemException
- Throws:
SystemException
updateSCLicense
SCLicense updateSCLicense(SCLicense scLicense)
throws SystemException
- Throws:
SystemException
updateSCLicense
SCLicense updateSCLicense(SCLicense scLicense,
boolean merge)
throws SystemException
- Throws:
SystemException
addLicense
SCLicense addLicense(java.lang.String name,
java.lang.String url,
boolean openSource,
boolean active,
boolean recommended)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteLicense
void deleteLicense(long licenseId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLicense
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCLicense getLicense(long licenseId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLicenses
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCLicense> getLicenses()
throws SystemException
- Throws:
SystemException
getLicenses
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCLicense> getLicenses(boolean active,
boolean recommended)
throws SystemException
- Throws:
SystemException
getLicenses
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCLicense> getLicenses(boolean active,
boolean recommended,
int start,
int end)
throws SystemException
- Throws:
SystemException
getLicenses
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCLicense> getLicenses(int start,
int end)
throws SystemException
- Throws:
SystemException
getLicensesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getLicensesCount()
throws SystemException
- Throws:
SystemException
getLicensesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getLicensesCount(boolean active,
boolean recommended)
throws SystemException
- Throws:
SystemException
getProductEntryLicenses
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCLicense> getProductEntryLicenses(long productEntryId)
throws SystemException
- Throws:
SystemException
updateLicense
SCLicense updateLicense(long licenseId,
java.lang.String name,
java.lang.String url,
boolean openSource,
boolean active,
boolean recommended)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException