Liferay 6.1.2-ce-ga3

com.liferay.portlet.softwarecatalog.service
Interface SCProductVersionService

All Superinterfaces:
BaseService
All Known Implementing Classes:
SCProductVersionServiceBaseImpl, SCProductVersionServiceImpl, SCProductVersionServiceWrapper

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

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, SCProductVersionServiceBaseImpl, SCProductVersionServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 SCProductVersion getProductVersion(long productVersionId)
           
 List<SCProductVersion> getProductVersions(long productEntryId, int start, int end)
           
 int getProductVersionsCount(long productEntryId)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 SCProductVersion updateProductVersion(long productVersionId, String version, String changeLog, String downloadPageURL, String directDownloadURL, boolean testDirectDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds)
           
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

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.2-ce-ga3