Liferay 7.0-ce-a3

com.liferay.portlet.softwarecatalog.service
Interface SCProductEntryService

All Superinterfaces:
BaseService
All Known Implementing Classes:
SCProductEntryServiceWrapper

@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface SCProductEntryService
extends BaseService

Provides the remote service interface for SCProductEntry. 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:
SCProductEntryServiceUtil, com.liferay.portlet.softwarecatalog.service.base.SCProductEntryServiceBaseImpl, com.liferay.portlet.softwarecatalog.service.impl.SCProductEntryServiceImpl

Method Summary
 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)
           
 void deleteProductEntry(long productEntryId)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 SCProductEntry getProductEntry(long productEntryId)
           
 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)
           
 

Method Detail

addProductEntry

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

void deleteProductEntry(long productEntryId)
                        throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

getProductEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
SCProductEntry getProductEntry(long productEntryId)
                               throws PortalException
Throws:
PortalException

updateProductEntry

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

Liferay 7.0-ce-a3