All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.portlet.journal.service.base.JournalStructureServiceBaseImpl Maven / Gradle / Ivy

There is a newer version: 7.0.0-nightly
Show newest version
/**
 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.portlet.journal.service.base;

import com.liferay.portal.kernel.bean.BeanReference;
import com.liferay.portal.kernel.bean.IdentifiableBean;
import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.util.InfrastructureUtil;
import com.liferay.portal.service.BaseServiceImpl;
import com.liferay.portal.service.persistence.GroupFinder;
import com.liferay.portal.service.persistence.GroupPersistence;
import com.liferay.portal.service.persistence.UserFinder;
import com.liferay.portal.service.persistence.UserPersistence;

import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder;
import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence;
import com.liferay.portlet.journal.service.JournalStructureService;
import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
import com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence;
import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
import com.liferay.portlet.journal.service.persistence.JournalFeedFinder;
import com.liferay.portlet.journal.service.persistence.JournalFeedPersistence;
import com.liferay.portlet.journal.service.persistence.JournalFolderFinder;
import com.liferay.portlet.journal.service.persistence.JournalFolderPersistence;

import javax.sql.DataSource;

/**
 * Provides the base implementation for the journal structure remote service.
 *
 * 

* This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link com.liferay.portlet.journal.service.impl.JournalStructureServiceImpl}. *

* * @author Brian Wing Shun Chan * @see com.liferay.portlet.journal.service.impl.JournalStructureServiceImpl * @see com.liferay.portlet.journal.service.JournalStructureServiceUtil * @deprecated As of 6.2.0, since Web Content Administration now uses the Dynamic Data Mapping framework to handle templates * @generated */ public abstract class JournalStructureServiceBaseImpl extends BaseServiceImpl implements JournalStructureService, IdentifiableBean { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this class directly. Always use {@link com.liferay.portlet.journal.service.JournalStructureServiceUtil} to access the journal structure remote service. */ /** * Returns the journal article local service. * * @return the journal article local service */ public com.liferay.portlet.journal.service.JournalArticleLocalService getJournalArticleLocalService() { return journalArticleLocalService; } /** * Sets the journal article local service. * * @param journalArticleLocalService the journal article local service */ public void setJournalArticleLocalService( com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService) { this.journalArticleLocalService = journalArticleLocalService; } /** * Returns the journal article remote service. * * @return the journal article remote service */ public com.liferay.portlet.journal.service.JournalArticleService getJournalArticleService() { return journalArticleService; } /** * Sets the journal article remote service. * * @param journalArticleService the journal article remote service */ public void setJournalArticleService( com.liferay.portlet.journal.service.JournalArticleService journalArticleService) { this.journalArticleService = journalArticleService; } /** * Returns the journal article persistence. * * @return the journal article persistence */ public JournalArticlePersistence getJournalArticlePersistence() { return journalArticlePersistence; } /** * Sets the journal article persistence. * * @param journalArticlePersistence the journal article persistence */ public void setJournalArticlePersistence( JournalArticlePersistence journalArticlePersistence) { this.journalArticlePersistence = journalArticlePersistence; } /** * Returns the journal article finder. * * @return the journal article finder */ public JournalArticleFinder getJournalArticleFinder() { return journalArticleFinder; } /** * Sets the journal article finder. * * @param journalArticleFinder the journal article finder */ public void setJournalArticleFinder( JournalArticleFinder journalArticleFinder) { this.journalArticleFinder = journalArticleFinder; } /** * Returns the journal article image local service. * * @return the journal article image local service */ public com.liferay.portlet.journal.service.JournalArticleImageLocalService getJournalArticleImageLocalService() { return journalArticleImageLocalService; } /** * Sets the journal article image local service. * * @param journalArticleImageLocalService the journal article image local service */ public void setJournalArticleImageLocalService( com.liferay.portlet.journal.service.JournalArticleImageLocalService journalArticleImageLocalService) { this.journalArticleImageLocalService = journalArticleImageLocalService; } /** * Returns the journal article image persistence. * * @return the journal article image persistence */ public JournalArticleImagePersistence getJournalArticleImagePersistence() { return journalArticleImagePersistence; } /** * Sets the journal article image persistence. * * @param journalArticleImagePersistence the journal article image persistence */ public void setJournalArticleImagePersistence( JournalArticleImagePersistence journalArticleImagePersistence) { this.journalArticleImagePersistence = journalArticleImagePersistence; } /** * Returns the journal article resource local service. * * @return the journal article resource local service */ public com.liferay.portlet.journal.service.JournalArticleResourceLocalService getJournalArticleResourceLocalService() { return journalArticleResourceLocalService; } /** * Sets the journal article resource local service. * * @param journalArticleResourceLocalService the journal article resource local service */ public void setJournalArticleResourceLocalService( com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService) { this.journalArticleResourceLocalService = journalArticleResourceLocalService; } /** * Returns the journal article resource persistence. * * @return the journal article resource persistence */ public JournalArticleResourcePersistence getJournalArticleResourcePersistence() { return journalArticleResourcePersistence; } /** * Sets the journal article resource persistence. * * @param journalArticleResourcePersistence the journal article resource persistence */ public void setJournalArticleResourcePersistence( JournalArticleResourcePersistence journalArticleResourcePersistence) { this.journalArticleResourcePersistence = journalArticleResourcePersistence; } /** * Returns the journal content search local service. * * @return the journal content search local service */ public com.liferay.portlet.journal.service.JournalContentSearchLocalService getJournalContentSearchLocalService() { return journalContentSearchLocalService; } /** * Sets the journal content search local service. * * @param journalContentSearchLocalService the journal content search local service */ public void setJournalContentSearchLocalService( com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService) { this.journalContentSearchLocalService = journalContentSearchLocalService; } /** * Returns the journal content search persistence. * * @return the journal content search persistence */ public JournalContentSearchPersistence getJournalContentSearchPersistence() { return journalContentSearchPersistence; } /** * Sets the journal content search persistence. * * @param journalContentSearchPersistence the journal content search persistence */ public void setJournalContentSearchPersistence( JournalContentSearchPersistence journalContentSearchPersistence) { this.journalContentSearchPersistence = journalContentSearchPersistence; } /** * Returns the journal feed local service. * * @return the journal feed local service */ public com.liferay.portlet.journal.service.JournalFeedLocalService getJournalFeedLocalService() { return journalFeedLocalService; } /** * Sets the journal feed local service. * * @param journalFeedLocalService the journal feed local service */ public void setJournalFeedLocalService( com.liferay.portlet.journal.service.JournalFeedLocalService journalFeedLocalService) { this.journalFeedLocalService = journalFeedLocalService; } /** * Returns the journal feed remote service. * * @return the journal feed remote service */ public com.liferay.portlet.journal.service.JournalFeedService getJournalFeedService() { return journalFeedService; } /** * Sets the journal feed remote service. * * @param journalFeedService the journal feed remote service */ public void setJournalFeedService( com.liferay.portlet.journal.service.JournalFeedService journalFeedService) { this.journalFeedService = journalFeedService; } /** * Returns the journal feed persistence. * * @return the journal feed persistence */ public JournalFeedPersistence getJournalFeedPersistence() { return journalFeedPersistence; } /** * Sets the journal feed persistence. * * @param journalFeedPersistence the journal feed persistence */ public void setJournalFeedPersistence( JournalFeedPersistence journalFeedPersistence) { this.journalFeedPersistence = journalFeedPersistence; } /** * Returns the journal feed finder. * * @return the journal feed finder */ public JournalFeedFinder getJournalFeedFinder() { return journalFeedFinder; } /** * Sets the journal feed finder. * * @param journalFeedFinder the journal feed finder */ public void setJournalFeedFinder(JournalFeedFinder journalFeedFinder) { this.journalFeedFinder = journalFeedFinder; } /** * Returns the journal folder local service. * * @return the journal folder local service */ public com.liferay.portlet.journal.service.JournalFolderLocalService getJournalFolderLocalService() { return journalFolderLocalService; } /** * Sets the journal folder local service. * * @param journalFolderLocalService the journal folder local service */ public void setJournalFolderLocalService( com.liferay.portlet.journal.service.JournalFolderLocalService journalFolderLocalService) { this.journalFolderLocalService = journalFolderLocalService; } /** * Returns the journal folder remote service. * * @return the journal folder remote service */ public com.liferay.portlet.journal.service.JournalFolderService getJournalFolderService() { return journalFolderService; } /** * Sets the journal folder remote service. * * @param journalFolderService the journal folder remote service */ public void setJournalFolderService( com.liferay.portlet.journal.service.JournalFolderService journalFolderService) { this.journalFolderService = journalFolderService; } /** * Returns the journal folder persistence. * * @return the journal folder persistence */ public JournalFolderPersistence getJournalFolderPersistence() { return journalFolderPersistence; } /** * Sets the journal folder persistence. * * @param journalFolderPersistence the journal folder persistence */ public void setJournalFolderPersistence( JournalFolderPersistence journalFolderPersistence) { this.journalFolderPersistence = journalFolderPersistence; } /** * Returns the journal folder finder. * * @return the journal folder finder */ public JournalFolderFinder getJournalFolderFinder() { return journalFolderFinder; } /** * Sets the journal folder finder. * * @param journalFolderFinder the journal folder finder */ public void setJournalFolderFinder(JournalFolderFinder journalFolderFinder) { this.journalFolderFinder = journalFolderFinder; } /** * Returns the journal structure local service. * * @return the journal structure local service */ public com.liferay.portlet.journal.service.JournalStructureLocalService getJournalStructureLocalService() { return journalStructureLocalService; } /** * Sets the journal structure local service. * * @param journalStructureLocalService the journal structure local service */ public void setJournalStructureLocalService( com.liferay.portlet.journal.service.JournalStructureLocalService journalStructureLocalService) { this.journalStructureLocalService = journalStructureLocalService; } /** * Returns the journal structure remote service. * * @return the journal structure remote service */ public com.liferay.portlet.journal.service.JournalStructureService getJournalStructureService() { return journalStructureService; } /** * Sets the journal structure remote service. * * @param journalStructureService the journal structure remote service */ public void setJournalStructureService( com.liferay.portlet.journal.service.JournalStructureService journalStructureService) { this.journalStructureService = journalStructureService; } /** * Returns the journal template local service. * * @return the journal template local service */ public com.liferay.portlet.journal.service.JournalTemplateLocalService getJournalTemplateLocalService() { return journalTemplateLocalService; } /** * Sets the journal template local service. * * @param journalTemplateLocalService the journal template local service */ public void setJournalTemplateLocalService( com.liferay.portlet.journal.service.JournalTemplateLocalService journalTemplateLocalService) { this.journalTemplateLocalService = journalTemplateLocalService; } /** * Returns the journal template remote service. * * @return the journal template remote service */ public com.liferay.portlet.journal.service.JournalTemplateService getJournalTemplateService() { return journalTemplateService; } /** * Sets the journal template remote service. * * @param journalTemplateService the journal template remote service */ public void setJournalTemplateService( com.liferay.portlet.journal.service.JournalTemplateService journalTemplateService) { this.journalTemplateService = journalTemplateService; } /** * Returns the counter local service. * * @return the counter local service */ public com.liferay.counter.service.CounterLocalService getCounterLocalService() { return counterLocalService; } /** * Sets the counter local service. * * @param counterLocalService the counter local service */ public void setCounterLocalService( com.liferay.counter.service.CounterLocalService counterLocalService) { this.counterLocalService = counterLocalService; } /** * Returns the group local service. * * @return the group local service */ public com.liferay.portal.service.GroupLocalService getGroupLocalService() { return groupLocalService; } /** * Sets the group local service. * * @param groupLocalService the group local service */ public void setGroupLocalService( com.liferay.portal.service.GroupLocalService groupLocalService) { this.groupLocalService = groupLocalService; } /** * Returns the group remote service. * * @return the group remote service */ public com.liferay.portal.service.GroupService getGroupService() { return groupService; } /** * Sets the group remote service. * * @param groupService the group remote service */ public void setGroupService( com.liferay.portal.service.GroupService groupService) { this.groupService = groupService; } /** * Returns the group persistence. * * @return the group persistence */ public GroupPersistence getGroupPersistence() { return groupPersistence; } /** * Sets the group persistence. * * @param groupPersistence the group persistence */ public void setGroupPersistence(GroupPersistence groupPersistence) { this.groupPersistence = groupPersistence; } /** * Returns the group finder. * * @return the group finder */ public GroupFinder getGroupFinder() { return groupFinder; } /** * Sets the group finder. * * @param groupFinder the group finder */ public void setGroupFinder(GroupFinder groupFinder) { this.groupFinder = groupFinder; } /** * Returns the resource local service. * * @return the resource local service */ public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { return resourceLocalService; } /** * Sets the resource local service. * * @param resourceLocalService the resource local service */ public void setResourceLocalService( com.liferay.portal.service.ResourceLocalService resourceLocalService) { this.resourceLocalService = resourceLocalService; } /** * Returns the user local service. * * @return the user local service */ public com.liferay.portal.service.UserLocalService getUserLocalService() { return userLocalService; } /** * Sets the user local service. * * @param userLocalService the user local service */ public void setUserLocalService( com.liferay.portal.service.UserLocalService userLocalService) { this.userLocalService = userLocalService; } /** * Returns the user remote service. * * @return the user remote service */ public com.liferay.portal.service.UserService getUserService() { return userService; } /** * Sets the user remote service. * * @param userService the user remote service */ public void setUserService( com.liferay.portal.service.UserService userService) { this.userService = userService; } /** * Returns the user persistence. * * @return the user persistence */ public UserPersistence getUserPersistence() { return userPersistence; } /** * Sets the user persistence. * * @param userPersistence the user persistence */ public void setUserPersistence(UserPersistence userPersistence) { this.userPersistence = userPersistence; } /** * Returns the user finder. * * @return the user finder */ public UserFinder getUserFinder() { return userFinder; } /** * Sets the user finder. * * @param userFinder the user finder */ public void setUserFinder(UserFinder userFinder) { this.userFinder = userFinder; } /** * Returns the d d m structure local service. * * @return the d d m structure local service */ public com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService getDDMStructureLocalService() { return ddmStructureLocalService; } /** * Sets the d d m structure local service. * * @param ddmStructureLocalService the d d m structure local service */ public void setDDMStructureLocalService( com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService) { this.ddmStructureLocalService = ddmStructureLocalService; } /** * Returns the d d m structure remote service. * * @return the d d m structure remote service */ public com.liferay.portlet.dynamicdatamapping.service.DDMStructureService getDDMStructureService() { return ddmStructureService; } /** * Sets the d d m structure remote service. * * @param ddmStructureService the d d m structure remote service */ public void setDDMStructureService( com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService) { this.ddmStructureService = ddmStructureService; } /** * Returns the d d m structure persistence. * * @return the d d m structure persistence */ public DDMStructurePersistence getDDMStructurePersistence() { return ddmStructurePersistence; } /** * Sets the d d m structure persistence. * * @param ddmStructurePersistence the d d m structure persistence */ public void setDDMStructurePersistence( DDMStructurePersistence ddmStructurePersistence) { this.ddmStructurePersistence = ddmStructurePersistence; } /** * Returns the d d m structure finder. * * @return the d d m structure finder */ public DDMStructureFinder getDDMStructureFinder() { return ddmStructureFinder; } /** * Sets the d d m structure finder. * * @param ddmStructureFinder the d d m structure finder */ public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder) { this.ddmStructureFinder = ddmStructureFinder; } public void afterPropertiesSet() { } public void destroy() { } /** * Returns the Spring bean ID for this bean. * * @return the Spring bean ID for this bean */ @Override public String getBeanIdentifier() { return _beanIdentifier; } /** * Sets the Spring bean ID for this bean. * * @param beanIdentifier the Spring bean ID for this bean */ @Override public void setBeanIdentifier(String beanIdentifier) { _beanIdentifier = beanIdentifier; } /** * Performs an SQL query. * * @param sql the sql query */ protected void runSQL(String sql) throws SystemException { try { DataSource dataSource = InfrastructureUtil.getDataSource(); SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, sql, new int[0]); sqlUpdate.update(); } catch (Exception e) { throw new SystemException(e); } } @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleLocalService.class) protected com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService; @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleService.class) protected com.liferay.portlet.journal.service.JournalArticleService journalArticleService; @BeanReference(type = JournalArticlePersistence.class) protected JournalArticlePersistence journalArticlePersistence; @BeanReference(type = JournalArticleFinder.class) protected JournalArticleFinder journalArticleFinder; @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleImageLocalService.class) protected com.liferay.portlet.journal.service.JournalArticleImageLocalService journalArticleImageLocalService; @BeanReference(type = JournalArticleImagePersistence.class) protected JournalArticleImagePersistence journalArticleImagePersistence; @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleResourceLocalService.class) protected com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService; @BeanReference(type = JournalArticleResourcePersistence.class) protected JournalArticleResourcePersistence journalArticleResourcePersistence; @BeanReference(type = com.liferay.portlet.journal.service.JournalContentSearchLocalService.class) protected com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService; @BeanReference(type = JournalContentSearchPersistence.class) protected JournalContentSearchPersistence journalContentSearchPersistence; @BeanReference(type = com.liferay.portlet.journal.service.JournalFeedLocalService.class) protected com.liferay.portlet.journal.service.JournalFeedLocalService journalFeedLocalService; @BeanReference(type = com.liferay.portlet.journal.service.JournalFeedService.class) protected com.liferay.portlet.journal.service.JournalFeedService journalFeedService; @BeanReference(type = JournalFeedPersistence.class) protected JournalFeedPersistence journalFeedPersistence; @BeanReference(type = JournalFeedFinder.class) protected JournalFeedFinder journalFeedFinder; @BeanReference(type = com.liferay.portlet.journal.service.JournalFolderLocalService.class) protected com.liferay.portlet.journal.service.JournalFolderLocalService journalFolderLocalService; @BeanReference(type = com.liferay.portlet.journal.service.JournalFolderService.class) protected com.liferay.portlet.journal.service.JournalFolderService journalFolderService; @BeanReference(type = JournalFolderPersistence.class) protected JournalFolderPersistence journalFolderPersistence; @BeanReference(type = JournalFolderFinder.class) protected JournalFolderFinder journalFolderFinder; @BeanReference(type = com.liferay.portlet.journal.service.JournalStructureLocalService.class) protected com.liferay.portlet.journal.service.JournalStructureLocalService journalStructureLocalService; @BeanReference(type = com.liferay.portlet.journal.service.JournalStructureService.class) protected com.liferay.portlet.journal.service.JournalStructureService journalStructureService; @BeanReference(type = com.liferay.portlet.journal.service.JournalTemplateLocalService.class) protected com.liferay.portlet.journal.service.JournalTemplateLocalService journalTemplateLocalService; @BeanReference(type = com.liferay.portlet.journal.service.JournalTemplateService.class) protected com.liferay.portlet.journal.service.JournalTemplateService journalTemplateService; @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) protected com.liferay.counter.service.CounterLocalService counterLocalService; @BeanReference(type = com.liferay.portal.service.GroupLocalService.class) protected com.liferay.portal.service.GroupLocalService groupLocalService; @BeanReference(type = com.liferay.portal.service.GroupService.class) protected com.liferay.portal.service.GroupService groupService; @BeanReference(type = GroupPersistence.class) protected GroupPersistence groupPersistence; @BeanReference(type = GroupFinder.class) protected GroupFinder groupFinder; @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) protected com.liferay.portal.service.ResourceLocalService resourceLocalService; @BeanReference(type = com.liferay.portal.service.UserLocalService.class) protected com.liferay.portal.service.UserLocalService userLocalService; @BeanReference(type = com.liferay.portal.service.UserService.class) protected com.liferay.portal.service.UserService userService; @BeanReference(type = UserPersistence.class) protected UserPersistence userPersistence; @BeanReference(type = UserFinder.class) protected UserFinder userFinder; @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService.class) protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService; @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureService.class) protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService; @BeanReference(type = DDMStructurePersistence.class) protected DDMStructurePersistence ddmStructurePersistence; @BeanReference(type = DDMStructureFinder.class) protected DDMStructureFinder ddmStructureFinder; private String _beanIdentifier; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy