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.

Author:
Brian Wing Shun Chan
See Also:
SCProductVersionServiceUtil, com.liferay.portlet.softwarecatalog.service.base.SCProductVersionServiceBaseImpl, com.liferay.portlet.softwarecatalog.service.impl.SCProductVersionServiceImpl
Generated:

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

Method Detail

addProductVersion

SCProductVersion addProductVersion(long productEntryId,
                                   java.lang.String version,
                                   java.lang.String changeLog,
                                   java.lang.String downloadPageURL,
                                   java.lang.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)
java.util.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,
                                      java.lang.String version,
                                      java.lang.String changeLog,
                                      java.lang.String downloadPageURL,
                                      java.lang.String directDownloadURL,
                                      boolean testDirectDownloadURL,
                                      boolean repoStoreArtifact,
                                      long[] frameworkVersionIds)
                                      throws PortalException,
                                             SystemException
Throws:
PortalException
SystemException