1
22
23 package com.liferay.portlet.softwarecatalog.service;
24
25
51 public interface SCProductVersionLocalService {
52 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addSCProductVersion(
53 com.liferay.portlet.softwarecatalog.model.SCProductVersion model)
54 throws com.liferay.portal.SystemException;
55
56 public java.util.List dynamicQuery(
57 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
58 throws com.liferay.portal.SystemException;
59
60 public java.util.List dynamicQuery(
61 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
62 int begin, int end) throws com.liferay.portal.SystemException;
63
64 public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateSCProductVersion(
65 com.liferay.portlet.softwarecatalog.model.SCProductVersion model)
66 throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
69 long userId, long productEntryId, java.lang.String version,
70 java.lang.String changeLog, java.lang.String downloadPageURL,
71 java.lang.String directDownloadURL, boolean repoStoreArtifact,
72 long[] frameworkVersionIds, boolean addCommunityPermissions,
73 boolean addGuestPermissions)
74 throws com.liferay.portal.SystemException,
75 com.liferay.portal.PortalException;
76
77 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
78 long userId, long productEntryId, java.lang.String version,
79 java.lang.String changeLog, java.lang.String downloadPageURL,
80 java.lang.String directDownloadURL, boolean repoStoreArtifact,
81 long[] frameworkVersionIds, java.lang.String[] communityPermissions,
82 java.lang.String[] guestPermissions)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portal.PortalException;
85
86 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
87 long userId, long productEntryId, java.lang.String version,
88 java.lang.String changeLog, java.lang.String downloadPageURL,
89 java.lang.String directDownloadURL, boolean repoStoreArtifact,
90 long[] frameworkVersionIds, java.lang.Boolean addCommunityPermissions,
91 java.lang.Boolean addGuestPermissions,
92 java.lang.String[] communityPermissions,
93 java.lang.String[] guestPermissions)
94 throws com.liferay.portal.SystemException,
95 com.liferay.portal.PortalException;
96
97 public void deleteProductVersion(long productVersionId)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portal.PortalException;
100
101 public void deleteProductVersion(
102 com.liferay.portlet.softwarecatalog.model.SCProductVersion productVersion)
103 throws com.liferay.portal.SystemException,
104 com.liferay.portal.PortalException;
105
106 public void deleteProductVersions(long productEntryId)
107 throws com.liferay.portal.SystemException,
108 com.liferay.portal.PortalException;
109
110 public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
111 long productVersionId)
112 throws com.liferay.portal.SystemException,
113 com.liferay.portal.PortalException;
114
115 public java.util.List getProductVersions(long productEntryId, int begin,
116 int end) throws com.liferay.portal.SystemException;
117
118 public int getProductVersionsCount(long productEntryId)
119 throws com.liferay.portal.SystemException;
120
121 public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
122 long productVersionId, java.lang.String version,
123 java.lang.String changeLog, java.lang.String downloadPageURL,
124 java.lang.String directDownloadURL, boolean repoStoreArtifact,
125 long[] frameworkVersionIds)
126 throws com.liferay.portal.SystemException,
127 com.liferay.portal.PortalException;
128 }