@ProviderType
public class SCLicenseServiceUtil
extends java.lang.Object
com.liferay.portlet.softwarecatalog.service.impl.SCLicenseServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.SCLicenseService,
com.liferay.portlet.softwarecatalog.service.base.SCLicenseServiceBaseImpl,
com.liferay.portlet.softwarecatalog.service.impl.SCLicenseServiceImpl| Constructor and Description |
|---|
SCLicenseServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static SCLicense |
addLicense(java.lang.String name,
java.lang.String url,
boolean openSource,
boolean active,
boolean recommended) |
static void |
deleteLicense(long licenseId) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static SCLicense |
getLicense(long licenseId) |
static SCLicenseService |
getService() |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(SCLicenseService service)
Deprecated.
As of 6.2.0
|
static SCLicense |
updateLicense(long licenseId,
java.lang.String name,
java.lang.String url,
boolean openSource,
boolean active,
boolean recommended) |
public static SCLicense addLicense(java.lang.String name, java.lang.String url, boolean openSource, boolean active, boolean recommended) throws PortalException
PortalExceptionpublic static void deleteLicense(long licenseId)
throws PortalException
PortalExceptionpublic static java.lang.String getBeanIdentifier()
public static SCLicense getLicense(long licenseId) throws PortalException
PortalExceptionpublic static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static SCLicense updateLicense(long licenseId, java.lang.String name, java.lang.String url, boolean openSource, boolean active, boolean recommended) throws PortalException
PortalExceptionpublic static SCLicenseService getService()
@Deprecated public void setService(SCLicenseService service)