Liferay 7.0-ce-a3

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:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, SCProductVersionLocalService

public class SCProductVersionLocalServiceImpl
extends SCProductVersionLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.softwarecatalog.service.base.SCProductVersionLocalServiceBaseImpl
counterLocalService, persistedModelLocalServiceRegistry, scFrameworkVersionLocalService, scFrameworkVersionPersistence, scFrameworkVersionService, scProductEntryLocalService, scProductEntryPersistence, scProductEntryService, 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, deletePersistedModel, deleteSCFrameworkVersionSCProductVersion, deleteSCFrameworkVersionSCProductVersion, deleteSCFrameworkVersionSCProductVersions, deleteSCFrameworkVersionSCProductVersions, deleteSCProductVersion, deleteSCProductVersion, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchSCProductVersion, getActionableDynamicQuery, getCounterLocalService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getSCFrameworkVersionLocalService, getSCFrameworkVersionPersistence, getSCFrameworkVersionPrimaryKeys, getSCFrameworkVersionSCProductVersions, getSCFrameworkVersionSCProductVersions, getSCFrameworkVersionSCProductVersions, getSCFrameworkVersionSCProductVersionsCount, getSCFrameworkVersionService, getSCProductEntryLocalService, getSCProductEntryPersistence, getSCProductEntryService, getSCProductVersion, getSCProductVersionLocalService, getSCProductVersionPersistence, getSCProductVersions, getSCProductVersionsCount, getSCProductVersionService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, hasSCFrameworkVersionSCProductVersion, hasSCFrameworkVersionSCProductVersions, initActionableDynamicQuery, runSQL, setCounterLocalService, setSCFrameworkVersionLocalService, setSCFrameworkVersionPersistence, setSCFrameworkVersionSCProductVersions, setSCFrameworkVersionService, setSCProductEntryLocalService, setSCProductEntryPersistence, setSCProductEntryService, setSCProductVersionLocalService, setSCProductVersionPersistence, setSCProductVersionService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateSCProductVersion
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
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
Throws:
PortalException

deleteProductVersion

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

deleteProductVersion

public void deleteProductVersion(SCProductVersion productVersion)

deleteProductVersions

public void deleteProductVersions(long productEntryId)

getProductVersion

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

getProductVersionByDirectDownloadURL

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

getProductVersions

public List<SCProductVersion> getProductVersions(long productEntryId,
                                                 int start,
                                                 int end)

getProductVersionsCount

public int getProductVersionsCount(long productEntryId)

updateProductVersion

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

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
Throws:
PortalException

Liferay 7.0-ce-a3