1   /**
2    * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.softwarecatalog.service;
24  
25  
26  /**
27   * <a href="SCFrameworkVersionLocalService.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This interface defines the service. The default implementation is
36   * <code>com.liferay.portlet.softwarecatalog.service.impl.SCFrameworkVersionLocalServiceImpl</code>.
37   * Modify methods in that class and rerun ServiceBuilder to populate this class
38   * and all other generated classes.
39   * </p>
40   *
41   * <p>
42   * 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.
43   * </p>
44   *
45   * @author Brian Wing Shun Chan
46   *
47   * @see com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalServiceFactory
48   * @see com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalServiceUtil
49   *
50   */
51  public interface SCFrameworkVersionLocalService {
52      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addSCFrameworkVersion(
53          com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
54          throws com.liferay.portal.SystemException;
55  
56      public void deleteSCFrameworkVersion(long frameworkVersionId)
57          throws com.liferay.portal.SystemException,
58              com.liferay.portal.PortalException;
59  
60      public void deleteSCFrameworkVersion(
61          com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
62          throws com.liferay.portal.SystemException,
63              com.liferay.portal.PortalException;
64  
65      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> dynamicQuery(
66          com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
67          throws com.liferay.portal.SystemException;
68  
69      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> dynamicQuery(
70          com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
71          int begin, int end) throws com.liferay.portal.SystemException;
72  
73      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateSCFrameworkVersion(
74          com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
75          throws com.liferay.portal.SystemException;
76  
77      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
78          long userId, long plid, java.lang.String name, java.lang.String url,
79          boolean active, int priority, boolean addCommunityPermissions,
80          boolean addGuestPermissions)
81          throws com.liferay.portal.SystemException,
82              com.liferay.portal.PortalException;
83  
84      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
85          long userId, long plid, java.lang.String name, java.lang.String url,
86          boolean active, int priority, java.lang.String[] communityPermissions,
87          java.lang.String[] guestPermissions)
88          throws com.liferay.portal.SystemException,
89              com.liferay.portal.PortalException;
90  
91      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
92          long userId, long plid, java.lang.String name, java.lang.String url,
93          boolean active, int priority,
94          java.lang.Boolean addCommunityPermissions,
95          java.lang.Boolean addGuestPermissions,
96          java.lang.String[] communityPermissions,
97          java.lang.String[] guestPermissions)
98          throws com.liferay.portal.SystemException,
99              com.liferay.portal.PortalException;
100 
101     public void addFrameworkVersionResources(long frameworkVersionId,
102         boolean addCommunityPermissions, boolean addGuestPermissions)
103         throws com.liferay.portal.SystemException,
104             com.liferay.portal.PortalException;
105 
106     public void addFrameworkVersionResources(
107         com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
108         boolean addCommunityPermissions, boolean addGuestPermissions)
109         throws com.liferay.portal.SystemException,
110             com.liferay.portal.PortalException;
111 
112     public void addFrameworkVersionResources(long frameworkVersionId,
113         java.lang.String[] communityPermissions,
114         java.lang.String[] guestPermissions)
115         throws com.liferay.portal.SystemException,
116             com.liferay.portal.PortalException;
117 
118     public void addFrameworkVersionResources(
119         com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
120         java.lang.String[] communityPermissions,
121         java.lang.String[] guestPermissions)
122         throws com.liferay.portal.SystemException,
123             com.liferay.portal.PortalException;
124 
125     public void deleteFrameworkVersion(long frameworkVersionId)
126         throws com.liferay.portal.SystemException,
127             com.liferay.portal.PortalException;
128 
129     public void deleteFrameworkVersion(
130         com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion)
131         throws com.liferay.portal.SystemException,
132             com.liferay.portal.PortalException;
133 
134     public void deleteFrameworkVersions(long groupId)
135         throws com.liferay.portal.SystemException,
136             com.liferay.portal.PortalException;
137 
138     public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
139         long frameworkVersionId)
140         throws com.liferay.portal.SystemException,
141             com.liferay.portal.PortalException;
142 
143     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
144         long groupId, int begin, int end)
145         throws com.liferay.portal.SystemException;
146 
147     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
148         long groupId, boolean active) throws com.liferay.portal.SystemException;
149 
150     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
151         long groupId, boolean active, int begin, int end)
152         throws com.liferay.portal.SystemException;
153 
154     public int getFrameworkVersionsCount(long groupId)
155         throws com.liferay.portal.SystemException;
156 
157     public int getFrameworkVersionsCount(long groupId, boolean active)
158         throws com.liferay.portal.SystemException;
159 
160     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getProductVersionFrameworkVersions(
161         long productVersionId)
162         throws com.liferay.portal.SystemException,
163             com.liferay.portal.PortalException;
164 
165     public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
166         long frameworkVersionId, java.lang.String name, java.lang.String url,
167         boolean active, int priority)
168         throws com.liferay.portal.SystemException,
169             com.liferay.portal.PortalException;
170 }