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.imagegallery.service;
022:
023: /**
024: * <a href="IGFolderLocalService.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.imagegallery.service.impl.IGFolderLocalServiceImpl</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.imagegallery.service.IGFolderLocalServiceFactory
045: * @see com.liferay.portlet.imagegallery.service.IGFolderLocalServiceUtil
046: *
047: */
048: public interface IGFolderLocalService {
049: public com.liferay.portlet.imagegallery.model.IGFolder addIGFolder(
050: com.liferay.portlet.imagegallery.model.IGFolder 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.imagegallery.model.IGFolder updateIGFolder(
063: com.liferay.portlet.imagegallery.model.IGFolder model)
064: throws com.liferay.portal.SystemException;
065:
066: public com.liferay.portlet.imagegallery.service.persistence.IGFolderPersistence getIGFolderPersistence();
067:
068: public void setIGFolderPersistence(
069: com.liferay.portlet.imagegallery.service.persistence.IGFolderPersistence igFolderPersistence);
070:
071: public com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence getIGImagePersistence();
072:
073: public void setIGImagePersistence(
074: com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence igImagePersistence);
075:
076: public com.liferay.portlet.imagegallery.service.persistence.IGImageFinder getIGImageFinder();
077:
078: public void setIGImageFinder(
079: com.liferay.portlet.imagegallery.service.persistence.IGImageFinder igImageFinder);
080:
081: public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence();
082:
083: public void setResourcePersistence(
084: com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence);
085:
086: public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder();
087:
088: public void setResourceFinder(
089: com.liferay.portal.service.persistence.ResourceFinder resourceFinder);
090:
091: public com.liferay.portal.service.persistence.UserPersistence getUserPersistence();
092:
093: public void setUserPersistence(
094: com.liferay.portal.service.persistence.UserPersistence userPersistence);
095:
096: public com.liferay.portal.service.persistence.UserFinder getUserFinder();
097:
098: public void setUserFinder(
099: com.liferay.portal.service.persistence.UserFinder userFinder);
100:
101: public com.liferay.portlet.tags.service.persistence.TagsEntryPersistence getTagsEntryPersistence();
102:
103: public void setTagsEntryPersistence(
104: com.liferay.portlet.tags.service.persistence.TagsEntryPersistence tagsEntryPersistence);
105:
106: public com.liferay.portlet.tags.service.persistence.TagsEntryFinder getTagsEntryFinder();
107:
108: public void setTagsEntryFinder(
109: com.liferay.portlet.tags.service.persistence.TagsEntryFinder tagsEntryFinder);
110:
111: public void afterPropertiesSet();
112:
113: public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
114: long userId, long plid, long parentFolderId,
115: java.lang.String name, java.lang.String description,
116: boolean addCommunityPermissions, boolean addGuestPermissions)
117: throws com.liferay.portal.SystemException,
118: com.liferay.portal.PortalException;
119:
120: public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
121: java.lang.String uuid, long userId, long plid,
122: long parentFolderId, java.lang.String name,
123: java.lang.String description,
124: boolean addCommunityPermissions, boolean addGuestPermissions)
125: throws com.liferay.portal.SystemException,
126: com.liferay.portal.PortalException;
127:
128: public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
129: long userId, long plid, long parentFolderId,
130: java.lang.String name, java.lang.String description,
131: java.lang.String[] communityPermissions,
132: java.lang.String[] guestPermissions)
133: throws com.liferay.portal.SystemException,
134: com.liferay.portal.PortalException;
135:
136: public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
137: java.lang.String uuid, long userId, long plid,
138: long parentFolderId, java.lang.String name,
139: java.lang.String description,
140: java.lang.Boolean addCommunityPermissions,
141: java.lang.Boolean addGuestPermissions,
142: java.lang.String[] communityPermissions,
143: java.lang.String[] guestPermissions)
144: throws com.liferay.portal.SystemException,
145: com.liferay.portal.PortalException;
146:
147: public com.liferay.portlet.imagegallery.model.IGFolder addFolderToGroup(
148: java.lang.String uuid, long userId, long groupId,
149: long parentFolderId, java.lang.String name,
150: java.lang.String description,
151: java.lang.Boolean addCommunityPermissions,
152: java.lang.Boolean addGuestPermissions,
153: java.lang.String[] communityPermissions,
154: java.lang.String[] guestPermissions)
155: throws com.liferay.portal.SystemException,
156: com.liferay.portal.PortalException;
157:
158: public void addFolderResources(long folderId,
159: boolean addCommunityPermissions, boolean addGuestPermissions)
160: throws com.liferay.portal.SystemException,
161: com.liferay.portal.PortalException;
162:
163: public void addFolderResources(
164: com.liferay.portlet.imagegallery.model.IGFolder folder,
165: boolean addCommunityPermissions, boolean addGuestPermissions)
166: throws com.liferay.portal.SystemException,
167: com.liferay.portal.PortalException;
168:
169: public void addFolderResources(long folderId,
170: java.lang.String[] communityPermissions,
171: java.lang.String[] guestPermissions)
172: throws com.liferay.portal.SystemException,
173: com.liferay.portal.PortalException;
174:
175: public void addFolderResources(
176: com.liferay.portlet.imagegallery.model.IGFolder folder,
177: java.lang.String[] communityPermissions,
178: java.lang.String[] guestPermissions)
179: throws com.liferay.portal.SystemException,
180: com.liferay.portal.PortalException;
181:
182: public void deleteFolder(long folderId)
183: throws com.liferay.portal.SystemException,
184: com.liferay.portal.PortalException;
185:
186: public void deleteFolder(
187: com.liferay.portlet.imagegallery.model.IGFolder folder)
188: throws com.liferay.portal.SystemException,
189: com.liferay.portal.PortalException;
190:
191: public void deleteFolders(long groupId)
192: throws com.liferay.portal.SystemException,
193: com.liferay.portal.PortalException;
194:
195: public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
196: long folderId) throws com.liferay.portal.SystemException,
197: com.liferay.portal.PortalException;
198:
199: public java.util.List getFolders(long groupId)
200: throws com.liferay.portal.SystemException;
201:
202: public java.util.List getFolders(long groupId, long parentFolderId)
203: throws com.liferay.portal.SystemException;
204:
205: public java.util.List getFolders(long groupId, long parentFolderId,
206: int begin, int end)
207: throws com.liferay.portal.SystemException;
208:
209: public int getFoldersCount(long groupId, long parentFolderId)
210: throws com.liferay.portal.SystemException;
211:
212: public void getSubfolderIds(java.util.List folderIds, long groupId,
213: long folderId) throws com.liferay.portal.SystemException;
214:
215: public void reIndex(java.lang.String[] ids)
216: throws com.liferay.portal.SystemException;
217:
218: public com.liferay.portal.kernel.search.Hits search(long companyId,
219: long groupId, long[] folderIds, java.lang.String keywords)
220: throws com.liferay.portal.SystemException;
221:
222: public com.liferay.portlet.imagegallery.model.IGFolder updateFolder(
223: long folderId, long parentFolderId, java.lang.String name,
224: java.lang.String description, boolean mergeWithParentFolder)
225: throws com.liferay.portal.SystemException,
226: com.liferay.portal.PortalException;
227: }
|