com.liferay.portlet.softwarecatalog.service
Interface SCProductVersionService


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

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.SCProductVersionServiceImpl. 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:
SCProductVersionServiceUtil

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

deleteProductVersion

void deleteProductVersion(long productVersionId)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getProductVersion

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

getProductVersions

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

getProductVersionsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getProductVersionsCount(long productEntryId)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.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 com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException