com.liferay.portlet.softwarecatalog.service
Interface SCProductEntryService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface SCProductEntryService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.softwarecatalog.service.impl.SCProductEntryServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

Author:
Brian Wing Shun Chan
See Also:
SCProductEntryServiceUtil

Method Summary
 SCProductEntry addProductEntry(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, ServiceContext serviceContext)
           
 void deleteProductEntry(long productEntryId)
           
 SCProductEntry getProductEntry(long productEntryId)
           
 SCProductEntry updateProductEntry(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)
           
 

Method Detail

addProductEntry

SCProductEntry addProductEntry(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,
                               ServiceContext serviceContext)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteProductEntry

void deleteProductEntry(long productEntryId)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getProductEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
SCProductEntry getProductEntry(long productEntryId)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateProductEntry

SCProductEntry updateProductEntry(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.PortalException,
                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException