com.liferay.portlet.softwarecatalog.service.base.SCFrameworkVersionServiceBaseImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of portal-impl Show documentation
Show all versions of portal-impl Show documentation
Contains implementation for the portal services.
/**
* 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.softwarecatalog.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.service.BaseServiceImpl;
import com.liferay.portal.service.persistence.UserFinder;
import com.liferay.portal.service.persistence.UserPersistence;
import com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion;
import com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService;
import com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence;
import com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence;
import com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence;
import com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence;
import com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence;
import javax.sql.DataSource;
/**
* Provides the base implementation for the s c framework version 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.softwarecatalog.service.impl.SCFrameworkVersionServiceImpl}.
*
*
* @author Brian Wing Shun Chan
* @see com.liferay.portlet.softwarecatalog.service.impl.SCFrameworkVersionServiceImpl
* @see com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionServiceUtil
* @generated
*/
public abstract class SCFrameworkVersionServiceBaseImpl extends BaseServiceImpl
implements SCFrameworkVersionService, IdentifiableBean {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this class directly. Always use {@link com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionServiceUtil} to access the s c framework version remote service.
*/
/**
* Returns the s c framework version local service.
*
* @return the s c framework version local service
*/
public com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService getSCFrameworkVersionLocalService() {
return scFrameworkVersionLocalService;
}
/**
* Sets the s c framework version local service.
*
* @param scFrameworkVersionLocalService the s c framework version local service
*/
public void setSCFrameworkVersionLocalService(
com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService scFrameworkVersionLocalService) {
this.scFrameworkVersionLocalService = scFrameworkVersionLocalService;
}
/**
* Returns the s c framework version remote service.
*
* @return the s c framework version remote service
*/
public com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService getSCFrameworkVersionService() {
return scFrameworkVersionService;
}
/**
* Sets the s c framework version remote service.
*
* @param scFrameworkVersionService the s c framework version remote service
*/
public void setSCFrameworkVersionService(
com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService scFrameworkVersionService) {
this.scFrameworkVersionService = scFrameworkVersionService;
}
/**
* Returns the s c framework version persistence.
*
* @return the s c framework version persistence
*/
public SCFrameworkVersionPersistence getSCFrameworkVersionPersistence() {
return scFrameworkVersionPersistence;
}
/**
* Sets the s c framework version persistence.
*
* @param scFrameworkVersionPersistence the s c framework version persistence
*/
public void setSCFrameworkVersionPersistence(
SCFrameworkVersionPersistence scFrameworkVersionPersistence) {
this.scFrameworkVersionPersistence = scFrameworkVersionPersistence;
}
/**
* Returns the s c license local service.
*
* @return the s c license local service
*/
public com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService getSCLicenseLocalService() {
return scLicenseLocalService;
}
/**
* Sets the s c license local service.
*
* @param scLicenseLocalService the s c license local service
*/
public void setSCLicenseLocalService(
com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService scLicenseLocalService) {
this.scLicenseLocalService = scLicenseLocalService;
}
/**
* Returns the s c license remote service.
*
* @return the s c license remote service
*/
public com.liferay.portlet.softwarecatalog.service.SCLicenseService getSCLicenseService() {
return scLicenseService;
}
/**
* Sets the s c license remote service.
*
* @param scLicenseService the s c license remote service
*/
public void setSCLicenseService(
com.liferay.portlet.softwarecatalog.service.SCLicenseService scLicenseService) {
this.scLicenseService = scLicenseService;
}
/**
* Returns the s c license persistence.
*
* @return the s c license persistence
*/
public SCLicensePersistence getSCLicensePersistence() {
return scLicensePersistence;
}
/**
* Sets the s c license persistence.
*
* @param scLicensePersistence the s c license persistence
*/
public void setSCLicensePersistence(
SCLicensePersistence scLicensePersistence) {
this.scLicensePersistence = scLicensePersistence;
}
/**
* Returns the s c product entry local service.
*
* @return the s c product entry local service
*/
public com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService getSCProductEntryLocalService() {
return scProductEntryLocalService;
}
/**
* Sets the s c product entry local service.
*
* @param scProductEntryLocalService the s c product entry local service
*/
public void setSCProductEntryLocalService(
com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService scProductEntryLocalService) {
this.scProductEntryLocalService = scProductEntryLocalService;
}
/**
* Returns the s c product entry remote service.
*
* @return the s c product entry remote service
*/
public com.liferay.portlet.softwarecatalog.service.SCProductEntryService getSCProductEntryService() {
return scProductEntryService;
}
/**
* Sets the s c product entry remote service.
*
* @param scProductEntryService the s c product entry remote service
*/
public void setSCProductEntryService(
com.liferay.portlet.softwarecatalog.service.SCProductEntryService scProductEntryService) {
this.scProductEntryService = scProductEntryService;
}
/**
* Returns the s c product entry persistence.
*
* @return the s c product entry persistence
*/
public SCProductEntryPersistence getSCProductEntryPersistence() {
return scProductEntryPersistence;
}
/**
* Sets the s c product entry persistence.
*
* @param scProductEntryPersistence the s c product entry persistence
*/
public void setSCProductEntryPersistence(
SCProductEntryPersistence scProductEntryPersistence) {
this.scProductEntryPersistence = scProductEntryPersistence;
}
/**
* Returns the s c product screenshot local service.
*
* @return the s c product screenshot local service
*/
public com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService getSCProductScreenshotLocalService() {
return scProductScreenshotLocalService;
}
/**
* Sets the s c product screenshot local service.
*
* @param scProductScreenshotLocalService the s c product screenshot local service
*/
public void setSCProductScreenshotLocalService(
com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService scProductScreenshotLocalService) {
this.scProductScreenshotLocalService = scProductScreenshotLocalService;
}
/**
* Returns the s c product screenshot persistence.
*
* @return the s c product screenshot persistence
*/
public SCProductScreenshotPersistence getSCProductScreenshotPersistence() {
return scProductScreenshotPersistence;
}
/**
* Sets the s c product screenshot persistence.
*
* @param scProductScreenshotPersistence the s c product screenshot persistence
*/
public void setSCProductScreenshotPersistence(
SCProductScreenshotPersistence scProductScreenshotPersistence) {
this.scProductScreenshotPersistence = scProductScreenshotPersistence;
}
/**
* Returns the s c product version local service.
*
* @return the s c product version local service
*/
public com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService getSCProductVersionLocalService() {
return scProductVersionLocalService;
}
/**
* Sets the s c product version local service.
*
* @param scProductVersionLocalService the s c product version local service
*/
public void setSCProductVersionLocalService(
com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService scProductVersionLocalService) {
this.scProductVersionLocalService = scProductVersionLocalService;
}
/**
* Returns the s c product version remote service.
*
* @return the s c product version remote service
*/
public com.liferay.portlet.softwarecatalog.service.SCProductVersionService getSCProductVersionService() {
return scProductVersionService;
}
/**
* Sets the s c product version remote service.
*
* @param scProductVersionService the s c product version remote service
*/
public void setSCProductVersionService(
com.liferay.portlet.softwarecatalog.service.SCProductVersionService scProductVersionService) {
this.scProductVersionService = scProductVersionService;
}
/**
* Returns the s c product version persistence.
*
* @return the s c product version persistence
*/
public SCProductVersionPersistence getSCProductVersionPersistence() {
return scProductVersionPersistence;
}
/**
* Sets the s c product version persistence.
*
* @param scProductVersionPersistence the s c product version persistence
*/
public void setSCProductVersionPersistence(
SCProductVersionPersistence scProductVersionPersistence) {
this.scProductVersionPersistence = scProductVersionPersistence;
}
/**
* 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 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;
}
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;
}
protected Class getModelClass() {
return SCFrameworkVersion.class;
}
protected String getModelClassName() {
return SCFrameworkVersion.class.getName();
}
/**
* Performs an SQL query.
*
* @param sql the sql query
*/
protected void runSQL(String sql) throws SystemException {
try {
DataSource dataSource = scFrameworkVersionPersistence.getDataSource();
SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
sql, new int[0]);
sqlUpdate.update();
}
catch (Exception e) {
throw new SystemException(e);
}
}
@BeanReference(type = com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService.class)
protected com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService scFrameworkVersionLocalService;
@BeanReference(type = com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService.class)
protected com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService scFrameworkVersionService;
@BeanReference(type = SCFrameworkVersionPersistence.class)
protected SCFrameworkVersionPersistence scFrameworkVersionPersistence;
@BeanReference(type = com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService.class)
protected com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService scLicenseLocalService;
@BeanReference(type = com.liferay.portlet.softwarecatalog.service.SCLicenseService.class)
protected com.liferay.portlet.softwarecatalog.service.SCLicenseService scLicenseService;
@BeanReference(type = SCLicensePersistence.class)
protected SCLicensePersistence scLicensePersistence;
@BeanReference(type = com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService.class)
protected com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService scProductEntryLocalService;
@BeanReference(type = com.liferay.portlet.softwarecatalog.service.SCProductEntryService.class)
protected com.liferay.portlet.softwarecatalog.service.SCProductEntryService scProductEntryService;
@BeanReference(type = SCProductEntryPersistence.class)
protected SCProductEntryPersistence scProductEntryPersistence;
@BeanReference(type = com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService.class)
protected com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService scProductScreenshotLocalService;
@BeanReference(type = SCProductScreenshotPersistence.class)
protected SCProductScreenshotPersistence scProductScreenshotPersistence;
@BeanReference(type = com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService.class)
protected com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService scProductVersionLocalService;
@BeanReference(type = com.liferay.portlet.softwarecatalog.service.SCProductVersionService.class)
protected com.liferay.portlet.softwarecatalog.service.SCProductVersionService scProductVersionService;
@BeanReference(type = SCProductVersionPersistence.class)
protected SCProductVersionPersistence scProductVersionPersistence;
@BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
protected com.liferay.counter.service.CounterLocalService counterLocalService;
@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;
private String _beanIdentifier;
}