Liferay 7.0-ce-a2

com.liferay.portlet.softwarecatalog.service
Interface SCProductVersionService

All Superinterfaces:
BaseService
All Known Implementing Classes:
SCProductVersionServiceWrapper

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

Provides the remote service interface for SCProductVersion. 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)
           
 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

addProductVersion

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

deleteProductVersion

void deleteProductVersion(long productVersionId)
                          throws PortalException
Throws:
PortalException

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

getProductVersion

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

getProductVersions

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

getProductVersionsCount

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

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

updateProductVersion

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

Liferay 7.0-ce-a2