|
Liferay 6.0.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface SCLicenseLocalServiceThe interface for the s c license local service.
Never modify or reference this interface directly. Always use SCLicenseLocalServiceUtil to access the s c license local service. Add custom service methods to SCLicenseLocalServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.
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.
SCLicenseLocalServiceUtil,
SCLicenseLocalServiceBaseImpl,
SCLicenseLocalServiceImpl| 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. |
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. |
| Method Detail |
|---|
SCLicense addSCLicense(SCLicense scLicense)
throws SystemException
scLicense - the s c license to add
SystemException - if a system exception occurredSCLicense createSCLicense(long licenseId)
licenseId - the primary key for the new s c license
void deleteSCLicense(long licenseId)
throws PortalException,
SystemException
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 occurred
void deleteSCLicense(SCLicense scLicense)
throws SystemException
scLicense - the s c license to delete
SystemException - if a system exception occurred
List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery - the dynamic query to search with
SystemException - if a system exception occurred
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 - 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 occurred
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 - 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 occurred
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery - the dynamic query to search with
SystemException - if a system exception occurred
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCLicense getSCLicense(long licenseId)
throws PortalException,
SystemException
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 occurred
@Transactional(propagation=SUPPORTS,
readOnly=true)
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.
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 occurred
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getSCLicensesCount()
throws SystemException
SystemException - if a system exception occurred
SCLicense updateSCLicense(SCLicense scLicense)
throws SystemException
scLicense - the s c license to update
SystemException - if a system exception occurred
SCLicense updateSCLicense(SCLicense scLicense,
boolean merge)
throws SystemException
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 occurred
SCLicense addLicense(String name,
String url,
boolean openSource,
boolean active,
boolean recommended)
throws PortalException,
SystemException
PortalException
SystemException
void deleteLicense(long licenseId)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCLicense getLicense(long licenseId)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCLicense> getLicenses()
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCLicense> getLicenses(boolean active,
boolean recommended)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCLicense> getLicenses(boolean active,
boolean recommended,
int start,
int end)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCLicense> getLicenses(int start,
int end)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getLicensesCount()
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getLicensesCount(boolean active,
boolean recommended)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCLicense> getProductEntryLicenses(long productEntryId)
throws SystemException
SystemException
SCLicense updateLicense(long licenseId,
String name,
String url,
boolean openSource,
boolean active,
boolean recommended)
throws PortalException,
SystemException
PortalException
SystemException
|
Liferay 6.0.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||