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="OrgLaborLocalServiceUtil.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 class provides static methods for the
033: * <code>com.liferay.portal.service.OrgLaborLocalService</code>
034: * bean. The static methods of this class calls the same methods of the bean
035: * instance. It's convenient to be able to just write one line to call a method
036: * on a bean instead of writing a lookup call and a method call.
037: * </p>
038: *
039: * <p>
040: * <code>com.liferay.portal.service.OrgLaborLocalServiceFactory</code>
041: * is responsible for the lookup of the bean.
042: * </p>
043: *
044: * @author Brian Wing Shun Chan
045: *
046: * @see com.liferay.portal.service.OrgLaborLocalService
047: * @see com.liferay.portal.service.OrgLaborLocalServiceFactory
048: *
049: */
050: public class OrgLaborLocalServiceUtil {
051: public static com.liferay.portal.model.OrgLabor addOrgLabor(
052: com.liferay.portal.model.OrgLabor model)
053: throws com.liferay.portal.SystemException {
054: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
055: .getService();
056:
057: return orgLaborLocalService.addOrgLabor(model);
058: }
059:
060: public static java.util.List dynamicQuery(
061: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
062: throws com.liferay.portal.SystemException {
063: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
064: .getService();
065:
066: return orgLaborLocalService.dynamicQuery(queryInitializer);
067: }
068:
069: public static java.util.List dynamicQuery(
070: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
071: int begin, int end)
072: throws com.liferay.portal.SystemException {
073: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
074: .getService();
075:
076: return orgLaborLocalService.dynamicQuery(queryInitializer,
077: begin, end);
078: }
079:
080: public static com.liferay.portal.model.OrgLabor updateOrgLabor(
081: com.liferay.portal.model.OrgLabor model)
082: throws com.liferay.portal.SystemException {
083: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
084: .getService();
085:
086: return orgLaborLocalService.updateOrgLabor(model);
087: }
088:
089: public static com.liferay.portal.service.persistence.AccountPersistence getAccountPersistence() {
090: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
091: .getService();
092:
093: return orgLaborLocalService.getAccountPersistence();
094: }
095:
096: public static void setAccountPersistence(
097: com.liferay.portal.service.persistence.AccountPersistence accountPersistence) {
098: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
099: .getService();
100:
101: orgLaborLocalService.setAccountPersistence(accountPersistence);
102: }
103:
104: public static com.liferay.portal.service.persistence.ActivityTrackerPersistence getActivityTrackerPersistence() {
105: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
106: .getService();
107:
108: return orgLaborLocalService.getActivityTrackerPersistence();
109: }
110:
111: public static void setActivityTrackerPersistence(
112: com.liferay.portal.service.persistence.ActivityTrackerPersistence activityTrackerPersistence) {
113: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
114: .getService();
115:
116: orgLaborLocalService
117: .setActivityTrackerPersistence(activityTrackerPersistence);
118: }
119:
120: public static com.liferay.portal.service.persistence.ActivityTrackerFinder getActivityTrackerFinder() {
121: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
122: .getService();
123:
124: return orgLaborLocalService.getActivityTrackerFinder();
125: }
126:
127: public static void setActivityTrackerFinder(
128: com.liferay.portal.service.persistence.ActivityTrackerFinder activityTrackerFinder) {
129: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
130: .getService();
131:
132: orgLaborLocalService
133: .setActivityTrackerFinder(activityTrackerFinder);
134: }
135:
136: public static com.liferay.portal.service.persistence.AddressPersistence getAddressPersistence() {
137: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
138: .getService();
139:
140: return orgLaborLocalService.getAddressPersistence();
141: }
142:
143: public static void setAddressPersistence(
144: com.liferay.portal.service.persistence.AddressPersistence addressPersistence) {
145: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
146: .getService();
147:
148: orgLaborLocalService.setAddressPersistence(addressPersistence);
149: }
150:
151: public static com.liferay.portal.service.persistence.ClassNamePersistence getClassNamePersistence() {
152: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
153: .getService();
154:
155: return orgLaborLocalService.getClassNamePersistence();
156: }
157:
158: public static void setClassNamePersistence(
159: com.liferay.portal.service.persistence.ClassNamePersistence classNamePersistence) {
160: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
161: .getService();
162:
163: orgLaborLocalService
164: .setClassNamePersistence(classNamePersistence);
165: }
166:
167: public static com.liferay.portal.service.persistence.CompanyPersistence getCompanyPersistence() {
168: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
169: .getService();
170:
171: return orgLaborLocalService.getCompanyPersistence();
172: }
173:
174: public static void setCompanyPersistence(
175: com.liferay.portal.service.persistence.CompanyPersistence companyPersistence) {
176: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
177: .getService();
178:
179: orgLaborLocalService.setCompanyPersistence(companyPersistence);
180: }
181:
182: public static com.liferay.portal.service.persistence.ContactPersistence getContactPersistence() {
183: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
184: .getService();
185:
186: return orgLaborLocalService.getContactPersistence();
187: }
188:
189: public static void setContactPersistence(
190: com.liferay.portal.service.persistence.ContactPersistence contactPersistence) {
191: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
192: .getService();
193:
194: orgLaborLocalService.setContactPersistence(contactPersistence);
195: }
196:
197: public static com.liferay.portal.service.persistence.CountryPersistence getCountryPersistence() {
198: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
199: .getService();
200:
201: return orgLaborLocalService.getCountryPersistence();
202: }
203:
204: public static void setCountryPersistence(
205: com.liferay.portal.service.persistence.CountryPersistence countryPersistence) {
206: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
207: .getService();
208:
209: orgLaborLocalService.setCountryPersistence(countryPersistence);
210: }
211:
212: public static com.liferay.portal.service.persistence.EmailAddressPersistence getEmailAddressPersistence() {
213: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
214: .getService();
215:
216: return orgLaborLocalService.getEmailAddressPersistence();
217: }
218:
219: public static void setEmailAddressPersistence(
220: com.liferay.portal.service.persistence.EmailAddressPersistence emailAddressPersistence) {
221: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
222: .getService();
223:
224: orgLaborLocalService
225: .setEmailAddressPersistence(emailAddressPersistence);
226: }
227:
228: public static com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence() {
229: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
230: .getService();
231:
232: return orgLaborLocalService.getGroupPersistence();
233: }
234:
235: public static void setGroupPersistence(
236: com.liferay.portal.service.persistence.GroupPersistence groupPersistence) {
237: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
238: .getService();
239:
240: orgLaborLocalService.setGroupPersistence(groupPersistence);
241: }
242:
243: public static com.liferay.portal.service.persistence.GroupFinder getGroupFinder() {
244: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
245: .getService();
246:
247: return orgLaborLocalService.getGroupFinder();
248: }
249:
250: public static void setGroupFinder(
251: com.liferay.portal.service.persistence.GroupFinder groupFinder) {
252: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
253: .getService();
254:
255: orgLaborLocalService.setGroupFinder(groupFinder);
256: }
257:
258: public static com.liferay.portal.service.persistence.ImagePersistence getImagePersistence() {
259: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
260: .getService();
261:
262: return orgLaborLocalService.getImagePersistence();
263: }
264:
265: public static void setImagePersistence(
266: com.liferay.portal.service.persistence.ImagePersistence imagePersistence) {
267: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
268: .getService();
269:
270: orgLaborLocalService.setImagePersistence(imagePersistence);
271: }
272:
273: public static com.liferay.portal.service.persistence.LayoutPersistence getLayoutPersistence() {
274: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
275: .getService();
276:
277: return orgLaborLocalService.getLayoutPersistence();
278: }
279:
280: public static void setLayoutPersistence(
281: com.liferay.portal.service.persistence.LayoutPersistence layoutPersistence) {
282: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
283: .getService();
284:
285: orgLaborLocalService.setLayoutPersistence(layoutPersistence);
286: }
287:
288: public static com.liferay.portal.service.persistence.LayoutFinder getLayoutFinder() {
289: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
290: .getService();
291:
292: return orgLaborLocalService.getLayoutFinder();
293: }
294:
295: public static void setLayoutFinder(
296: com.liferay.portal.service.persistence.LayoutFinder layoutFinder) {
297: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
298: .getService();
299:
300: orgLaborLocalService.setLayoutFinder(layoutFinder);
301: }
302:
303: public static com.liferay.portal.service.persistence.LayoutSetPersistence getLayoutSetPersistence() {
304: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
305: .getService();
306:
307: return orgLaborLocalService.getLayoutSetPersistence();
308: }
309:
310: public static void setLayoutSetPersistence(
311: com.liferay.portal.service.persistence.LayoutSetPersistence layoutSetPersistence) {
312: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
313: .getService();
314:
315: orgLaborLocalService
316: .setLayoutSetPersistence(layoutSetPersistence);
317: }
318:
319: public static com.liferay.portal.service.persistence.ListTypePersistence getListTypePersistence() {
320: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
321: .getService();
322:
323: return orgLaborLocalService.getListTypePersistence();
324: }
325:
326: public static void setListTypePersistence(
327: com.liferay.portal.service.persistence.ListTypePersistence listTypePersistence) {
328: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
329: .getService();
330:
331: orgLaborLocalService
332: .setListTypePersistence(listTypePersistence);
333: }
334:
335: public static com.liferay.portal.service.persistence.MembershipRequestPersistence getMembershipRequestPersistence() {
336: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
337: .getService();
338:
339: return orgLaborLocalService.getMembershipRequestPersistence();
340: }
341:
342: public static void setMembershipRequestPersistence(
343: com.liferay.portal.service.persistence.MembershipRequestPersistence membershipRequestPersistence) {
344: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
345: .getService();
346:
347: orgLaborLocalService
348: .setMembershipRequestPersistence(membershipRequestPersistence);
349: }
350:
351: public static com.liferay.portal.service.persistence.OrganizationPersistence getOrganizationPersistence() {
352: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
353: .getService();
354:
355: return orgLaborLocalService.getOrganizationPersistence();
356: }
357:
358: public static void setOrganizationPersistence(
359: com.liferay.portal.service.persistence.OrganizationPersistence organizationPersistence) {
360: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
361: .getService();
362:
363: orgLaborLocalService
364: .setOrganizationPersistence(organizationPersistence);
365: }
366:
367: public static com.liferay.portal.service.persistence.OrganizationFinder getOrganizationFinder() {
368: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
369: .getService();
370:
371: return orgLaborLocalService.getOrganizationFinder();
372: }
373:
374: public static void setOrganizationFinder(
375: com.liferay.portal.service.persistence.OrganizationFinder organizationFinder) {
376: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
377: .getService();
378:
379: orgLaborLocalService.setOrganizationFinder(organizationFinder);
380: }
381:
382: public static com.liferay.portal.service.persistence.OrgGroupPermissionPersistence getOrgGroupPermissionPersistence() {
383: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
384: .getService();
385:
386: return orgLaborLocalService.getOrgGroupPermissionPersistence();
387: }
388:
389: public static void setOrgGroupPermissionPersistence(
390: com.liferay.portal.service.persistence.OrgGroupPermissionPersistence orgGroupPermissionPersistence) {
391: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
392: .getService();
393:
394: orgLaborLocalService
395: .setOrgGroupPermissionPersistence(orgGroupPermissionPersistence);
396: }
397:
398: public static com.liferay.portal.service.persistence.OrgGroupPermissionFinder getOrgGroupPermissionFinder() {
399: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
400: .getService();
401:
402: return orgLaborLocalService.getOrgGroupPermissionFinder();
403: }
404:
405: public static void setOrgGroupPermissionFinder(
406: com.liferay.portal.service.persistence.OrgGroupPermissionFinder orgGroupPermissionFinder) {
407: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
408: .getService();
409:
410: orgLaborLocalService
411: .setOrgGroupPermissionFinder(orgGroupPermissionFinder);
412: }
413:
414: public static com.liferay.portal.service.persistence.OrgGroupRolePersistence getOrgGroupRolePersistence() {
415: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
416: .getService();
417:
418: return orgLaborLocalService.getOrgGroupRolePersistence();
419: }
420:
421: public static void setOrgGroupRolePersistence(
422: com.liferay.portal.service.persistence.OrgGroupRolePersistence orgGroupRolePersistence) {
423: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
424: .getService();
425:
426: orgLaborLocalService
427: .setOrgGroupRolePersistence(orgGroupRolePersistence);
428: }
429:
430: public static com.liferay.portal.service.persistence.OrgLaborPersistence getOrgLaborPersistence() {
431: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
432: .getService();
433:
434: return orgLaborLocalService.getOrgLaborPersistence();
435: }
436:
437: public static void setOrgLaborPersistence(
438: com.liferay.portal.service.persistence.OrgLaborPersistence orgLaborPersistence) {
439: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
440: .getService();
441:
442: orgLaborLocalService
443: .setOrgLaborPersistence(orgLaborPersistence);
444: }
445:
446: public static com.liferay.portal.service.persistence.PasswordPolicyPersistence getPasswordPolicyPersistence() {
447: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
448: .getService();
449:
450: return orgLaborLocalService.getPasswordPolicyPersistence();
451: }
452:
453: public static void setPasswordPolicyPersistence(
454: com.liferay.portal.service.persistence.PasswordPolicyPersistence passwordPolicyPersistence) {
455: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
456: .getService();
457:
458: orgLaborLocalService
459: .setPasswordPolicyPersistence(passwordPolicyPersistence);
460: }
461:
462: public static com.liferay.portal.service.persistence.PasswordPolicyFinder getPasswordPolicyFinder() {
463: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
464: .getService();
465:
466: return orgLaborLocalService.getPasswordPolicyFinder();
467: }
468:
469: public static void setPasswordPolicyFinder(
470: com.liferay.portal.service.persistence.PasswordPolicyFinder passwordPolicyFinder) {
471: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
472: .getService();
473:
474: orgLaborLocalService
475: .setPasswordPolicyFinder(passwordPolicyFinder);
476: }
477:
478: public static com.liferay.portal.service.persistence.PasswordPolicyRelPersistence getPasswordPolicyRelPersistence() {
479: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
480: .getService();
481:
482: return orgLaborLocalService.getPasswordPolicyRelPersistence();
483: }
484:
485: public static void setPasswordPolicyRelPersistence(
486: com.liferay.portal.service.persistence.PasswordPolicyRelPersistence passwordPolicyRelPersistence) {
487: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
488: .getService();
489:
490: orgLaborLocalService
491: .setPasswordPolicyRelPersistence(passwordPolicyRelPersistence);
492: }
493:
494: public static com.liferay.portal.service.persistence.PasswordTrackerPersistence getPasswordTrackerPersistence() {
495: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
496: .getService();
497:
498: return orgLaborLocalService.getPasswordTrackerPersistence();
499: }
500:
501: public static void setPasswordTrackerPersistence(
502: com.liferay.portal.service.persistence.PasswordTrackerPersistence passwordTrackerPersistence) {
503: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
504: .getService();
505:
506: orgLaborLocalService
507: .setPasswordTrackerPersistence(passwordTrackerPersistence);
508: }
509:
510: public static com.liferay.portal.service.persistence.PermissionPersistence getPermissionPersistence() {
511: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
512: .getService();
513:
514: return orgLaborLocalService.getPermissionPersistence();
515: }
516:
517: public static void setPermissionPersistence(
518: com.liferay.portal.service.persistence.PermissionPersistence permissionPersistence) {
519: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
520: .getService();
521:
522: orgLaborLocalService
523: .setPermissionPersistence(permissionPersistence);
524: }
525:
526: public static com.liferay.portal.service.persistence.PermissionFinder getPermissionFinder() {
527: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
528: .getService();
529:
530: return orgLaborLocalService.getPermissionFinder();
531: }
532:
533: public static void setPermissionFinder(
534: com.liferay.portal.service.persistence.PermissionFinder permissionFinder) {
535: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
536: .getService();
537:
538: orgLaborLocalService.setPermissionFinder(permissionFinder);
539: }
540:
541: public static com.liferay.portal.service.persistence.PermissionUserFinder getPermissionUserFinder() {
542: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
543: .getService();
544:
545: return orgLaborLocalService.getPermissionUserFinder();
546: }
547:
548: public static void setPermissionUserFinder(
549: com.liferay.portal.service.persistence.PermissionUserFinder permissionUserFinder) {
550: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
551: .getService();
552:
553: orgLaborLocalService
554: .setPermissionUserFinder(permissionUserFinder);
555: }
556:
557: public static com.liferay.portal.service.persistence.PhonePersistence getPhonePersistence() {
558: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
559: .getService();
560:
561: return orgLaborLocalService.getPhonePersistence();
562: }
563:
564: public static void setPhonePersistence(
565: com.liferay.portal.service.persistence.PhonePersistence phonePersistence) {
566: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
567: .getService();
568:
569: orgLaborLocalService.setPhonePersistence(phonePersistence);
570: }
571:
572: public static com.liferay.portal.service.persistence.PluginSettingPersistence getPluginSettingPersistence() {
573: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
574: .getService();
575:
576: return orgLaborLocalService.getPluginSettingPersistence();
577: }
578:
579: public static void setPluginSettingPersistence(
580: com.liferay.portal.service.persistence.PluginSettingPersistence pluginSettingPersistence) {
581: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
582: .getService();
583:
584: orgLaborLocalService
585: .setPluginSettingPersistence(pluginSettingPersistence);
586: }
587:
588: public static com.liferay.portal.service.persistence.PortletPersistence getPortletPersistence() {
589: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
590: .getService();
591:
592: return orgLaborLocalService.getPortletPersistence();
593: }
594:
595: public static void setPortletPersistence(
596: com.liferay.portal.service.persistence.PortletPersistence portletPersistence) {
597: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
598: .getService();
599:
600: orgLaborLocalService.setPortletPersistence(portletPersistence);
601: }
602:
603: public static com.liferay.portal.service.persistence.PortletPreferencesPersistence getPortletPreferencesPersistence() {
604: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
605: .getService();
606:
607: return orgLaborLocalService.getPortletPreferencesPersistence();
608: }
609:
610: public static void setPortletPreferencesPersistence(
611: com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence) {
612: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
613: .getService();
614:
615: orgLaborLocalService
616: .setPortletPreferencesPersistence(portletPreferencesPersistence);
617: }
618:
619: public static com.liferay.portal.service.persistence.PortletPreferencesFinder getPortletPreferencesFinder() {
620: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
621: .getService();
622:
623: return orgLaborLocalService.getPortletPreferencesFinder();
624: }
625:
626: public static void setPortletPreferencesFinder(
627: com.liferay.portal.service.persistence.PortletPreferencesFinder portletPreferencesFinder) {
628: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
629: .getService();
630:
631: orgLaborLocalService
632: .setPortletPreferencesFinder(portletPreferencesFinder);
633: }
634:
635: public static com.liferay.portal.service.persistence.RegionPersistence getRegionPersistence() {
636: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
637: .getService();
638:
639: return orgLaborLocalService.getRegionPersistence();
640: }
641:
642: public static void setRegionPersistence(
643: com.liferay.portal.service.persistence.RegionPersistence regionPersistence) {
644: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
645: .getService();
646:
647: orgLaborLocalService.setRegionPersistence(regionPersistence);
648: }
649:
650: public static com.liferay.portal.service.persistence.ReleasePersistence getReleasePersistence() {
651: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
652: .getService();
653:
654: return orgLaborLocalService.getReleasePersistence();
655: }
656:
657: public static void setReleasePersistence(
658: com.liferay.portal.service.persistence.ReleasePersistence releasePersistence) {
659: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
660: .getService();
661:
662: orgLaborLocalService.setReleasePersistence(releasePersistence);
663: }
664:
665: public static com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence() {
666: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
667: .getService();
668:
669: return orgLaborLocalService.getResourcePersistence();
670: }
671:
672: public static void setResourcePersistence(
673: com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence) {
674: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
675: .getService();
676:
677: orgLaborLocalService
678: .setResourcePersistence(resourcePersistence);
679: }
680:
681: public static com.liferay.portal.service.persistence.ResourceFinder getResourceFinder() {
682: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
683: .getService();
684:
685: return orgLaborLocalService.getResourceFinder();
686: }
687:
688: public static void setResourceFinder(
689: com.liferay.portal.service.persistence.ResourceFinder resourceFinder) {
690: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
691: .getService();
692:
693: orgLaborLocalService.setResourceFinder(resourceFinder);
694: }
695:
696: public static com.liferay.portal.service.persistence.ResourceCodePersistence getResourceCodePersistence() {
697: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
698: .getService();
699:
700: return orgLaborLocalService.getResourceCodePersistence();
701: }
702:
703: public static void setResourceCodePersistence(
704: com.liferay.portal.service.persistence.ResourceCodePersistence resourceCodePersistence) {
705: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
706: .getService();
707:
708: orgLaborLocalService
709: .setResourceCodePersistence(resourceCodePersistence);
710: }
711:
712: public static com.liferay.portal.service.persistence.RolePersistence getRolePersistence() {
713: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
714: .getService();
715:
716: return orgLaborLocalService.getRolePersistence();
717: }
718:
719: public static void setRolePersistence(
720: com.liferay.portal.service.persistence.RolePersistence rolePersistence) {
721: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
722: .getService();
723:
724: orgLaborLocalService.setRolePersistence(rolePersistence);
725: }
726:
727: public static com.liferay.portal.service.persistence.RoleFinder getRoleFinder() {
728: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
729: .getService();
730:
731: return orgLaborLocalService.getRoleFinder();
732: }
733:
734: public static void setRoleFinder(
735: com.liferay.portal.service.persistence.RoleFinder roleFinder) {
736: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
737: .getService();
738:
739: orgLaborLocalService.setRoleFinder(roleFinder);
740: }
741:
742: public static com.liferay.portal.service.persistence.ServiceComponentPersistence getServiceComponentPersistence() {
743: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
744: .getService();
745:
746: return orgLaborLocalService.getServiceComponentPersistence();
747: }
748:
749: public static void setServiceComponentPersistence(
750: com.liferay.portal.service.persistence.ServiceComponentPersistence serviceComponentPersistence) {
751: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
752: .getService();
753:
754: orgLaborLocalService
755: .setServiceComponentPersistence(serviceComponentPersistence);
756: }
757:
758: public static com.liferay.portal.service.persistence.SubscriptionPersistence getSubscriptionPersistence() {
759: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
760: .getService();
761:
762: return orgLaborLocalService.getSubscriptionPersistence();
763: }
764:
765: public static void setSubscriptionPersistence(
766: com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence) {
767: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
768: .getService();
769:
770: orgLaborLocalService
771: .setSubscriptionPersistence(subscriptionPersistence);
772: }
773:
774: public static com.liferay.portal.service.persistence.UserPersistence getUserPersistence() {
775: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
776: .getService();
777:
778: return orgLaborLocalService.getUserPersistence();
779: }
780:
781: public static void setUserPersistence(
782: com.liferay.portal.service.persistence.UserPersistence userPersistence) {
783: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
784: .getService();
785:
786: orgLaborLocalService.setUserPersistence(userPersistence);
787: }
788:
789: public static com.liferay.portal.service.persistence.UserFinder getUserFinder() {
790: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
791: .getService();
792:
793: return orgLaborLocalService.getUserFinder();
794: }
795:
796: public static void setUserFinder(
797: com.liferay.portal.service.persistence.UserFinder userFinder) {
798: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
799: .getService();
800:
801: orgLaborLocalService.setUserFinder(userFinder);
802: }
803:
804: public static com.liferay.portal.service.persistence.UserGroupPersistence getUserGroupPersistence() {
805: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
806: .getService();
807:
808: return orgLaborLocalService.getUserGroupPersistence();
809: }
810:
811: public static void setUserGroupPersistence(
812: com.liferay.portal.service.persistence.UserGroupPersistence userGroupPersistence) {
813: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
814: .getService();
815:
816: orgLaborLocalService
817: .setUserGroupPersistence(userGroupPersistence);
818: }
819:
820: public static com.liferay.portal.service.persistence.UserGroupFinder getUserGroupFinder() {
821: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
822: .getService();
823:
824: return orgLaborLocalService.getUserGroupFinder();
825: }
826:
827: public static void setUserGroupFinder(
828: com.liferay.portal.service.persistence.UserGroupFinder userGroupFinder) {
829: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
830: .getService();
831:
832: orgLaborLocalService.setUserGroupFinder(userGroupFinder);
833: }
834:
835: public static com.liferay.portal.service.persistence.UserGroupRolePersistence getUserGroupRolePersistence() {
836: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
837: .getService();
838:
839: return orgLaborLocalService.getUserGroupRolePersistence();
840: }
841:
842: public static void setUserGroupRolePersistence(
843: com.liferay.portal.service.persistence.UserGroupRolePersistence userGroupRolePersistence) {
844: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
845: .getService();
846:
847: orgLaborLocalService
848: .setUserGroupRolePersistence(userGroupRolePersistence);
849: }
850:
851: public static com.liferay.portal.service.persistence.UserIdMapperPersistence getUserIdMapperPersistence() {
852: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
853: .getService();
854:
855: return orgLaborLocalService.getUserIdMapperPersistence();
856: }
857:
858: public static void setUserIdMapperPersistence(
859: com.liferay.portal.service.persistence.UserIdMapperPersistence userIdMapperPersistence) {
860: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
861: .getService();
862:
863: orgLaborLocalService
864: .setUserIdMapperPersistence(userIdMapperPersistence);
865: }
866:
867: public static com.liferay.portal.service.persistence.UserTrackerPersistence getUserTrackerPersistence() {
868: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
869: .getService();
870:
871: return orgLaborLocalService.getUserTrackerPersistence();
872: }
873:
874: public static void setUserTrackerPersistence(
875: com.liferay.portal.service.persistence.UserTrackerPersistence userTrackerPersistence) {
876: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
877: .getService();
878:
879: orgLaborLocalService
880: .setUserTrackerPersistence(userTrackerPersistence);
881: }
882:
883: public static com.liferay.portal.service.persistence.UserTrackerPathPersistence getUserTrackerPathPersistence() {
884: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
885: .getService();
886:
887: return orgLaborLocalService.getUserTrackerPathPersistence();
888: }
889:
890: public static void setUserTrackerPathPersistence(
891: com.liferay.portal.service.persistence.UserTrackerPathPersistence userTrackerPathPersistence) {
892: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
893: .getService();
894:
895: orgLaborLocalService
896: .setUserTrackerPathPersistence(userTrackerPathPersistence);
897: }
898:
899: public static com.liferay.portal.service.persistence.WebDAVPropsPersistence getWebDAVPropsPersistence() {
900: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
901: .getService();
902:
903: return orgLaborLocalService.getWebDAVPropsPersistence();
904: }
905:
906: public static void setWebDAVPropsPersistence(
907: com.liferay.portal.service.persistence.WebDAVPropsPersistence webDAVPropsPersistence) {
908: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
909: .getService();
910:
911: orgLaborLocalService
912: .setWebDAVPropsPersistence(webDAVPropsPersistence);
913: }
914:
915: public static com.liferay.portal.service.persistence.WebsitePersistence getWebsitePersistence() {
916: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
917: .getService();
918:
919: return orgLaborLocalService.getWebsitePersistence();
920: }
921:
922: public static void setWebsitePersistence(
923: com.liferay.portal.service.persistence.WebsitePersistence websitePersistence) {
924: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
925: .getService();
926:
927: orgLaborLocalService.setWebsitePersistence(websitePersistence);
928: }
929:
930: public static void afterPropertiesSet() {
931: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
932: .getService();
933:
934: orgLaborLocalService.afterPropertiesSet();
935: }
936:
937: public static com.liferay.portal.model.OrgLabor addOrgLabor(
938: long organizationId, int typeId, int sunOpen, int sunClose,
939: int monOpen, int monClose, int tueOpen, int tueClose,
940: int wedOpen, int wedClose, int thuOpen, int thuClose,
941: int friOpen, int friClose, int satOpen, int satClose)
942: throws com.liferay.portal.PortalException,
943: com.liferay.portal.SystemException {
944: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
945: .getService();
946:
947: return orgLaborLocalService.addOrgLabor(organizationId, typeId,
948: sunOpen, sunClose, monOpen, monClose, tueOpen,
949: tueClose, wedOpen, wedClose, thuOpen, thuClose,
950: friOpen, friClose, satOpen, satClose);
951: }
952:
953: public static void deleteOrgLabor(long orgLaborId)
954: throws com.liferay.portal.PortalException,
955: com.liferay.portal.SystemException {
956: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
957: .getService();
958:
959: orgLaborLocalService.deleteOrgLabor(orgLaborId);
960: }
961:
962: public static com.liferay.portal.model.OrgLabor getOrgLabor(
963: long orgLaborId) throws com.liferay.portal.PortalException,
964: com.liferay.portal.SystemException {
965: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
966: .getService();
967:
968: return orgLaborLocalService.getOrgLabor(orgLaborId);
969: }
970:
971: public static java.util.List getOrgLabors(long organizationId)
972: throws com.liferay.portal.SystemException {
973: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
974: .getService();
975:
976: return orgLaborLocalService.getOrgLabors(organizationId);
977: }
978:
979: public static com.liferay.portal.model.OrgLabor updateOrgLabor(
980: long orgLaborId, int sunOpen, int sunClose, int monOpen,
981: int monClose, int tueOpen, int tueClose, int wedOpen,
982: int wedClose, int thuOpen, int thuClose, int friOpen,
983: int friClose, int satOpen, int satClose)
984: throws com.liferay.portal.PortalException,
985: com.liferay.portal.SystemException {
986: OrgLaborLocalService orgLaborLocalService = OrgLaborLocalServiceFactory
987: .getService();
988:
989: return orgLaborLocalService.updateOrgLabor(orgLaborId, sunOpen,
990: sunClose, monOpen, monClose, tueOpen, tueClose,
991: wedOpen, wedClose, thuOpen, thuClose, friOpen,
992: friClose, satOpen, satClose);
993: }
994: }
|