Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.softwarecatalog.service.base.SCProductVersionLocalServiceBaseImpl
          extended by com.liferay.portlet.softwarecatalog.service.impl.SCProductVersionLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, SCProductVersionLocalService

public class SCProductVersionLocalServiceImpl
extends SCProductVersionLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.softwarecatalog.service.base.SCProductVersionLocalServiceBaseImpl
counterLocalService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, scFrameworkVersionLocalService, scFrameworkVersionPersistence, scFrameworkVersionService, scLicenseLocalService, scLicensePersistence, scLicenseService, scProductEntryLocalService, scProductEntryPersistence, scProductEntryService, scProductScreenshotLocalService, scProductScreenshotPersistence, scProductVersionLocalService, scProductVersionPersistence, scProductVersionService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
SCProductVersionLocalServiceImpl()
           
 
Method Summary
 SCProductVersion addProductVersion(long userId, long productEntryId, String version, String changeLog, String downloadPageURL, String directDownloadURL, boolean testDirectDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds, ServiceContext serviceContext)
           
 void deleteProductVersion(long productVersionId)
           
 void deleteProductVersion(SCProductVersion productVersion)
           
 void deleteProductVersions(long productEntryId)
           
 SCProductVersion getProductVersion(long productVersionId)
           
 SCProductVersion getProductVersionByDirectDownloadURL(String directDownloadURL)
           
 List<SCProductVersion> getProductVersions(long productEntryId, int start, int end)
           
 int getProductVersionsCount(long productEntryId)
           
protected  void testDirectDownloadURL(String directDownloadURL)
           
 SCProductVersion updateProductVersion(long productVersionId, String version, String changeLog, String downloadPageURL, String directDownloadURL, boolean testDirectDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds)
           
protected  void validate(long productVersionId, String version, String changeLog, String downloadPageURL, String directDownloadURL, boolean testDirectDownloadURL, long[] frameworkVersionIds)
           
 
Methods inherited from class com.liferay.portlet.softwarecatalog.service.base.SCProductVersionLocalServiceBaseImpl
addSCFrameworkVersionSCProductVersion, addSCFrameworkVersionSCProductVersion, addSCFrameworkVersionSCProductVersions, addSCFrameworkVersionSCProductVersions, addSCProductVersion, afterPropertiesSet, clearSCFrameworkVersionSCProductVersions, createSCProductVersion, deleteSCFrameworkVersionSCProductVersion, deleteSCFrameworkVersionSCProductVersion, deleteSCFrameworkVersionSCProductVersions, deleteSCFrameworkVersionSCProductVersions, deleteSCProductVersion, deleteSCProductVersion, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchSCProductVersion, getBeanIdentifier, getCounterLocalService, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSCFrameworkVersionLocalService, getSCFrameworkVersionPersistence, getSCFrameworkVersionSCProductVersions, getSCFrameworkVersionSCProductVersions, getSCFrameworkVersionSCProductVersions, getSCFrameworkVersionSCProductVersionsCount, getSCFrameworkVersionService, getSCLicenseLocalService, getSCLicensePersistence, getSCLicenseService, getSCProductEntryLocalService, getSCProductEntryPersistence, getSCProductEntryService, getSCProductScreenshotLocalService, getSCProductScreenshotPersistence, getSCProductVersion, getSCProductVersionLocalService, getSCProductVersionPersistence, getSCProductVersions, getSCProductVersionsCount, getSCProductVersionService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, hasSCFrameworkVersionSCProductVersion, hasSCFrameworkVersionSCProductVersions, runSQL, setBeanIdentifier, setCounterLocalService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSCFrameworkVersionLocalService, setSCFrameworkVersionPersistence, setSCFrameworkVersionSCProductVersions, setSCFrameworkVersionService, setSCLicenseLocalService, setSCLicensePersistence, setSCLicenseService, setSCProductEntryLocalService, setSCProductEntryPersistence, setSCProductEntryService, setSCProductScreenshotLocalService, setSCProductScreenshotPersistence, setSCProductVersionLocalService, setSCProductVersionPersistence, setSCProductVersionService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateSCProductVersion, updateSCProductVersion
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
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 SCProductVersion addProductVersion(long userId,
                                          long productEntryId,
                                          String version,
                                          String changeLog,
                                          String downloadPageURL,
                                          String directDownloadURL,
                                          boolean testDirectDownloadURL,
                                          boolean repoStoreArtifact,
                                          long[] frameworkVersionIds,
                                          ServiceContext serviceContext)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

deleteProductVersion

public void deleteProductVersion(long productVersionId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

deleteProductVersion

public void deleteProductVersion(SCProductVersion productVersion)
                          throws SystemException
Throws:
SystemException

deleteProductVersions

public void deleteProductVersions(long productEntryId)
                           throws SystemException
Throws:
SystemException

getProductVersion

public SCProductVersion getProductVersion(long productVersionId)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getProductVersionByDirectDownloadURL

public SCProductVersion getProductVersionByDirectDownloadURL(String directDownloadURL)
                                                      throws PortalException,
                                                             SystemException
Throws:
PortalException
SystemException

getProductVersions

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

getProductVersionsCount

public int getProductVersionsCount(long productEntryId)
                            throws SystemException
Throws:
SystemException

updateProductVersion

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

testDirectDownloadURL

protected void testDirectDownloadURL(String directDownloadURL)
                              throws PortalException
Throws:
PortalException

validate

protected void validate(long productVersionId,
                        String version,
                        String changeLog,
                        String downloadPageURL,
                        String directDownloadURL,
                        boolean testDirectDownloadURL,
                        long[] frameworkVersionIds)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

Liferay 6.1.2-ce-ga3