com.liferay.portlet.softwarecatalog.service
Class SCProductEntryServiceUtil
java.lang.Object
com.liferay.portlet.softwarecatalog.service.SCProductEntryServiceUtil
@ProviderType
public class SCProductEntryServiceUtil
- extends Object
Provides the remote service utility for SCProductEntry. This utility wraps
com.liferay.portlet.softwarecatalog.service.impl.SCProductEntryServiceImpl 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.
- See Also:
SCProductEntryService,
com.liferay.portlet.softwarecatalog.service.base.SCProductEntryServiceBaseImpl,
com.liferay.portlet.softwarecatalog.service.impl.SCProductEntryServiceImpl
|
Method Summary |
static SCProductEntry |
addProductEntry(String name,
String type,
String tags,
String shortDescription,
String longDescription,
String pageURL,
String author,
String repoGroupId,
String repoArtifactId,
long[] licenseIds,
List<byte[]> thumbnails,
List<byte[]> fullImages,
ServiceContext serviceContext)
|
static void |
deleteProductEntry(long productEntryId)
|
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
static SCProductEntry |
getProductEntry(long productEntryId)
|
static SCProductEntryService |
getService()
|
void |
setService(SCProductEntryService service)
Deprecated. As of 6.2.0 |
static SCProductEntry |
updateProductEntry(long productEntryId,
String name,
String type,
String tags,
String shortDescription,
String longDescription,
String pageURL,
String author,
String repoGroupId,
String repoArtifactId,
long[] licenseIds,
List<byte[]> thumbnails,
List<byte[]> fullImages)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCProductEntryServiceUtil
public SCProductEntryServiceUtil()
addProductEntry
public static SCProductEntry addProductEntry(String name,
String type,
String tags,
String shortDescription,
String longDescription,
String pageURL,
String author,
String repoGroupId,
String repoArtifactId,
long[] licenseIds,
List<byte[]> thumbnails,
List<byte[]> fullImages,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deleteProductEntry
public static void deleteProductEntry(long productEntryId)
throws PortalException
- Throws:
PortalException
getOSGiServiceIdentifier
public static String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Returns:
- the OSGi service identifier
getProductEntry
public static SCProductEntry getProductEntry(long productEntryId)
throws PortalException
- Throws:
PortalException
updateProductEntry
public static SCProductEntry updateProductEntry(long productEntryId,
String name,
String type,
String tags,
String shortDescription,
String longDescription,
String pageURL,
String author,
String repoGroupId,
String repoArtifactId,
long[] licenseIds,
List<byte[]> thumbnails,
List<byte[]> fullImages)
throws PortalException
- Throws:
PortalException
getService
public static SCProductEntryService getService()
setService
@Deprecated
public void setService(SCProductEntryService service)
- Deprecated. As of 6.2.0