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.portal.service;
022:
023: /**
024: * <a href="OrganizationLocalService.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.portal.service.impl.OrganizationLocalServiceImpl</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.portal.service.OrganizationLocalServiceFactory
045: * @see com.liferay.portal.service.OrganizationLocalServiceUtil
046: *
047: */
048: public interface OrganizationLocalService {
049: public com.liferay.portal.model.Organization addOrganization(
050: com.liferay.portal.model.Organization 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.portal.model.Organization updateOrganization(
063: com.liferay.portal.model.Organization model)
064: throws com.liferay.portal.SystemException;
065:
066: public com.liferay.portal.service.persistence.AccountPersistence getAccountPersistence();
067:
068: public void setAccountPersistence(
069: com.liferay.portal.service.persistence.AccountPersistence accountPersistence);
070:
071: public com.liferay.portal.service.persistence.ActivityTrackerPersistence getActivityTrackerPersistence();
072:
073: public void setActivityTrackerPersistence(
074: com.liferay.portal.service.persistence.ActivityTrackerPersistence activityTrackerPersistence);
075:
076: public com.liferay.portal.service.persistence.ActivityTrackerFinder getActivityTrackerFinder();
077:
078: public void setActivityTrackerFinder(
079: com.liferay.portal.service.persistence.ActivityTrackerFinder activityTrackerFinder);
080:
081: public com.liferay.portal.service.persistence.AddressPersistence getAddressPersistence();
082:
083: public void setAddressPersistence(
084: com.liferay.portal.service.persistence.AddressPersistence addressPersistence);
085:
086: public com.liferay.portal.service.persistence.ClassNamePersistence getClassNamePersistence();
087:
088: public void setClassNamePersistence(
089: com.liferay.portal.service.persistence.ClassNamePersistence classNamePersistence);
090:
091: public com.liferay.portal.service.persistence.CompanyPersistence getCompanyPersistence();
092:
093: public void setCompanyPersistence(
094: com.liferay.portal.service.persistence.CompanyPersistence companyPersistence);
095:
096: public com.liferay.portal.service.persistence.ContactPersistence getContactPersistence();
097:
098: public void setContactPersistence(
099: com.liferay.portal.service.persistence.ContactPersistence contactPersistence);
100:
101: public com.liferay.portal.service.persistence.CountryPersistence getCountryPersistence();
102:
103: public void setCountryPersistence(
104: com.liferay.portal.service.persistence.CountryPersistence countryPersistence);
105:
106: public com.liferay.portal.service.persistence.EmailAddressPersistence getEmailAddressPersistence();
107:
108: public void setEmailAddressPersistence(
109: com.liferay.portal.service.persistence.EmailAddressPersistence emailAddressPersistence);
110:
111: public com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence();
112:
113: public void setGroupPersistence(
114: com.liferay.portal.service.persistence.GroupPersistence groupPersistence);
115:
116: public com.liferay.portal.service.persistence.GroupFinder getGroupFinder();
117:
118: public void setGroupFinder(
119: com.liferay.portal.service.persistence.GroupFinder groupFinder);
120:
121: public com.liferay.portal.service.persistence.ImagePersistence getImagePersistence();
122:
123: public void setImagePersistence(
124: com.liferay.portal.service.persistence.ImagePersistence imagePersistence);
125:
126: public com.liferay.portal.service.persistence.LayoutPersistence getLayoutPersistence();
127:
128: public void setLayoutPersistence(
129: com.liferay.portal.service.persistence.LayoutPersistence layoutPersistence);
130:
131: public com.liferay.portal.service.persistence.LayoutFinder getLayoutFinder();
132:
133: public void setLayoutFinder(
134: com.liferay.portal.service.persistence.LayoutFinder layoutFinder);
135:
136: public com.liferay.portal.service.persistence.LayoutSetPersistence getLayoutSetPersistence();
137:
138: public void setLayoutSetPersistence(
139: com.liferay.portal.service.persistence.LayoutSetPersistence layoutSetPersistence);
140:
141: public com.liferay.portal.service.persistence.ListTypePersistence getListTypePersistence();
142:
143: public void setListTypePersistence(
144: com.liferay.portal.service.persistence.ListTypePersistence listTypePersistence);
145:
146: public com.liferay.portal.service.persistence.MembershipRequestPersistence getMembershipRequestPersistence();
147:
148: public void setMembershipRequestPersistence(
149: com.liferay.portal.service.persistence.MembershipRequestPersistence membershipRequestPersistence);
150:
151: public com.liferay.portal.service.persistence.OrganizationPersistence getOrganizationPersistence();
152:
153: public void setOrganizationPersistence(
154: com.liferay.portal.service.persistence.OrganizationPersistence organizationPersistence);
155:
156: public com.liferay.portal.service.persistence.OrganizationFinder getOrganizationFinder();
157:
158: public void setOrganizationFinder(
159: com.liferay.portal.service.persistence.OrganizationFinder organizationFinder);
160:
161: public com.liferay.portal.service.persistence.OrgGroupPermissionPersistence getOrgGroupPermissionPersistence();
162:
163: public void setOrgGroupPermissionPersistence(
164: com.liferay.portal.service.persistence.OrgGroupPermissionPersistence orgGroupPermissionPersistence);
165:
166: public com.liferay.portal.service.persistence.OrgGroupPermissionFinder getOrgGroupPermissionFinder();
167:
168: public void setOrgGroupPermissionFinder(
169: com.liferay.portal.service.persistence.OrgGroupPermissionFinder orgGroupPermissionFinder);
170:
171: public com.liferay.portal.service.persistence.OrgGroupRolePersistence getOrgGroupRolePersistence();
172:
173: public void setOrgGroupRolePersistence(
174: com.liferay.portal.service.persistence.OrgGroupRolePersistence orgGroupRolePersistence);
175:
176: public com.liferay.portal.service.persistence.OrgLaborPersistence getOrgLaborPersistence();
177:
178: public void setOrgLaborPersistence(
179: com.liferay.portal.service.persistence.OrgLaborPersistence orgLaborPersistence);
180:
181: public com.liferay.portal.service.persistence.PasswordPolicyPersistence getPasswordPolicyPersistence();
182:
183: public void setPasswordPolicyPersistence(
184: com.liferay.portal.service.persistence.PasswordPolicyPersistence passwordPolicyPersistence);
185:
186: public com.liferay.portal.service.persistence.PasswordPolicyFinder getPasswordPolicyFinder();
187:
188: public void setPasswordPolicyFinder(
189: com.liferay.portal.service.persistence.PasswordPolicyFinder passwordPolicyFinder);
190:
191: public com.liferay.portal.service.persistence.PasswordPolicyRelPersistence getPasswordPolicyRelPersistence();
192:
193: public void setPasswordPolicyRelPersistence(
194: com.liferay.portal.service.persistence.PasswordPolicyRelPersistence passwordPolicyRelPersistence);
195:
196: public com.liferay.portal.service.persistence.PasswordTrackerPersistence getPasswordTrackerPersistence();
197:
198: public void setPasswordTrackerPersistence(
199: com.liferay.portal.service.persistence.PasswordTrackerPersistence passwordTrackerPersistence);
200:
201: public com.liferay.portal.service.persistence.PermissionPersistence getPermissionPersistence();
202:
203: public void setPermissionPersistence(
204: com.liferay.portal.service.persistence.PermissionPersistence permissionPersistence);
205:
206: public com.liferay.portal.service.persistence.PermissionFinder getPermissionFinder();
207:
208: public void setPermissionFinder(
209: com.liferay.portal.service.persistence.PermissionFinder permissionFinder);
210:
211: public com.liferay.portal.service.persistence.PermissionUserFinder getPermissionUserFinder();
212:
213: public void setPermissionUserFinder(
214: com.liferay.portal.service.persistence.PermissionUserFinder permissionUserFinder);
215:
216: public com.liferay.portal.service.persistence.PhonePersistence getPhonePersistence();
217:
218: public void setPhonePersistence(
219: com.liferay.portal.service.persistence.PhonePersistence phonePersistence);
220:
221: public com.liferay.portal.service.persistence.PluginSettingPersistence getPluginSettingPersistence();
222:
223: public void setPluginSettingPersistence(
224: com.liferay.portal.service.persistence.PluginSettingPersistence pluginSettingPersistence);
225:
226: public com.liferay.portal.service.persistence.PortletPersistence getPortletPersistence();
227:
228: public void setPortletPersistence(
229: com.liferay.portal.service.persistence.PortletPersistence portletPersistence);
230:
231: public com.liferay.portal.service.persistence.PortletPreferencesPersistence getPortletPreferencesPersistence();
232:
233: public void setPortletPreferencesPersistence(
234: com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence);
235:
236: public com.liferay.portal.service.persistence.PortletPreferencesFinder getPortletPreferencesFinder();
237:
238: public void setPortletPreferencesFinder(
239: com.liferay.portal.service.persistence.PortletPreferencesFinder portletPreferencesFinder);
240:
241: public com.liferay.portal.service.persistence.RegionPersistence getRegionPersistence();
242:
243: public void setRegionPersistence(
244: com.liferay.portal.service.persistence.RegionPersistence regionPersistence);
245:
246: public com.liferay.portal.service.persistence.ReleasePersistence getReleasePersistence();
247:
248: public void setReleasePersistence(
249: com.liferay.portal.service.persistence.ReleasePersistence releasePersistence);
250:
251: public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence();
252:
253: public void setResourcePersistence(
254: com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence);
255:
256: public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder();
257:
258: public void setResourceFinder(
259: com.liferay.portal.service.persistence.ResourceFinder resourceFinder);
260:
261: public com.liferay.portal.service.persistence.ResourceCodePersistence getResourceCodePersistence();
262:
263: public void setResourceCodePersistence(
264: com.liferay.portal.service.persistence.ResourceCodePersistence resourceCodePersistence);
265:
266: public com.liferay.portal.service.persistence.RolePersistence getRolePersistence();
267:
268: public void setRolePersistence(
269: com.liferay.portal.service.persistence.RolePersistence rolePersistence);
270:
271: public com.liferay.portal.service.persistence.RoleFinder getRoleFinder();
272:
273: public void setRoleFinder(
274: com.liferay.portal.service.persistence.RoleFinder roleFinder);
275:
276: public com.liferay.portal.service.persistence.ServiceComponentPersistence getServiceComponentPersistence();
277:
278: public void setServiceComponentPersistence(
279: com.liferay.portal.service.persistence.ServiceComponentPersistence serviceComponentPersistence);
280:
281: public com.liferay.portal.service.persistence.SubscriptionPersistence getSubscriptionPersistence();
282:
283: public void setSubscriptionPersistence(
284: com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence);
285:
286: public com.liferay.portal.service.persistence.UserPersistence getUserPersistence();
287:
288: public void setUserPersistence(
289: com.liferay.portal.service.persistence.UserPersistence userPersistence);
290:
291: public com.liferay.portal.service.persistence.UserFinder getUserFinder();
292:
293: public void setUserFinder(
294: com.liferay.portal.service.persistence.UserFinder userFinder);
295:
296: public com.liferay.portal.service.persistence.UserGroupPersistence getUserGroupPersistence();
297:
298: public void setUserGroupPersistence(
299: com.liferay.portal.service.persistence.UserGroupPersistence userGroupPersistence);
300:
301: public com.liferay.portal.service.persistence.UserGroupFinder getUserGroupFinder();
302:
303: public void setUserGroupFinder(
304: com.liferay.portal.service.persistence.UserGroupFinder userGroupFinder);
305:
306: public com.liferay.portal.service.persistence.UserGroupRolePersistence getUserGroupRolePersistence();
307:
308: public void setUserGroupRolePersistence(
309: com.liferay.portal.service.persistence.UserGroupRolePersistence userGroupRolePersistence);
310:
311: public com.liferay.portal.service.persistence.UserIdMapperPersistence getUserIdMapperPersistence();
312:
313: public void setUserIdMapperPersistence(
314: com.liferay.portal.service.persistence.UserIdMapperPersistence userIdMapperPersistence);
315:
316: public com.liferay.portal.service.persistence.UserTrackerPersistence getUserTrackerPersistence();
317:
318: public void setUserTrackerPersistence(
319: com.liferay.portal.service.persistence.UserTrackerPersistence userTrackerPersistence);
320:
321: public com.liferay.portal.service.persistence.UserTrackerPathPersistence getUserTrackerPathPersistence();
322:
323: public void setUserTrackerPathPersistence(
324: com.liferay.portal.service.persistence.UserTrackerPathPersistence userTrackerPathPersistence);
325:
326: public com.liferay.portal.service.persistence.WebDAVPropsPersistence getWebDAVPropsPersistence();
327:
328: public void setWebDAVPropsPersistence(
329: com.liferay.portal.service.persistence.WebDAVPropsPersistence webDAVPropsPersistence);
330:
331: public com.liferay.portal.service.persistence.WebsitePersistence getWebsitePersistence();
332:
333: public void setWebsitePersistence(
334: com.liferay.portal.service.persistence.WebsitePersistence websitePersistence);
335:
336: public void afterPropertiesSet();
337:
338: public void addGroupOrganizations(long groupId,
339: long[] organizationIds)
340: throws com.liferay.portal.SystemException,
341: com.liferay.portal.PortalException;
342:
343: public com.liferay.portal.model.Organization addOrganization(
344: long userId, long parentOrganizationId,
345: java.lang.String name, int type, boolean recursable,
346: long regionId, long countryId, int statusId,
347: java.lang.String comments)
348: throws com.liferay.portal.SystemException,
349: com.liferay.portal.PortalException;
350:
351: public void addOrganizationResources(long userId,
352: com.liferay.portal.model.Organization organization)
353: throws com.liferay.portal.SystemException,
354: com.liferay.portal.PortalException;
355:
356: public void addPasswordPolicyOrganizations(long passwordPolicyId,
357: long[] organizationIds)
358: throws com.liferay.portal.SystemException,
359: com.liferay.portal.PortalException;
360:
361: public void deleteOrganization(long organizationId)
362: throws com.liferay.portal.SystemException,
363: com.liferay.portal.PortalException;
364:
365: public void deleteOrganization(
366: com.liferay.portal.model.Organization organization)
367: throws com.liferay.portal.SystemException,
368: com.liferay.portal.PortalException;
369:
370: public java.util.List getGroupOrganizations(long groupId)
371: throws com.liferay.portal.SystemException,
372: com.liferay.portal.PortalException;
373:
374: public java.util.List getManageableOrganizations(long userId)
375: throws com.liferay.portal.SystemException,
376: com.liferay.portal.PortalException;
377:
378: public com.liferay.portal.model.Organization getOrganization(
379: long organizationId)
380: throws com.liferay.portal.SystemException,
381: com.liferay.portal.PortalException;
382:
383: public com.liferay.portal.model.Organization getOrganization(
384: long companyId, java.lang.String name)
385: throws com.liferay.portal.SystemException,
386: com.liferay.portal.PortalException;
387:
388: public long getOrganizationId(long companyId, java.lang.String name)
389: throws com.liferay.portal.SystemException,
390: com.liferay.portal.PortalException;
391:
392: public java.util.List getOrganizations(long[] organizationIds)
393: throws com.liferay.portal.SystemException,
394: com.liferay.portal.PortalException;
395:
396: public java.util.List getParentOrganizations(long organizationId)
397: throws com.liferay.portal.SystemException,
398: com.liferay.portal.PortalException;
399:
400: public java.util.List getSuborganizations(
401: java.util.List organizations)
402: throws com.liferay.portal.SystemException;
403:
404: public java.util.List getSubsetOrganizations(
405: java.util.List allOrganizations,
406: java.util.List availableOrganizations)
407: throws com.liferay.portal.SystemException,
408: com.liferay.portal.PortalException;
409:
410: public java.util.List getUserOrganizations(long userId)
411: throws com.liferay.portal.SystemException,
412: com.liferay.portal.PortalException;
413:
414: public int getUserOrganizationsCount(long userId)
415: throws com.liferay.portal.SystemException,
416: com.liferay.portal.PortalException;
417:
418: public boolean hasGroupOrganization(long groupId,
419: long organizationId)
420: throws com.liferay.portal.SystemException,
421: com.liferay.portal.PortalException;
422:
423: public boolean hasUserOrganization(long userId, long organizationId)
424: throws com.liferay.portal.SystemException,
425: com.liferay.portal.PortalException;
426:
427: public boolean hasPasswordPolicyOrganization(long passwordPolicyId,
428: long organizationId)
429: throws com.liferay.portal.SystemException,
430: com.liferay.portal.PortalException;
431:
432: public java.util.List search(long companyId,
433: long parentOrganizationId, java.lang.String keywords,
434: int type, java.lang.Long regionId,
435: java.lang.Long countryId, java.util.LinkedHashMap params,
436: int begin, int end)
437: throws com.liferay.portal.SystemException,
438: com.liferay.portal.PortalException;
439:
440: public java.util.List search(long companyId,
441: long parentOrganizationId, java.lang.String keywords,
442: int type, java.lang.Long regionId,
443: java.lang.Long countryId, java.util.LinkedHashMap params,
444: int begin, int end,
445: com.liferay.portal.kernel.util.OrderByComparator obc)
446: throws com.liferay.portal.SystemException,
447: com.liferay.portal.PortalException;
448:
449: public java.util.List search(long companyId,
450: long parentOrganizationId, java.lang.String name, int type,
451: java.lang.String street, java.lang.String city,
452: java.lang.String zip, java.lang.Long regionId,
453: java.lang.Long countryId, java.util.LinkedHashMap params,
454: boolean andOperator, int begin, int end)
455: throws com.liferay.portal.SystemException,
456: com.liferay.portal.PortalException;
457:
458: public java.util.List search(long companyId,
459: long parentOrganizationId, java.lang.String name, int type,
460: java.lang.String street, java.lang.String city,
461: java.lang.String zip, java.lang.Long regionId,
462: java.lang.Long countryId, java.util.LinkedHashMap params,
463: boolean andOperator, int begin, int end,
464: com.liferay.portal.kernel.util.OrderByComparator obc)
465: throws com.liferay.portal.SystemException,
466: com.liferay.portal.PortalException;
467:
468: public int searchCount(long companyId, long parentOrganizationId,
469: java.lang.String keywords, int type,
470: java.lang.Long regionId, java.lang.Long countryId,
471: java.util.LinkedHashMap params)
472: throws com.liferay.portal.SystemException,
473: com.liferay.portal.PortalException;
474:
475: public int searchCount(long companyId, long parentOrganizationId,
476: java.lang.String name, int type, java.lang.String street,
477: java.lang.String city, java.lang.String zip,
478: java.lang.Long regionId, java.lang.Long countryId,
479: java.util.LinkedHashMap params, boolean andOperator)
480: throws com.liferay.portal.SystemException,
481: com.liferay.portal.PortalException;
482:
483: public void setGroupOrganizations(long groupId,
484: long[] organizationIds)
485: throws com.liferay.portal.SystemException,
486: com.liferay.portal.PortalException;
487:
488: public void unsetGroupOrganizations(long groupId,
489: long[] organizationIds)
490: throws com.liferay.portal.SystemException,
491: com.liferay.portal.PortalException;
492:
493: public void unsetPasswordPolicyOrganizations(long passwordPolicyId,
494: long[] organizationIds)
495: throws com.liferay.portal.SystemException,
496: com.liferay.portal.PortalException;
497:
498: public com.liferay.portal.model.Organization updateOrganization(
499: long companyId, long organizationId,
500: long parentOrganizationId, java.lang.String name, int type,
501: boolean recursable, long regionId, long countryId,
502: int statusId, java.lang.String comments)
503: throws com.liferay.portal.SystemException,
504: com.liferay.portal.PortalException;
505: }
|