0001: /**
0002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
0003: *
0004: * Permission is hereby granted, free of charge, to any person obtaining a copy
0005: * of this software and associated documentation files (the "Software"), to deal
0006: * in the Software without restriction, including without limitation the rights
0007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
0008: * copies of the Software, and to permit persons to whom the Software is
0009: * furnished to do so, subject to the following conditions:
0010: *
0011: * The above copyright notice and this permission notice shall be included in
0012: * all copies or substantial portions of the Software.
0013: *
0014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
0017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
0019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
0020: * SOFTWARE.
0021: */package com.liferay.portlet.messageboards.service.base;
0022:
0023: import com.liferay.counter.service.CounterLocalService;
0024: import com.liferay.counter.service.CounterLocalServiceFactory;
0025: import com.liferay.counter.service.CounterService;
0026: import com.liferay.counter.service.CounterServiceFactory;
0027:
0028: import com.liferay.documentlibrary.service.DLLocalService;
0029: import com.liferay.documentlibrary.service.DLLocalServiceFactory;
0030: import com.liferay.documentlibrary.service.DLService;
0031: import com.liferay.documentlibrary.service.DLServiceFactory;
0032:
0033: import com.liferay.mail.service.MailService;
0034: import com.liferay.mail.service.MailServiceFactory;
0035:
0036: import com.liferay.portal.SystemException;
0037: import com.liferay.portal.kernel.dao.DynamicQueryInitializer;
0038: import com.liferay.portal.service.ActivityTrackerLocalService;
0039: import com.liferay.portal.service.ActivityTrackerLocalServiceFactory;
0040: import com.liferay.portal.service.CompanyLocalService;
0041: import com.liferay.portal.service.CompanyLocalServiceFactory;
0042: import com.liferay.portal.service.CompanyService;
0043: import com.liferay.portal.service.CompanyServiceFactory;
0044: import com.liferay.portal.service.GroupLocalService;
0045: import com.liferay.portal.service.GroupLocalServiceFactory;
0046: import com.liferay.portal.service.GroupService;
0047: import com.liferay.portal.service.GroupServiceFactory;
0048: import com.liferay.portal.service.PortletPreferencesLocalService;
0049: import com.liferay.portal.service.PortletPreferencesLocalServiceFactory;
0050: import com.liferay.portal.service.ResourceLocalService;
0051: import com.liferay.portal.service.ResourceLocalServiceFactory;
0052: import com.liferay.portal.service.ResourceService;
0053: import com.liferay.portal.service.ResourceServiceFactory;
0054: import com.liferay.portal.service.SubscriptionLocalService;
0055: import com.liferay.portal.service.SubscriptionLocalServiceFactory;
0056: import com.liferay.portal.service.UserLocalService;
0057: import com.liferay.portal.service.UserLocalServiceFactory;
0058: import com.liferay.portal.service.UserService;
0059: import com.liferay.portal.service.UserServiceFactory;
0060: import com.liferay.portal.service.persistence.ActivityTrackerFinder;
0061: import com.liferay.portal.service.persistence.ActivityTrackerFinderUtil;
0062: import com.liferay.portal.service.persistence.ActivityTrackerPersistence;
0063: import com.liferay.portal.service.persistence.ActivityTrackerUtil;
0064: import com.liferay.portal.service.persistence.CompanyPersistence;
0065: import com.liferay.portal.service.persistence.CompanyUtil;
0066: import com.liferay.portal.service.persistence.GroupFinder;
0067: import com.liferay.portal.service.persistence.GroupFinderUtil;
0068: import com.liferay.portal.service.persistence.GroupPersistence;
0069: import com.liferay.portal.service.persistence.GroupUtil;
0070: import com.liferay.portal.service.persistence.PortletPreferencesFinder;
0071: import com.liferay.portal.service.persistence.PortletPreferencesFinderUtil;
0072: import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
0073: import com.liferay.portal.service.persistence.PortletPreferencesUtil;
0074: import com.liferay.portal.service.persistence.ResourceFinder;
0075: import com.liferay.portal.service.persistence.ResourceFinderUtil;
0076: import com.liferay.portal.service.persistence.ResourcePersistence;
0077: import com.liferay.portal.service.persistence.ResourceUtil;
0078: import com.liferay.portal.service.persistence.SubscriptionPersistence;
0079: import com.liferay.portal.service.persistence.SubscriptionUtil;
0080: import com.liferay.portal.service.persistence.UserFinder;
0081: import com.liferay.portal.service.persistence.UserFinderUtil;
0082: import com.liferay.portal.service.persistence.UserPersistence;
0083: import com.liferay.portal.service.persistence.UserUtil;
0084:
0085: import com.liferay.portlet.blogs.service.BlogsEntryLocalService;
0086: import com.liferay.portlet.blogs.service.BlogsEntryLocalServiceFactory;
0087: import com.liferay.portlet.blogs.service.BlogsEntryService;
0088: import com.liferay.portlet.blogs.service.BlogsEntryServiceFactory;
0089: import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
0090: import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinderUtil;
0091: import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
0092: import com.liferay.portlet.blogs.service.persistence.BlogsEntryUtil;
0093: import com.liferay.portlet.messageboards.model.MBMessage;
0094: import com.liferay.portlet.messageboards.model.impl.MBMessageImpl;
0095: import com.liferay.portlet.messageboards.service.MBBanLocalService;
0096: import com.liferay.portlet.messageboards.service.MBBanLocalServiceFactory;
0097: import com.liferay.portlet.messageboards.service.MBBanService;
0098: import com.liferay.portlet.messageboards.service.MBBanServiceFactory;
0099: import com.liferay.portlet.messageboards.service.MBCategoryLocalService;
0100: import com.liferay.portlet.messageboards.service.MBCategoryLocalServiceFactory;
0101: import com.liferay.portlet.messageboards.service.MBCategoryService;
0102: import com.liferay.portlet.messageboards.service.MBCategoryServiceFactory;
0103: import com.liferay.portlet.messageboards.service.MBMessageFlagLocalService;
0104: import com.liferay.portlet.messageboards.service.MBMessageFlagLocalServiceFactory;
0105: import com.liferay.portlet.messageboards.service.MBMessageLocalService;
0106: import com.liferay.portlet.messageboards.service.MBStatsUserLocalService;
0107: import com.liferay.portlet.messageboards.service.MBStatsUserLocalServiceFactory;
0108: import com.liferay.portlet.messageboards.service.MBThreadLocalService;
0109: import com.liferay.portlet.messageboards.service.MBThreadLocalServiceFactory;
0110: import com.liferay.portlet.messageboards.service.MBThreadService;
0111: import com.liferay.portlet.messageboards.service.MBThreadServiceFactory;
0112: import com.liferay.portlet.messageboards.service.persistence.MBBanPersistence;
0113: import com.liferay.portlet.messageboards.service.persistence.MBBanUtil;
0114: import com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder;
0115: import com.liferay.portlet.messageboards.service.persistence.MBCategoryFinderUtil;
0116: import com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence;
0117: import com.liferay.portlet.messageboards.service.persistence.MBCategoryUtil;
0118: import com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence;
0119: import com.liferay.portlet.messageboards.service.persistence.MBDiscussionUtil;
0120: import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
0121: import com.liferay.portlet.messageboards.service.persistence.MBMessageFinderUtil;
0122: import com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinder;
0123: import com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinderUtil;
0124: import com.liferay.portlet.messageboards.service.persistence.MBMessageFlagPersistence;
0125: import com.liferay.portlet.messageboards.service.persistence.MBMessageFlagUtil;
0126: import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
0127: import com.liferay.portlet.messageboards.service.persistence.MBMessageUtil;
0128: import com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence;
0129: import com.liferay.portlet.messageboards.service.persistence.MBStatsUserUtil;
0130: import com.liferay.portlet.messageboards.service.persistence.MBThreadFinder;
0131: import com.liferay.portlet.messageboards.service.persistence.MBThreadFinderUtil;
0132: import com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence;
0133: import com.liferay.portlet.messageboards.service.persistence.MBThreadUtil;
0134: import com.liferay.portlet.tags.service.TagsAssetLocalService;
0135: import com.liferay.portlet.tags.service.TagsAssetLocalServiceFactory;
0136: import com.liferay.portlet.tags.service.TagsAssetService;
0137: import com.liferay.portlet.tags.service.TagsAssetServiceFactory;
0138: import com.liferay.portlet.tags.service.TagsEntryLocalService;
0139: import com.liferay.portlet.tags.service.TagsEntryLocalServiceFactory;
0140: import com.liferay.portlet.tags.service.TagsEntryService;
0141: import com.liferay.portlet.tags.service.TagsEntryServiceFactory;
0142: import com.liferay.portlet.tags.service.persistence.TagsAssetFinder;
0143: import com.liferay.portlet.tags.service.persistence.TagsAssetFinderUtil;
0144: import com.liferay.portlet.tags.service.persistence.TagsAssetPersistence;
0145: import com.liferay.portlet.tags.service.persistence.TagsAssetUtil;
0146: import com.liferay.portlet.tags.service.persistence.TagsEntryFinder;
0147: import com.liferay.portlet.tags.service.persistence.TagsEntryFinderUtil;
0148: import com.liferay.portlet.tags.service.persistence.TagsEntryPersistence;
0149: import com.liferay.portlet.tags.service.persistence.TagsEntryUtil;
0150:
0151: import org.springframework.beans.factory.InitializingBean;
0152:
0153: import java.util.List;
0154:
0155: /**
0156: * <a href="MBMessageLocalServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
0157: *
0158: * @author Brian Wing Shun Chan
0159: *
0160: */
0161: public abstract class MBMessageLocalServiceBaseImpl implements
0162: MBMessageLocalService, InitializingBean {
0163: public MBMessage addMBMessage(MBMessage model)
0164: throws SystemException {
0165: MBMessage mbMessage = new MBMessageImpl();
0166:
0167: mbMessage.setNew(true);
0168:
0169: mbMessage.setUuid(model.getUuid());
0170: mbMessage.setMessageId(model.getMessageId());
0171: mbMessage.setCompanyId(model.getCompanyId());
0172: mbMessage.setUserId(model.getUserId());
0173: mbMessage.setUserName(model.getUserName());
0174: mbMessage.setCreateDate(model.getCreateDate());
0175: mbMessage.setModifiedDate(model.getModifiedDate());
0176: mbMessage.setCategoryId(model.getCategoryId());
0177: mbMessage.setThreadId(model.getThreadId());
0178: mbMessage.setParentMessageId(model.getParentMessageId());
0179: mbMessage.setSubject(model.getSubject());
0180: mbMessage.setBody(model.getBody());
0181: mbMessage.setAttachments(model.getAttachments());
0182: mbMessage.setAnonymous(model.getAnonymous());
0183:
0184: return mbMessagePersistence.update(mbMessage);
0185: }
0186:
0187: public List dynamicQuery(DynamicQueryInitializer queryInitializer)
0188: throws SystemException {
0189: return mbMessagePersistence
0190: .findWithDynamicQuery(queryInitializer);
0191: }
0192:
0193: public List dynamicQuery(DynamicQueryInitializer queryInitializer,
0194: int begin, int end) throws SystemException {
0195: return mbMessagePersistence.findWithDynamicQuery(
0196: queryInitializer, begin, end);
0197: }
0198:
0199: public MBMessage updateMBMessage(MBMessage model)
0200: throws SystemException {
0201: return mbMessagePersistence.update(model, true);
0202: }
0203:
0204: public MBBanLocalService getMBBanLocalService() {
0205: return mbBanLocalService;
0206: }
0207:
0208: public void setMBBanLocalService(MBBanLocalService mbBanLocalService) {
0209: this .mbBanLocalService = mbBanLocalService;
0210: }
0211:
0212: public MBBanService getMBBanService() {
0213: return mbBanService;
0214: }
0215:
0216: public void setMBBanService(MBBanService mbBanService) {
0217: this .mbBanService = mbBanService;
0218: }
0219:
0220: public MBBanPersistence getMBBanPersistence() {
0221: return mbBanPersistence;
0222: }
0223:
0224: public void setMBBanPersistence(MBBanPersistence mbBanPersistence) {
0225: this .mbBanPersistence = mbBanPersistence;
0226: }
0227:
0228: public MBCategoryLocalService getMBCategoryLocalService() {
0229: return mbCategoryLocalService;
0230: }
0231:
0232: public void setMBCategoryLocalService(
0233: MBCategoryLocalService mbCategoryLocalService) {
0234: this .mbCategoryLocalService = mbCategoryLocalService;
0235: }
0236:
0237: public MBCategoryService getMBCategoryService() {
0238: return mbCategoryService;
0239: }
0240:
0241: public void setMBCategoryService(MBCategoryService mbCategoryService) {
0242: this .mbCategoryService = mbCategoryService;
0243: }
0244:
0245: public MBCategoryPersistence getMBCategoryPersistence() {
0246: return mbCategoryPersistence;
0247: }
0248:
0249: public void setMBCategoryPersistence(
0250: MBCategoryPersistence mbCategoryPersistence) {
0251: this .mbCategoryPersistence = mbCategoryPersistence;
0252: }
0253:
0254: public MBCategoryFinder getMBCategoryFinder() {
0255: return mbCategoryFinder;
0256: }
0257:
0258: public void setMBCategoryFinder(MBCategoryFinder mbCategoryFinder) {
0259: this .mbCategoryFinder = mbCategoryFinder;
0260: }
0261:
0262: public MBDiscussionPersistence getMBDiscussionPersistence() {
0263: return mbDiscussionPersistence;
0264: }
0265:
0266: public void setMBDiscussionPersistence(
0267: MBDiscussionPersistence mbDiscussionPersistence) {
0268: this .mbDiscussionPersistence = mbDiscussionPersistence;
0269: }
0270:
0271: public MBMessagePersistence getMBMessagePersistence() {
0272: return mbMessagePersistence;
0273: }
0274:
0275: public void setMBMessagePersistence(
0276: MBMessagePersistence mbMessagePersistence) {
0277: this .mbMessagePersistence = mbMessagePersistence;
0278: }
0279:
0280: public MBMessageFinder getMBMessageFinder() {
0281: return mbMessageFinder;
0282: }
0283:
0284: public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
0285: this .mbMessageFinder = mbMessageFinder;
0286: }
0287:
0288: public MBMessageFlagLocalService getMBMessageFlagLocalService() {
0289: return mbMessageFlagLocalService;
0290: }
0291:
0292: public void setMBMessageFlagLocalService(
0293: MBMessageFlagLocalService mbMessageFlagLocalService) {
0294: this .mbMessageFlagLocalService = mbMessageFlagLocalService;
0295: }
0296:
0297: public MBMessageFlagPersistence getMBMessageFlagPersistence() {
0298: return mbMessageFlagPersistence;
0299: }
0300:
0301: public void setMBMessageFlagPersistence(
0302: MBMessageFlagPersistence mbMessageFlagPersistence) {
0303: this .mbMessageFlagPersistence = mbMessageFlagPersistence;
0304: }
0305:
0306: public MBMessageFlagFinder getMBMessageFlagFinder() {
0307: return mbMessageFlagFinder;
0308: }
0309:
0310: public void setMBMessageFlagFinder(
0311: MBMessageFlagFinder mbMessageFlagFinder) {
0312: this .mbMessageFlagFinder = mbMessageFlagFinder;
0313: }
0314:
0315: public MBStatsUserLocalService getMBStatsUserLocalService() {
0316: return mbStatsUserLocalService;
0317: }
0318:
0319: public void setMBStatsUserLocalService(
0320: MBStatsUserLocalService mbStatsUserLocalService) {
0321: this .mbStatsUserLocalService = mbStatsUserLocalService;
0322: }
0323:
0324: public MBStatsUserPersistence getMBStatsUserPersistence() {
0325: return mbStatsUserPersistence;
0326: }
0327:
0328: public void setMBStatsUserPersistence(
0329: MBStatsUserPersistence mbStatsUserPersistence) {
0330: this .mbStatsUserPersistence = mbStatsUserPersistence;
0331: }
0332:
0333: public MBThreadLocalService getMBThreadLocalService() {
0334: return mbThreadLocalService;
0335: }
0336:
0337: public void setMBThreadLocalService(
0338: MBThreadLocalService mbThreadLocalService) {
0339: this .mbThreadLocalService = mbThreadLocalService;
0340: }
0341:
0342: public MBThreadService getMBThreadService() {
0343: return mbThreadService;
0344: }
0345:
0346: public void setMBThreadService(MBThreadService mbThreadService) {
0347: this .mbThreadService = mbThreadService;
0348: }
0349:
0350: public MBThreadPersistence getMBThreadPersistence() {
0351: return mbThreadPersistence;
0352: }
0353:
0354: public void setMBThreadPersistence(
0355: MBThreadPersistence mbThreadPersistence) {
0356: this .mbThreadPersistence = mbThreadPersistence;
0357: }
0358:
0359: public MBThreadFinder getMBThreadFinder() {
0360: return mbThreadFinder;
0361: }
0362:
0363: public void setMBThreadFinder(MBThreadFinder mbThreadFinder) {
0364: this .mbThreadFinder = mbThreadFinder;
0365: }
0366:
0367: public CounterLocalService getCounterLocalService() {
0368: return counterLocalService;
0369: }
0370:
0371: public void setCounterLocalService(
0372: CounterLocalService counterLocalService) {
0373: this .counterLocalService = counterLocalService;
0374: }
0375:
0376: public CounterService getCounterService() {
0377: return counterService;
0378: }
0379:
0380: public void setCounterService(CounterService counterService) {
0381: this .counterService = counterService;
0382: }
0383:
0384: public DLLocalService getDLLocalService() {
0385: return dlLocalService;
0386: }
0387:
0388: public void setDLLocalService(DLLocalService dlLocalService) {
0389: this .dlLocalService = dlLocalService;
0390: }
0391:
0392: public DLService getDLService() {
0393: return dlService;
0394: }
0395:
0396: public void setDLService(DLService dlService) {
0397: this .dlService = dlService;
0398: }
0399:
0400: public MailService getMailService() {
0401: return mailService;
0402: }
0403:
0404: public void setMailService(MailService mailService) {
0405: this .mailService = mailService;
0406: }
0407:
0408: public ActivityTrackerLocalService getActivityTrackerLocalService() {
0409: return activityTrackerLocalService;
0410: }
0411:
0412: public void setActivityTrackerLocalService(
0413: ActivityTrackerLocalService activityTrackerLocalService) {
0414: this .activityTrackerLocalService = activityTrackerLocalService;
0415: }
0416:
0417: public ActivityTrackerPersistence getActivityTrackerPersistence() {
0418: return activityTrackerPersistence;
0419: }
0420:
0421: public void setActivityTrackerPersistence(
0422: ActivityTrackerPersistence activityTrackerPersistence) {
0423: this .activityTrackerPersistence = activityTrackerPersistence;
0424: }
0425:
0426: public ActivityTrackerFinder getActivityTrackerFinder() {
0427: return activityTrackerFinder;
0428: }
0429:
0430: public void setActivityTrackerFinder(
0431: ActivityTrackerFinder activityTrackerFinder) {
0432: this .activityTrackerFinder = activityTrackerFinder;
0433: }
0434:
0435: public CompanyLocalService getCompanyLocalService() {
0436: return companyLocalService;
0437: }
0438:
0439: public void setCompanyLocalService(
0440: CompanyLocalService companyLocalService) {
0441: this .companyLocalService = companyLocalService;
0442: }
0443:
0444: public CompanyService getCompanyService() {
0445: return companyService;
0446: }
0447:
0448: public void setCompanyService(CompanyService companyService) {
0449: this .companyService = companyService;
0450: }
0451:
0452: public CompanyPersistence getCompanyPersistence() {
0453: return companyPersistence;
0454: }
0455:
0456: public void setCompanyPersistence(
0457: CompanyPersistence companyPersistence) {
0458: this .companyPersistence = companyPersistence;
0459: }
0460:
0461: public GroupLocalService getGroupLocalService() {
0462: return groupLocalService;
0463: }
0464:
0465: public void setGroupLocalService(GroupLocalService groupLocalService) {
0466: this .groupLocalService = groupLocalService;
0467: }
0468:
0469: public GroupService getGroupService() {
0470: return groupService;
0471: }
0472:
0473: public void setGroupService(GroupService groupService) {
0474: this .groupService = groupService;
0475: }
0476:
0477: public GroupPersistence getGroupPersistence() {
0478: return groupPersistence;
0479: }
0480:
0481: public void setGroupPersistence(GroupPersistence groupPersistence) {
0482: this .groupPersistence = groupPersistence;
0483: }
0484:
0485: public GroupFinder getGroupFinder() {
0486: return groupFinder;
0487: }
0488:
0489: public void setGroupFinder(GroupFinder groupFinder) {
0490: this .groupFinder = groupFinder;
0491: }
0492:
0493: public PortletPreferencesLocalService getPortletPreferencesLocalService() {
0494: return portletPreferencesLocalService;
0495: }
0496:
0497: public void setPortletPreferencesLocalService(
0498: PortletPreferencesLocalService portletPreferencesLocalService) {
0499: this .portletPreferencesLocalService = portletPreferencesLocalService;
0500: }
0501:
0502: public PortletPreferencesPersistence getPortletPreferencesPersistence() {
0503: return portletPreferencesPersistence;
0504: }
0505:
0506: public void setPortletPreferencesPersistence(
0507: PortletPreferencesPersistence portletPreferencesPersistence) {
0508: this .portletPreferencesPersistence = portletPreferencesPersistence;
0509: }
0510:
0511: public PortletPreferencesFinder getPortletPreferencesFinder() {
0512: return portletPreferencesFinder;
0513: }
0514:
0515: public void setPortletPreferencesFinder(
0516: PortletPreferencesFinder portletPreferencesFinder) {
0517: this .portletPreferencesFinder = portletPreferencesFinder;
0518: }
0519:
0520: public ResourceLocalService getResourceLocalService() {
0521: return resourceLocalService;
0522: }
0523:
0524: public void setResourceLocalService(
0525: ResourceLocalService resourceLocalService) {
0526: this .resourceLocalService = resourceLocalService;
0527: }
0528:
0529: public ResourceService getResourceService() {
0530: return resourceService;
0531: }
0532:
0533: public void setResourceService(ResourceService resourceService) {
0534: this .resourceService = resourceService;
0535: }
0536:
0537: public ResourcePersistence getResourcePersistence() {
0538: return resourcePersistence;
0539: }
0540:
0541: public void setResourcePersistence(
0542: ResourcePersistence resourcePersistence) {
0543: this .resourcePersistence = resourcePersistence;
0544: }
0545:
0546: public ResourceFinder getResourceFinder() {
0547: return resourceFinder;
0548: }
0549:
0550: public void setResourceFinder(ResourceFinder resourceFinder) {
0551: this .resourceFinder = resourceFinder;
0552: }
0553:
0554: public SubscriptionLocalService getSubscriptionLocalService() {
0555: return subscriptionLocalService;
0556: }
0557:
0558: public void setSubscriptionLocalService(
0559: SubscriptionLocalService subscriptionLocalService) {
0560: this .subscriptionLocalService = subscriptionLocalService;
0561: }
0562:
0563: public SubscriptionPersistence getSubscriptionPersistence() {
0564: return subscriptionPersistence;
0565: }
0566:
0567: public void setSubscriptionPersistence(
0568: SubscriptionPersistence subscriptionPersistence) {
0569: this .subscriptionPersistence = subscriptionPersistence;
0570: }
0571:
0572: public UserLocalService getUserLocalService() {
0573: return userLocalService;
0574: }
0575:
0576: public void setUserLocalService(UserLocalService userLocalService) {
0577: this .userLocalService = userLocalService;
0578: }
0579:
0580: public UserService getUserService() {
0581: return userService;
0582: }
0583:
0584: public void setUserService(UserService userService) {
0585: this .userService = userService;
0586: }
0587:
0588: public UserPersistence getUserPersistence() {
0589: return userPersistence;
0590: }
0591:
0592: public void setUserPersistence(UserPersistence userPersistence) {
0593: this .userPersistence = userPersistence;
0594: }
0595:
0596: public UserFinder getUserFinder() {
0597: return userFinder;
0598: }
0599:
0600: public void setUserFinder(UserFinder userFinder) {
0601: this .userFinder = userFinder;
0602: }
0603:
0604: public BlogsEntryLocalService getBlogsEntryLocalService() {
0605: return blogsEntryLocalService;
0606: }
0607:
0608: public void setBlogsEntryLocalService(
0609: BlogsEntryLocalService blogsEntryLocalService) {
0610: this .blogsEntryLocalService = blogsEntryLocalService;
0611: }
0612:
0613: public BlogsEntryService getBlogsEntryService() {
0614: return blogsEntryService;
0615: }
0616:
0617: public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
0618: this .blogsEntryService = blogsEntryService;
0619: }
0620:
0621: public BlogsEntryPersistence getBlogsEntryPersistence() {
0622: return blogsEntryPersistence;
0623: }
0624:
0625: public void setBlogsEntryPersistence(
0626: BlogsEntryPersistence blogsEntryPersistence) {
0627: this .blogsEntryPersistence = blogsEntryPersistence;
0628: }
0629:
0630: public BlogsEntryFinder getBlogsEntryFinder() {
0631: return blogsEntryFinder;
0632: }
0633:
0634: public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
0635: this .blogsEntryFinder = blogsEntryFinder;
0636: }
0637:
0638: public TagsAssetLocalService getTagsAssetLocalService() {
0639: return tagsAssetLocalService;
0640: }
0641:
0642: public void setTagsAssetLocalService(
0643: TagsAssetLocalService tagsAssetLocalService) {
0644: this .tagsAssetLocalService = tagsAssetLocalService;
0645: }
0646:
0647: public TagsAssetService getTagsAssetService() {
0648: return tagsAssetService;
0649: }
0650:
0651: public void setTagsAssetService(TagsAssetService tagsAssetService) {
0652: this .tagsAssetService = tagsAssetService;
0653: }
0654:
0655: public TagsAssetPersistence getTagsAssetPersistence() {
0656: return tagsAssetPersistence;
0657: }
0658:
0659: public void setTagsAssetPersistence(
0660: TagsAssetPersistence tagsAssetPersistence) {
0661: this .tagsAssetPersistence = tagsAssetPersistence;
0662: }
0663:
0664: public TagsAssetFinder getTagsAssetFinder() {
0665: return tagsAssetFinder;
0666: }
0667:
0668: public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder) {
0669: this .tagsAssetFinder = tagsAssetFinder;
0670: }
0671:
0672: public TagsEntryLocalService getTagsEntryLocalService() {
0673: return tagsEntryLocalService;
0674: }
0675:
0676: public void setTagsEntryLocalService(
0677: TagsEntryLocalService tagsEntryLocalService) {
0678: this .tagsEntryLocalService = tagsEntryLocalService;
0679: }
0680:
0681: public TagsEntryService getTagsEntryService() {
0682: return tagsEntryService;
0683: }
0684:
0685: public void setTagsEntryService(TagsEntryService tagsEntryService) {
0686: this .tagsEntryService = tagsEntryService;
0687: }
0688:
0689: public TagsEntryPersistence getTagsEntryPersistence() {
0690: return tagsEntryPersistence;
0691: }
0692:
0693: public void setTagsEntryPersistence(
0694: TagsEntryPersistence tagsEntryPersistence) {
0695: this .tagsEntryPersistence = tagsEntryPersistence;
0696: }
0697:
0698: public TagsEntryFinder getTagsEntryFinder() {
0699: return tagsEntryFinder;
0700: }
0701:
0702: public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
0703: this .tagsEntryFinder = tagsEntryFinder;
0704: }
0705:
0706: public void afterPropertiesSet() {
0707: if (mbBanLocalService == null) {
0708: mbBanLocalService = MBBanLocalServiceFactory.getImpl();
0709: }
0710:
0711: if (mbBanService == null) {
0712: mbBanService = MBBanServiceFactory.getImpl();
0713: }
0714:
0715: if (mbBanPersistence == null) {
0716: mbBanPersistence = MBBanUtil.getPersistence();
0717: }
0718:
0719: if (mbCategoryLocalService == null) {
0720: mbCategoryLocalService = MBCategoryLocalServiceFactory
0721: .getImpl();
0722: }
0723:
0724: if (mbCategoryService == null) {
0725: mbCategoryService = MBCategoryServiceFactory.getImpl();
0726: }
0727:
0728: if (mbCategoryPersistence == null) {
0729: mbCategoryPersistence = MBCategoryUtil.getPersistence();
0730: }
0731:
0732: if (mbCategoryFinder == null) {
0733: mbCategoryFinder = MBCategoryFinderUtil.getFinder();
0734: }
0735:
0736: if (mbDiscussionPersistence == null) {
0737: mbDiscussionPersistence = MBDiscussionUtil.getPersistence();
0738: }
0739:
0740: if (mbMessagePersistence == null) {
0741: mbMessagePersistence = MBMessageUtil.getPersistence();
0742: }
0743:
0744: if (mbMessageFinder == null) {
0745: mbMessageFinder = MBMessageFinderUtil.getFinder();
0746: }
0747:
0748: if (mbMessageFlagLocalService == null) {
0749: mbMessageFlagLocalService = MBMessageFlagLocalServiceFactory
0750: .getImpl();
0751: }
0752:
0753: if (mbMessageFlagPersistence == null) {
0754: mbMessageFlagPersistence = MBMessageFlagUtil
0755: .getPersistence();
0756: }
0757:
0758: if (mbMessageFlagFinder == null) {
0759: mbMessageFlagFinder = MBMessageFlagFinderUtil.getFinder();
0760: }
0761:
0762: if (mbStatsUserLocalService == null) {
0763: mbStatsUserLocalService = MBStatsUserLocalServiceFactory
0764: .getImpl();
0765: }
0766:
0767: if (mbStatsUserPersistence == null) {
0768: mbStatsUserPersistence = MBStatsUserUtil.getPersistence();
0769: }
0770:
0771: if (mbThreadLocalService == null) {
0772: mbThreadLocalService = MBThreadLocalServiceFactory
0773: .getImpl();
0774: }
0775:
0776: if (mbThreadService == null) {
0777: mbThreadService = MBThreadServiceFactory.getImpl();
0778: }
0779:
0780: if (mbThreadPersistence == null) {
0781: mbThreadPersistence = MBThreadUtil.getPersistence();
0782: }
0783:
0784: if (mbThreadFinder == null) {
0785: mbThreadFinder = MBThreadFinderUtil.getFinder();
0786: }
0787:
0788: if (counterLocalService == null) {
0789: counterLocalService = CounterLocalServiceFactory.getImpl();
0790: }
0791:
0792: if (counterService == null) {
0793: counterService = CounterServiceFactory.getImpl();
0794: }
0795:
0796: if (dlLocalService == null) {
0797: dlLocalService = DLLocalServiceFactory.getImpl();
0798: }
0799:
0800: if (dlService == null) {
0801: dlService = DLServiceFactory.getImpl();
0802: }
0803:
0804: if (mailService == null) {
0805: mailService = MailServiceFactory.getImpl();
0806: }
0807:
0808: if (activityTrackerLocalService == null) {
0809: activityTrackerLocalService = ActivityTrackerLocalServiceFactory
0810: .getImpl();
0811: }
0812:
0813: if (activityTrackerPersistence == null) {
0814: activityTrackerPersistence = ActivityTrackerUtil
0815: .getPersistence();
0816: }
0817:
0818: if (activityTrackerFinder == null) {
0819: activityTrackerFinder = ActivityTrackerFinderUtil
0820: .getFinder();
0821: }
0822:
0823: if (companyLocalService == null) {
0824: companyLocalService = CompanyLocalServiceFactory.getImpl();
0825: }
0826:
0827: if (companyService == null) {
0828: companyService = CompanyServiceFactory.getImpl();
0829: }
0830:
0831: if (companyPersistence == null) {
0832: companyPersistence = CompanyUtil.getPersistence();
0833: }
0834:
0835: if (groupLocalService == null) {
0836: groupLocalService = GroupLocalServiceFactory.getImpl();
0837: }
0838:
0839: if (groupService == null) {
0840: groupService = GroupServiceFactory.getImpl();
0841: }
0842:
0843: if (groupPersistence == null) {
0844: groupPersistence = GroupUtil.getPersistence();
0845: }
0846:
0847: if (groupFinder == null) {
0848: groupFinder = GroupFinderUtil.getFinder();
0849: }
0850:
0851: if (portletPreferencesLocalService == null) {
0852: portletPreferencesLocalService = PortletPreferencesLocalServiceFactory
0853: .getImpl();
0854: }
0855:
0856: if (portletPreferencesPersistence == null) {
0857: portletPreferencesPersistence = PortletPreferencesUtil
0858: .getPersistence();
0859: }
0860:
0861: if (portletPreferencesFinder == null) {
0862: portletPreferencesFinder = PortletPreferencesFinderUtil
0863: .getFinder();
0864: }
0865:
0866: if (resourceLocalService == null) {
0867: resourceLocalService = ResourceLocalServiceFactory
0868: .getImpl();
0869: }
0870:
0871: if (resourceService == null) {
0872: resourceService = ResourceServiceFactory.getImpl();
0873: }
0874:
0875: if (resourcePersistence == null) {
0876: resourcePersistence = ResourceUtil.getPersistence();
0877: }
0878:
0879: if (resourceFinder == null) {
0880: resourceFinder = ResourceFinderUtil.getFinder();
0881: }
0882:
0883: if (subscriptionLocalService == null) {
0884: subscriptionLocalService = SubscriptionLocalServiceFactory
0885: .getImpl();
0886: }
0887:
0888: if (subscriptionPersistence == null) {
0889: subscriptionPersistence = SubscriptionUtil.getPersistence();
0890: }
0891:
0892: if (userLocalService == null) {
0893: userLocalService = UserLocalServiceFactory.getImpl();
0894: }
0895:
0896: if (userService == null) {
0897: userService = UserServiceFactory.getImpl();
0898: }
0899:
0900: if (userPersistence == null) {
0901: userPersistence = UserUtil.getPersistence();
0902: }
0903:
0904: if (userFinder == null) {
0905: userFinder = UserFinderUtil.getFinder();
0906: }
0907:
0908: if (blogsEntryLocalService == null) {
0909: blogsEntryLocalService = BlogsEntryLocalServiceFactory
0910: .getImpl();
0911: }
0912:
0913: if (blogsEntryService == null) {
0914: blogsEntryService = BlogsEntryServiceFactory.getImpl();
0915: }
0916:
0917: if (blogsEntryPersistence == null) {
0918: blogsEntryPersistence = BlogsEntryUtil.getPersistence();
0919: }
0920:
0921: if (blogsEntryFinder == null) {
0922: blogsEntryFinder = BlogsEntryFinderUtil.getFinder();
0923: }
0924:
0925: if (tagsAssetLocalService == null) {
0926: tagsAssetLocalService = TagsAssetLocalServiceFactory
0927: .getImpl();
0928: }
0929:
0930: if (tagsAssetService == null) {
0931: tagsAssetService = TagsAssetServiceFactory.getImpl();
0932: }
0933:
0934: if (tagsAssetPersistence == null) {
0935: tagsAssetPersistence = TagsAssetUtil.getPersistence();
0936: }
0937:
0938: if (tagsAssetFinder == null) {
0939: tagsAssetFinder = TagsAssetFinderUtil.getFinder();
0940: }
0941:
0942: if (tagsEntryLocalService == null) {
0943: tagsEntryLocalService = TagsEntryLocalServiceFactory
0944: .getImpl();
0945: }
0946:
0947: if (tagsEntryService == null) {
0948: tagsEntryService = TagsEntryServiceFactory.getImpl();
0949: }
0950:
0951: if (tagsEntryPersistence == null) {
0952: tagsEntryPersistence = TagsEntryUtil.getPersistence();
0953: }
0954:
0955: if (tagsEntryFinder == null) {
0956: tagsEntryFinder = TagsEntryFinderUtil.getFinder();
0957: }
0958: }
0959:
0960: protected MBBanLocalService mbBanLocalService;
0961: protected MBBanService mbBanService;
0962: protected MBBanPersistence mbBanPersistence;
0963: protected MBCategoryLocalService mbCategoryLocalService;
0964: protected MBCategoryService mbCategoryService;
0965: protected MBCategoryPersistence mbCategoryPersistence;
0966: protected MBCategoryFinder mbCategoryFinder;
0967: protected MBDiscussionPersistence mbDiscussionPersistence;
0968: protected MBMessagePersistence mbMessagePersistence;
0969: protected MBMessageFinder mbMessageFinder;
0970: protected MBMessageFlagLocalService mbMessageFlagLocalService;
0971: protected MBMessageFlagPersistence mbMessageFlagPersistence;
0972: protected MBMessageFlagFinder mbMessageFlagFinder;
0973: protected MBStatsUserLocalService mbStatsUserLocalService;
0974: protected MBStatsUserPersistence mbStatsUserPersistence;
0975: protected MBThreadLocalService mbThreadLocalService;
0976: protected MBThreadService mbThreadService;
0977: protected MBThreadPersistence mbThreadPersistence;
0978: protected MBThreadFinder mbThreadFinder;
0979: protected CounterLocalService counterLocalService;
0980: protected CounterService counterService;
0981: protected DLLocalService dlLocalService;
0982: protected DLService dlService;
0983: protected MailService mailService;
0984: protected ActivityTrackerLocalService activityTrackerLocalService;
0985: protected ActivityTrackerPersistence activityTrackerPersistence;
0986: protected ActivityTrackerFinder activityTrackerFinder;
0987: protected CompanyLocalService companyLocalService;
0988: protected CompanyService companyService;
0989: protected CompanyPersistence companyPersistence;
0990: protected GroupLocalService groupLocalService;
0991: protected GroupService groupService;
0992: protected GroupPersistence groupPersistence;
0993: protected GroupFinder groupFinder;
0994: protected PortletPreferencesLocalService portletPreferencesLocalService;
0995: protected PortletPreferencesPersistence portletPreferencesPersistence;
0996: protected PortletPreferencesFinder portletPreferencesFinder;
0997: protected ResourceLocalService resourceLocalService;
0998: protected ResourceService resourceService;
0999: protected ResourcePersistence resourcePersistence;
1000: protected ResourceFinder resourceFinder;
1001: protected SubscriptionLocalService subscriptionLocalService;
1002: protected SubscriptionPersistence subscriptionPersistence;
1003: protected UserLocalService userLocalService;
1004: protected UserService userService;
1005: protected UserPersistence userPersistence;
1006: protected UserFinder userFinder;
1007: protected BlogsEntryLocalService blogsEntryLocalService;
1008: protected BlogsEntryService blogsEntryService;
1009: protected BlogsEntryPersistence blogsEntryPersistence;
1010: protected BlogsEntryFinder blogsEntryFinder;
1011: protected TagsAssetLocalService tagsAssetLocalService;
1012: protected TagsAssetService tagsAssetService;
1013: protected TagsAssetPersistence tagsAssetPersistence;
1014: protected TagsAssetFinder tagsAssetFinder;
1015: protected TagsEntryLocalService tagsEntryLocalService;
1016: protected TagsEntryService tagsEntryService;
1017: protected TagsEntryPersistence tagsEntryPersistence;
1018: protected TagsEntryFinder tagsEntryFinder;
1019: }
|