Liferay 7.0-ce-a3

com.liferay.portlet.softwarecatalog.service
Class SCProductVersionServiceUtil

java.lang.Object
  extended by com.liferay.portlet.softwarecatalog.service.SCProductVersionServiceUtil

@ProviderType
public class SCProductVersionServiceUtil
extends Object

Provides the remote service utility for SCProductVersion. This utility wraps com.liferay.portlet.softwarecatalog.service.impl.SCProductVersionServiceImpl and is the primary access point for service operations in application layer code running on a remote server. 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:
SCProductVersionService, com.liferay.portlet.softwarecatalog.service.base.SCProductVersionServiceBaseImpl, com.liferay.portlet.softwarecatalog.service.impl.SCProductVersionServiceImpl

Constructor Summary
SCProductVersionServiceUtil()
           
 
Method Summary
static SCProductVersion addProductVersion(long productEntryId, String version, String changeLog, String downloadPageURL, String directDownloadURL, boolean testDirectDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds, ServiceContext serviceContext)
           
static void deleteProductVersion(long productVersionId)
           
static String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
static SCProductVersion getProductVersion(long productVersionId)
           
static List<SCProductVersion> getProductVersions(long productEntryId, int start, int end)
           
static int getProductVersionsCount(long productEntryId)
           
static SCProductVersionService getService()
           
 void setService(SCProductVersionService service)
          Deprecated. As of 6.2.0
static SCProductVersion updateProductVersion(long productVersionId, String version, String changeLog, String downloadPageURL, String directDownloadURL, boolean testDirectDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCProductVersionServiceUtil

public SCProductVersionServiceUtil()
Method Detail

addProductVersion

public static 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

public static void deleteProductVersion(long productVersionId)
                                 throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

getProductVersion

public static SCProductVersion getProductVersion(long productVersionId)
                                          throws PortalException
Throws:
PortalException

getProductVersions

public static List<SCProductVersion> getProductVersions(long productEntryId,
                                                        int start,
                                                        int end)
                                                 throws PortalException
Throws:
PortalException

getProductVersionsCount

public static int getProductVersionsCount(long productEntryId)
                                   throws PortalException
Throws:
PortalException

updateProductVersion

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

getService

public static SCProductVersionService getService()

setService

@Deprecated
public void setService(SCProductVersionService service)
Deprecated. As of 6.2.0


Liferay 7.0-ce-a3