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

java.lang.Object
  extended by com.liferay.portlet.softwarecatalog.service.base.SCProductVersionLocalServiceBaseImpl
      extended by com.liferay.portlet.softwarecatalog.service.impl.SCProductVersionLocalServiceImpl
All Implemented Interfaces:
com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService

public class SCProductVersionLocalServiceImpl
extends SCProductVersionLocalServiceBaseImpl

View Source

Author:
Jorge Ferrer, Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.softwarecatalog.service.base.SCProductVersionLocalServiceBaseImpl
counterLocalService, counterService, scFrameworkVersionLocalService, scFrameworkVersionPersistence, scFrameworkVersionService, scLicenseLocalService, scLicensePersistence, scLicenseService, scProductEntryLocalService, scProductEntryPersistence, scProductEntryService, scProductScreenshotLocalService, scProductScreenshotPersistence, scProductVersionLocalService, scProductVersionPersistence, scProductVersionService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
SCProductVersionLocalServiceImpl()
           
 
Method Summary
 com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(long userId, 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)
           
 void deleteProductVersion(com.liferay.portlet.softwarecatalog.model.SCProductVersion productVersion)
           
 void deleteProductVersions(long productEntryId)
           
 com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(long productVersionId)
           
 com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersionByDirectDownloadURL(java.lang.String directDownloadURL)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(long productEntryId, int start, int end)
           
 int getProductVersionsCount(long productEntryId)
           
protected  void testDirectDownloadURL(java.lang.String directDownloadURL)
           
 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)
           
protected  void validate(long productVersionId, java.lang.String version, java.lang.String changeLog, java.lang.String downloadPageURL, java.lang.String directDownloadURL, boolean testDirectDownloadURL, long[] frameworkVersionIds)
           
 
Methods inherited from class com.liferay.portlet.softwarecatalog.service.base.SCProductVersionLocalServiceBaseImpl
addSCProductVersion, createSCProductVersion, deleteSCProductVersion, deleteSCProductVersion, dynamicQuery, dynamicQuery, getCounterLocalService, getCounterService, getSCFrameworkVersionLocalService, getSCFrameworkVersionPersistence, getSCFrameworkVersionService, getSCLicenseLocalService, getSCLicensePersistence, getSCLicenseService, getSCProductEntryLocalService, getSCProductEntryPersistence, getSCProductEntryService, getSCProductScreenshotLocalService, getSCProductScreenshotPersistence, getSCProductVersion, getSCProductVersionLocalService, getSCProductVersionPersistence, getSCProductVersions, getSCProductVersionsCount, 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, updateSCProductVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCProductVersionLocalServiceImpl

public SCProductVersionLocalServiceImpl()
Method Detail

addProductVersion

public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(long userId,
                                                                                    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

deleteProductVersion

public void deleteProductVersion(com.liferay.portlet.softwarecatalog.model.SCProductVersion productVersion)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteProductVersions

public void deleteProductVersions(long productEntryId)
                           throws com.liferay.portal.SystemException
Throws:
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

getProductVersionByDirectDownloadURL

public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersionByDirectDownloadURL(java.lang.String directDownloadURL)
                                                                                                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
Throws:
com.liferay.portal.SystemException

getProductVersionsCount

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

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

validate

protected void validate(long productVersionId,
                        java.lang.String version,
                        java.lang.String changeLog,
                        java.lang.String downloadPageURL,
                        java.lang.String directDownloadURL,
                        boolean testDirectDownloadURL,
                        long[] frameworkVersionIds)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

testDirectDownloadURL

protected void testDirectDownloadURL(java.lang.String directDownloadURL)
                              throws com.liferay.portal.PortalException
Throws:
com.liferay.portal.PortalException