001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portlet.softwarecatalog.service;
022:
023: /**
024: * <a href="SCFrameworkVersionLocalService.java.html"><b><i>View Source</i></b></a>
025: *
026: * <p>
027: * ServiceBuilder generated this class. Modifications in this class will be
028: * overwritten the next time is generated.
029: * </p>
030: *
031: * <p>
032: * This interface defines the service. The default implementation is
033: * <code>com.liferay.portlet.softwarecatalog.service.impl.SCFrameworkVersionLocalServiceImpl</code>.
034: * Modify methods in that class and rerun ServiceBuilder to populate this class
035: * and all other generated classes.
036: * </p>
037: *
038: * <p>
039: * 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.
040: * </p>
041: *
042: * @author Brian Wing Shun Chan
043: *
044: * @see com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalServiceFactory
045: * @see com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalServiceUtil
046: *
047: */
048: public interface SCFrameworkVersionLocalService {
049: public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addSCFrameworkVersion(
050: com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion model)
051: throws com.liferay.portal.SystemException;
052:
053: public java.util.List dynamicQuery(
054: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
055: throws com.liferay.portal.SystemException;
056:
057: public java.util.List dynamicQuery(
058: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
059: int begin, int end)
060: throws com.liferay.portal.SystemException;
061:
062: public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateSCFrameworkVersion(
063: com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion model)
064: throws com.liferay.portal.SystemException;
065:
066: public com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence getSCLicensePersistence();
067:
068: public void setSCLicensePersistence(
069: com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence);
070:
071: public com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence getSCFrameworkVersionPersistence();
072:
073: public void setSCFrameworkVersionPersistence(
074: com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence);
075:
076: public com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence getSCProductEntryPersistence();
077:
078: public void setSCProductEntryPersistence(
079: com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence);
080:
081: public com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence getSCProductScreenshotPersistence();
082:
083: public void setSCProductScreenshotPersistence(
084: com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence scProductScreenshotPersistence);
085:
086: public com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence getSCProductVersionPersistence();
087:
088: public void setSCProductVersionPersistence(
089: com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence scProductVersionPersistence);
090:
091: public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence();
092:
093: public void setResourcePersistence(
094: com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence);
095:
096: public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder();
097:
098: public void setResourceFinder(
099: com.liferay.portal.service.persistence.ResourceFinder resourceFinder);
100:
101: public com.liferay.portal.service.persistence.UserPersistence getUserPersistence();
102:
103: public void setUserPersistence(
104: com.liferay.portal.service.persistence.UserPersistence userPersistence);
105:
106: public com.liferay.portal.service.persistence.UserFinder getUserFinder();
107:
108: public void setUserFinder(
109: com.liferay.portal.service.persistence.UserFinder userFinder);
110:
111: public void afterPropertiesSet();
112:
113: public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
114: long userId, long plid, java.lang.String name,
115: java.lang.String url, boolean active, int priority,
116: boolean addCommunityPermissions, boolean addGuestPermissions)
117: throws com.liferay.portal.SystemException,
118: com.liferay.portal.PortalException;
119:
120: public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
121: long userId, long plid, java.lang.String name,
122: java.lang.String url, boolean active, int priority,
123: java.lang.String[] communityPermissions,
124: java.lang.String[] guestPermissions)
125: throws com.liferay.portal.SystemException,
126: com.liferay.portal.PortalException;
127:
128: public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
129: long userId, long plid, java.lang.String name,
130: java.lang.String url, boolean active, int priority,
131: java.lang.Boolean addCommunityPermissions,
132: java.lang.Boolean addGuestPermissions,
133: java.lang.String[] communityPermissions,
134: java.lang.String[] guestPermissions)
135: throws com.liferay.portal.SystemException,
136: com.liferay.portal.PortalException;
137:
138: public void addFrameworkVersionResources(long frameworkVersionId,
139: boolean addCommunityPermissions, boolean addGuestPermissions)
140: throws com.liferay.portal.SystemException,
141: com.liferay.portal.PortalException;
142:
143: public void addFrameworkVersionResources(
144: com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
145: boolean addCommunityPermissions, boolean addGuestPermissions)
146: throws com.liferay.portal.SystemException,
147: com.liferay.portal.PortalException;
148:
149: public void addFrameworkVersionResources(long frameworkVersionId,
150: java.lang.String[] communityPermissions,
151: java.lang.String[] guestPermissions)
152: throws com.liferay.portal.SystemException,
153: com.liferay.portal.PortalException;
154:
155: public void addFrameworkVersionResources(
156: com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
157: java.lang.String[] communityPermissions,
158: java.lang.String[] guestPermissions)
159: throws com.liferay.portal.SystemException,
160: com.liferay.portal.PortalException;
161:
162: public void deleteFrameworkVersion(long frameworkVersionId)
163: throws com.liferay.portal.SystemException,
164: com.liferay.portal.PortalException;
165:
166: public void deleteFrameworkVersion(
167: com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion)
168: throws com.liferay.portal.SystemException,
169: com.liferay.portal.PortalException;
170:
171: public void deleteFrameworkVersions(long groupId)
172: throws com.liferay.portal.SystemException,
173: com.liferay.portal.PortalException;
174:
175: public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
176: long frameworkVersionId)
177: throws com.liferay.portal.SystemException,
178: com.liferay.portal.PortalException;
179:
180: public java.util.List getFrameworkVersions(long groupId, int begin,
181: int end) throws com.liferay.portal.SystemException;
182:
183: public java.util.List getFrameworkVersions(long groupId,
184: boolean active) throws com.liferay.portal.SystemException;
185:
186: public java.util.List getFrameworkVersions(long groupId,
187: boolean active, int begin, int end)
188: throws com.liferay.portal.SystemException;
189:
190: public int getFrameworkVersionsCount(long groupId)
191: throws com.liferay.portal.SystemException;
192:
193: public int getFrameworkVersionsCount(long groupId, boolean active)
194: throws com.liferay.portal.SystemException;
195:
196: public java.util.List getProductVersionFrameworkVersions(
197: long productVersionId)
198: throws com.liferay.portal.SystemException,
199: com.liferay.portal.PortalException;
200:
201: public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
202: long frameworkVersionId, java.lang.String name,
203: java.lang.String url, boolean active, int priority)
204: throws com.liferay.portal.SystemException,
205: com.liferay.portal.PortalException;
206: }
|