Liferay 7.0-ce-a3

com.liferay.portlet.softwarecatalog.service
Interface SCProductVersionService

All Superinterfaces:
BaseService
All Known Implementing Classes:
SCProductVersionServiceBaseImpl, SCProductVersionServiceImpl, 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, 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 getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 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
Throws:
PortalException

deleteProductVersion

void deleteProductVersion(long productVersionId)
                          throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

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

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-a3