com.liferay.portlet.softwarecatalog.service
Interface SCProductVersionLocalService


public interface SCProductVersionLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.softwarecatalog.service.impl.SCProductVersionLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
SCProductVersionServiceFactory, SCProductVersionServiceUtil

Method Summary
 SCProductVersion addProductVersion(long userId, long productEntryId, java.lang.String version, java.lang.String changeLog, java.lang.String downloadPageURL, java.lang.String directDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 SCProductVersion addProductVersion(long userId, long productEntryId, java.lang.String version, java.lang.String changeLog, java.lang.String downloadPageURL, java.lang.String directDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds, java.lang.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 SCProductVersion addProductVersion(long userId, long productEntryId, java.lang.String version, java.lang.String changeLog, java.lang.String downloadPageURL, java.lang.String directDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 SCProductVersion addSCProductVersion(SCProductVersion model)
           
 void deleteProductVersion(long productVersionId)
           
 void deleteProductVersion(SCProductVersion productVersion)
           
 void deleteProductVersions(long productEntryId)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 SCProductVersion getProductVersion(long productVersionId)
           
 java.util.List getProductVersions(long productEntryId, int begin, int end)
           
 int getProductVersionsCount(long productEntryId)
           
 SCProductVersion updateProductVersion(long productVersionId, java.lang.String version, java.lang.String changeLog, java.lang.String downloadPageURL, java.lang.String directDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds)
           
 SCProductVersion updateSCProductVersion(SCProductVersion model)
           
 

Method Detail

addSCProductVersion

public SCProductVersion addSCProductVersion(SCProductVersion model)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateSCProductVersion

public SCProductVersion updateSCProductVersion(SCProductVersion model)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addProductVersion

public SCProductVersion addProductVersion(long userId,
                                          long productEntryId,
                                          java.lang.String version,
                                          java.lang.String changeLog,
                                          java.lang.String downloadPageURL,
                                          java.lang.String directDownloadURL,
                                          boolean repoStoreArtifact,
                                          long[] frameworkVersionIds,
                                          boolean addCommunityPermissions,
                                          boolean addGuestPermissions)
                                   throws com.liferay.portal.SystemException,
                                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addProductVersion

public SCProductVersion addProductVersion(long userId,
                                          long productEntryId,
                                          java.lang.String version,
                                          java.lang.String changeLog,
                                          java.lang.String downloadPageURL,
                                          java.lang.String directDownloadURL,
                                          boolean repoStoreArtifact,
                                          long[] frameworkVersionIds,
                                          java.lang.String[] communityPermissions,
                                          java.lang.String[] guestPermissions)
                                   throws com.liferay.portal.SystemException,
                                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addProductVersion

public SCProductVersion addProductVersion(long userId,
                                          long productEntryId,
                                          java.lang.String version,
                                          java.lang.String changeLog,
                                          java.lang.String downloadPageURL,
                                          java.lang.String directDownloadURL,
                                          boolean repoStoreArtifact,
                                          long[] frameworkVersionIds,
                                          java.lang.Boolean addCommunityPermissions,
                                          java.lang.Boolean addGuestPermissions,
                                          java.lang.String[] communityPermissions,
                                          java.lang.String[] guestPermissions)
                                   throws com.liferay.portal.SystemException,
                                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteProductVersion

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

deleteProductVersion

public void deleteProductVersion(SCProductVersion productVersion)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteProductVersions

public void deleteProductVersions(long productEntryId)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getProductVersion

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

getProductVersions

public java.util.List getProductVersions(long productEntryId,
                                         int begin,
                                         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 SCProductVersion updateProductVersion(long productVersionId,
                                             java.lang.String version,
                                             java.lang.String changeLog,
                                             java.lang.String downloadPageURL,
                                             java.lang.String directDownloadURL,
                                             boolean repoStoreArtifact,
                                             long[] frameworkVersionIds)
                                      throws com.liferay.portal.SystemException,
                                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException