com.liferay.portlet.softwarecatalog.service.impl
Class SCProductVersionServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portlet.softwarecatalog.service.base.SCProductVersionServiceBaseImpl
          extended by com.liferay.portlet.softwarecatalog.service.impl.SCProductVersionServiceImpl
All Implemented Interfaces:
com.liferay.portlet.softwarecatalog.service.SCProductVersionService

public class SCProductVersionServiceImpl
extends SCProductVersionServiceBaseImpl

View Source

Author:
Jorge Ferrer, Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.softwarecatalog.service.base.SCProductVersionServiceBaseImpl
counterLocalService, counterService, scFrameworkVersionLocalService, scFrameworkVersionPersistence, scFrameworkVersionService, scLicenseLocalService, scLicensePersistence, scLicenseService, scProductEntryLocalService, scProductEntryPersistence, scProductEntryService, scProductScreenshotLocalService, scProductScreenshotPersistence, scProductVersionLocalService, scProductVersionPersistence, scProductVersionService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
SCProductVersionServiceImpl()
           
 
Method Summary
 com.liferay.portlet.softwarecatalog.model.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, com.liferay.portal.service.ServiceContext serviceContext)
           
 void deleteProductVersion(long productVersionId)
           
 com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(long productVersionId)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(long productEntryId, int start, int end)
           
 int getProductVersionsCount(long productEntryId)
           
 com.liferay.portlet.softwarecatalog.model.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)
           
 
Methods inherited from class com.liferay.portlet.softwarecatalog.service.base.SCProductVersionServiceBaseImpl
getCounterLocalService, getCounterService, getSCFrameworkVersionLocalService, getSCFrameworkVersionPersistence, getSCFrameworkVersionService, getSCLicenseLocalService, getSCLicensePersistence, getSCLicenseService, getSCProductEntryLocalService, getSCProductEntryPersistence, getSCProductEntryService, getSCProductScreenshotLocalService, getSCProductScreenshotPersistence, getSCProductVersionLocalService, getSCProductVersionPersistence, getSCProductVersionService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, setCounterLocalService, setCounterService, setSCFrameworkVersionLocalService, setSCFrameworkVersionPersistence, setSCFrameworkVersionService, setSCLicenseLocalService, setSCLicensePersistence, setSCLicenseService, setSCProductEntryLocalService, setSCProductEntryPersistence, setSCProductEntryService, setSCProductScreenshotLocalService, setSCProductScreenshotPersistence, setSCProductVersionLocalService, setSCProductVersionPersistence, setSCProductVersionService, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCProductVersionServiceImpl

public SCProductVersionServiceImpl()
Method Detail

addProductVersion

public com.liferay.portlet.softwarecatalog.model.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,
                                                                                    com.liferay.portal.service.ServiceContext serviceContext)
                                                                             throws com.liferay.portal.PortalException,
                                                                                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteProductVersion

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

getProductVersion

public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(long productVersionId)
                                                                             throws com.liferay.portal.PortalException,
                                                                                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getProductVersions

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(long productEntryId,
                                                                                                     int start,
                                                                                                     int end)
                                                                                              throws com.liferay.portal.SystemException,
                                                                                                     com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getProductVersionsCount

public int getProductVersionsCount(long productEntryId)
                            throws com.liferay.portal.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateProductVersion

public com.liferay.portlet.softwarecatalog.model.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