1
19
20 package com.liferay.portlet.softwarecatalog.service;
21
22 import com.liferay.portal.PortalException;
23 import com.liferay.portal.SystemException;
24 import com.liferay.portal.kernel.annotation.Isolation;
25 import com.liferay.portal.kernel.annotation.Propagation;
26 import com.liferay.portal.kernel.annotation.Transactional;
27
28
52 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
53 PortalException.class, SystemException.class})
54 public interface SCFrameworkVersionLocalService {
55 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addSCFrameworkVersion(
56 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
57 throws com.liferay.portal.SystemException;
58
59 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion createSCFrameworkVersion(
60 long frameworkVersionId);
61
62 public void deleteSCFrameworkVersion(long frameworkVersionId)
63 throws com.liferay.portal.SystemException,
64 com.liferay.portal.PortalException;
65
66 public void deleteSCFrameworkVersion(
67 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List<Object> dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
72 throws com.liferay.portal.SystemException;
73
74 public java.util.List<Object> dynamicQuery(
75 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
76 int end) throws com.liferay.portal.SystemException;
77
78 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
79 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getSCFrameworkVersion(
80 long frameworkVersionId)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portal.PortalException;
83
84 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
85 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
86 int start, int end) throws com.liferay.portal.SystemException;
87
88 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
89 public int getSCFrameworkVersionsCount()
90 throws com.liferay.portal.SystemException;
91
92 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateSCFrameworkVersion(
93 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
94 throws com.liferay.portal.SystemException;
95
96 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateSCFrameworkVersion(
97 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
98 boolean merge) throws com.liferay.portal.SystemException;
99
100 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
101 long userId, java.lang.String name, java.lang.String url,
102 boolean active, int priority,
103 com.liferay.portal.service.ServiceContext serviceContext)
104 throws com.liferay.portal.PortalException,
105 com.liferay.portal.SystemException;
106
107 public void addFrameworkVersionResources(long frameworkVersionId,
108 boolean addCommunityPermissions, boolean addGuestPermissions)
109 throws com.liferay.portal.PortalException,
110 com.liferay.portal.SystemException;
111
112 public void addFrameworkVersionResources(
113 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
114 boolean addCommunityPermissions, boolean addGuestPermissions)
115 throws com.liferay.portal.PortalException,
116 com.liferay.portal.SystemException;
117
118 public void addFrameworkVersionResources(long frameworkVersionId,
119 java.lang.String[] communityPermissions,
120 java.lang.String[] guestPermissions)
121 throws com.liferay.portal.PortalException,
122 com.liferay.portal.SystemException;
123
124 public void addFrameworkVersionResources(
125 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
126 java.lang.String[] communityPermissions,
127 java.lang.String[] guestPermissions)
128 throws com.liferay.portal.PortalException,
129 com.liferay.portal.SystemException;
130
131 public void deleteFrameworkVersion(long frameworkVersionId)
132 throws com.liferay.portal.PortalException,
133 com.liferay.portal.SystemException;
134
135 public void deleteFrameworkVersion(
136 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion)
137 throws com.liferay.portal.SystemException;
138
139 public void deleteFrameworkVersions(long groupId)
140 throws com.liferay.portal.SystemException;
141
142 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
143 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
144 long frameworkVersionId)
145 throws com.liferay.portal.PortalException,
146 com.liferay.portal.SystemException;
147
148 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
149 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
150 long groupId, int start, int end)
151 throws com.liferay.portal.SystemException;
152
153 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
154 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
155 long groupId, boolean active) throws com.liferay.portal.SystemException;
156
157 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
158 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
159 long groupId, boolean active, int start, int end)
160 throws com.liferay.portal.SystemException;
161
162 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
163 public int getFrameworkVersionsCount(long groupId)
164 throws com.liferay.portal.SystemException;
165
166 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
167 public int getFrameworkVersionsCount(long groupId, boolean active)
168 throws com.liferay.portal.SystemException;
169
170 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
171 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getProductVersionFrameworkVersions(
172 long productVersionId) throws com.liferay.portal.SystemException;
173
174 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
175 long frameworkVersionId, java.lang.String name, java.lang.String url,
176 boolean active, int priority)
177 throws com.liferay.portal.PortalException,
178 com.liferay.portal.SystemException;
179 }