1
22
23 package com.liferay.portlet.softwarecatalog.service;
24
25
26
50 public interface SCProductVersionLocalService {
51 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addSCProductVersion(
52 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
53 throws com.liferay.portal.SystemException;
54
55 public com.liferay.portlet.softwarecatalog.model.SCProductVersion createSCProductVersion(
56 long productVersionId);
57
58 public void deleteSCProductVersion(long productVersionId)
59 throws com.liferay.portal.SystemException,
60 com.liferay.portal.PortalException;
61
62 public void deleteSCProductVersion(
63 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
64 throws com.liferay.portal.SystemException;
65
66 public java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List<Object> dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72 int end) throws com.liferay.portal.SystemException;
73
74 public com.liferay.portlet.softwarecatalog.model.SCProductVersion getSCProductVersion(
75 long productVersionId)
76 throws com.liferay.portal.SystemException,
77 com.liferay.portal.PortalException;
78
79 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
80 int start, int end) throws com.liferay.portal.SystemException;
81
82 public int getSCProductVersionsCount()
83 throws com.liferay.portal.SystemException;
84
85 public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateSCProductVersion(
86 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
87 throws com.liferay.portal.SystemException;
88
89 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
90 long userId, long productEntryId, java.lang.String version,
91 java.lang.String changeLog, java.lang.String downloadPageURL,
92 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
93 boolean repoStoreArtifact, long[] frameworkVersionIds,
94 boolean addCommunityPermissions, boolean addGuestPermissions)
95 throws com.liferay.portal.PortalException,
96 com.liferay.portal.SystemException;
97
98 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
99 long userId, long productEntryId, java.lang.String version,
100 java.lang.String changeLog, java.lang.String downloadPageURL,
101 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
102 boolean repoStoreArtifact, long[] frameworkVersionIds,
103 java.lang.String[] communityPermissions,
104 java.lang.String[] guestPermissions)
105 throws com.liferay.portal.PortalException,
106 com.liferay.portal.SystemException;
107
108 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
109 long userId, long productEntryId, java.lang.String version,
110 java.lang.String changeLog, java.lang.String downloadPageURL,
111 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
112 boolean repoStoreArtifact, long[] frameworkVersionIds,
113 java.lang.Boolean addCommunityPermissions,
114 java.lang.Boolean addGuestPermissions,
115 java.lang.String[] communityPermissions,
116 java.lang.String[] guestPermissions)
117 throws com.liferay.portal.PortalException,
118 com.liferay.portal.SystemException;
119
120 public void deleteProductVersion(long productVersionId)
121 throws com.liferay.portal.PortalException,
122 com.liferay.portal.SystemException;
123
124 public void deleteProductVersion(
125 com.liferay.portlet.softwarecatalog.model.SCProductVersion productVersion)
126 throws com.liferay.portal.SystemException;
127
128 public void deleteProductVersions(long productEntryId)
129 throws com.liferay.portal.SystemException;
130
131 public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
132 long productVersionId)
133 throws com.liferay.portal.PortalException,
134 com.liferay.portal.SystemException;
135
136 public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersionByDirectDownloadURL(
137 java.lang.String directDownloadURL)
138 throws com.liferay.portal.PortalException,
139 com.liferay.portal.SystemException;
140
141 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(
142 long productEntryId, int start, int end)
143 throws com.liferay.portal.SystemException;
144
145 public int getProductVersionsCount(long productEntryId)
146 throws com.liferay.portal.SystemException;
147
148 public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
149 long productVersionId, java.lang.String version,
150 java.lang.String changeLog, java.lang.String downloadPageURL,
151 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
152 boolean repoStoreArtifact, long[] frameworkVersionIds)
153 throws com.liferay.portal.PortalException,
154 com.liferay.portal.SystemException;
155 }