Liferay 6.1.10-ee-ga1

com.liferay.portlet.softwarecatalog.service
Interface SCProductVersionService

All Known Implementing Classes:
SCProductVersionServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface SCProductVersionService

The interface for the s c product version remote service.

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.

See Also:
SCProductVersionServiceUtil, com.liferay.portlet.softwarecatalog.service.base.SCProductVersionServiceBaseImpl, com.liferay.portlet.softwarecatalog.service.impl.SCProductVersionServiceImpl

Method Summary
 SCProductVersion addProductVersion(long productEntryId, String version, String changeLog, String downloadPageURL, String directDownloadURL, boolean testDirectDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds, ServiceContext serviceContext)
           
 void deleteProductVersion(long productVersionId)
           
 SCProductVersion getProductVersion(long productVersionId)
           
 List<SCProductVersion> getProductVersions(long productEntryId, int start, int end)
           
 int getProductVersionsCount(long productEntryId)
           
 SCProductVersion updateProductVersion(long productVersionId, String version, String changeLog, String downloadPageURL, String directDownloadURL, boolean testDirectDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds)
           
 

Method Detail

addProductVersion

SCProductVersion addProductVersion(long productEntryId,
                                   String version,
                                   String changeLog,
                                   String downloadPageURL,
                                   String directDownloadURL,
                                   boolean testDirectDownloadURL,
                                   boolean repoStoreArtifact,
                                   long[] frameworkVersionIds,
                                   ServiceContext serviceContext)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

deleteProductVersion

void deleteProductVersion(long productVersionId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getProductVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
SCProductVersion getProductVersion(long productVersionId)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getProductVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<SCProductVersion> getProductVersions(long productEntryId,
                                                                                   int start,
                                                                                   int end)
                                          throws PortalException,
                                                 SystemException
Throws:
PortalException
SystemException

getProductVersionsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getProductVersionsCount(long productEntryId)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

updateProductVersion

SCProductVersion updateProductVersion(long productVersionId,
                                      String version,
                                      String changeLog,
                                      String downloadPageURL,
                                      String directDownloadURL,
                                      boolean testDirectDownloadURL,
                                      boolean repoStoreArtifact,
                                      long[] frameworkVersionIds)
                                      throws PortalException,
                                             SystemException
Throws:
PortalException
SystemException

Liferay 6.1.10-ee-ga1