@ProviderType
public class SCProductEntryServiceHttp
extends java.lang.Object
SCProductEntryServiceUtil service utility. The
static methods of this class calls the same methods of the service utility.
However, the signatures are different because it requires an additional
HttpPrincipal parameter.
The benefits of using the HTTP utility is that it is fast and allows for tunneling without the cost of serializing to text. The drawback is that it only works with Java.
Set the property tunnel.servlet.hosts.allowed in portal.properties to configure security.
The HTTP utility is only generated for remote services.
SCProductEntryServiceSoap,
HttpPrincipal,
SCProductEntryServiceUtil| Constructor and Description |
|---|
SCProductEntryServiceHttp() |
| Modifier and Type | Method and Description |
|---|---|
static com.liferay.portlet.softwarecatalog.model.SCProductEntry |
addProductEntry(com.liferay.portal.security.auth.HttpPrincipal httpPrincipal,
java.lang.String name,
java.lang.String type,
java.lang.String tags,
java.lang.String shortDescription,
java.lang.String longDescription,
java.lang.String pageURL,
java.lang.String author,
java.lang.String repoGroupId,
java.lang.String repoArtifactId,
long[] licenseIds,
java.util.List<byte[]> thumbnails,
java.util.List<byte[]> fullImages,
com.liferay.portal.service.ServiceContext serviceContext) |
static void |
deleteProductEntry(com.liferay.portal.security.auth.HttpPrincipal httpPrincipal,
long productEntryId) |
static com.liferay.portlet.softwarecatalog.model.SCProductEntry |
getProductEntry(com.liferay.portal.security.auth.HttpPrincipal httpPrincipal,
long productEntryId) |
static com.liferay.portlet.softwarecatalog.model.SCProductEntry |
updateProductEntry(com.liferay.portal.security.auth.HttpPrincipal httpPrincipal,
long productEntryId,
java.lang.String name,
java.lang.String type,
java.lang.String tags,
java.lang.String shortDescription,
java.lang.String longDescription,
java.lang.String pageURL,
java.lang.String author,
java.lang.String repoGroupId,
java.lang.String repoArtifactId,
long[] licenseIds,
java.util.List<byte[]> thumbnails,
java.util.List<byte[]> fullImages) |
public static com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(com.liferay.portal.security.auth.HttpPrincipal httpPrincipal,
java.lang.String name,
java.lang.String type,
java.lang.String tags,
java.lang.String shortDescription,
java.lang.String longDescription,
java.lang.String pageURL,
java.lang.String author,
java.lang.String repoGroupId,
java.lang.String repoArtifactId,
long[] licenseIds,
java.util.List<byte[]> thumbnails,
java.util.List<byte[]> fullImages,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deleteProductEntry(com.liferay.portal.security.auth.HttpPrincipal httpPrincipal,
long productEntryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(com.liferay.portal.security.auth.HttpPrincipal httpPrincipal,
long productEntryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(com.liferay.portal.security.auth.HttpPrincipal httpPrincipal,
long productEntryId,
java.lang.String name,
java.lang.String type,
java.lang.String tags,
java.lang.String shortDescription,
java.lang.String longDescription,
java.lang.String pageURL,
java.lang.String author,
java.lang.String repoGroupId,
java.lang.String repoArtifactId,
long[] licenseIds,
java.util.List<byte[]> thumbnails,
java.util.List<byte[]> fullImages)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException