com.liferay.portlet.softwarecatalog.service
Class SCLicenseLocalServiceUtil
java.lang.Object
com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServiceUtil
public class SCLicenseLocalServiceUtil
- extends Object
This class provides static methods for the
SCLicenseLocalService bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- See Also:
SCLicenseLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static SCLicense |
addLicense(String name,
String url,
boolean openSource,
boolean active,
boolean recommended)
|
static SCLicense |
addSCLicense(SCLicense scLicense)
|
static SCLicense |
createSCLicense(long licenseId)
|
static void |
deleteLicense(long licenseId)
|
static void |
deleteSCLicense(long licenseId)
|
static void |
deleteSCLicense(SCLicense scLicense)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static SCLicense |
getLicense(long licenseId)
|
static List<SCLicense> |
getLicenses()
|
static List<SCLicense> |
getLicenses(boolean active,
boolean recommended)
|
static List<SCLicense> |
getLicenses(boolean active,
boolean recommended,
int start,
int end)
|
static List<SCLicense> |
getLicenses(int start,
int end)
|
static int |
getLicensesCount()
|
static int |
getLicensesCount(boolean active,
boolean recommended)
|
static List<SCLicense> |
getProductEntryLicenses(long productEntryId)
|
static SCLicense |
getSCLicense(long licenseId)
|
static List<SCLicense> |
getSCLicenses(int start,
int end)
|
static int |
getSCLicensesCount()
|
static SCLicenseLocalService |
getService()
|
void |
setService(SCLicenseLocalService service)
|
static SCLicense |
updateLicense(long licenseId,
String name,
String url,
boolean openSource,
boolean active,
boolean recommended)
|
static SCLicense |
updateSCLicense(SCLicense scLicense)
|
static SCLicense |
updateSCLicense(SCLicense scLicense,
boolean merge)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCLicenseLocalServiceUtil
public SCLicenseLocalServiceUtil()
addSCLicense
public static SCLicense addSCLicense(SCLicense scLicense)
throws SystemException
- Throws:
SystemException
createSCLicense
public static SCLicense createSCLicense(long licenseId)
deleteSCLicense
public static void deleteSCLicense(long licenseId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteSCLicense
public static void deleteSCLicense(SCLicense scLicense)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getSCLicense
public static SCLicense getSCLicense(long licenseId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getSCLicenses
public static List<SCLicense> getSCLicenses(int start,
int end)
throws SystemException
- Throws:
SystemException
getSCLicensesCount
public static int getSCLicensesCount()
throws SystemException
- Throws:
SystemException
updateSCLicense
public static SCLicense updateSCLicense(SCLicense scLicense)
throws SystemException
- Throws:
SystemException
updateSCLicense
public static SCLicense updateSCLicense(SCLicense scLicense,
boolean merge)
throws SystemException
- Throws:
SystemException
addLicense
public static SCLicense addLicense(String name,
String url,
boolean openSource,
boolean active,
boolean recommended)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteLicense
public static void deleteLicense(long licenseId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLicense
public static SCLicense getLicense(long licenseId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLicenses
public static List<SCLicense> getLicenses()
throws SystemException
- Throws:
SystemException
getLicenses
public static List<SCLicense> getLicenses(boolean active,
boolean recommended)
throws SystemException
- Throws:
SystemException
getLicenses
public static List<SCLicense> getLicenses(boolean active,
boolean recommended,
int start,
int end)
throws SystemException
- Throws:
SystemException
getLicenses
public static List<SCLicense> getLicenses(int start,
int end)
throws SystemException
- Throws:
SystemException
getLicensesCount
public static int getLicensesCount()
throws SystemException
- Throws:
SystemException
getLicensesCount
public static int getLicensesCount(boolean active,
boolean recommended)
throws SystemException
- Throws:
SystemException
getProductEntryLicenses
public static List<SCLicense> getProductEntryLicenses(long productEntryId)
throws SystemException
- Throws:
SystemException
updateLicense
public static SCLicense updateLicense(long licenseId,
String name,
String url,
boolean openSource,
boolean active,
boolean recommended)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static SCLicenseLocalService getService()
setService
public void setService(SCLicenseLocalService service)