com.liferay.sync.service.persistence.impl.SyncDLObjectFinderBaseImpl Maven / Gradle / Ivy
The newest version!
/**
* Copyright (c) 2000-present 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.sync.service.persistence.impl;
import com.liferay.portal.kernel.configuration.Configuration;
import com.liferay.portal.kernel.dao.orm.SessionFactory;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl;
import com.liferay.sync.model.SyncDLObject;
import com.liferay.sync.service.persistence.SyncDLObjectPersistence;
import com.liferay.sync.service.persistence.impl.constants.SyncPersistenceConstants;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import javax.sql.DataSource;
import org.osgi.service.component.annotations.Reference;
/**
* @author Brian Wing Shun Chan
* @generated
*/
public abstract class SyncDLObjectFinderBaseImpl
extends BasePersistenceImpl {
public SyncDLObjectFinderBaseImpl() {
setModelClass(SyncDLObject.class);
Map dbColumnNames = new HashMap();
dbColumnNames.put("size", "size_");
dbColumnNames.put("type", "type_");
setDBColumnNames(dbColumnNames);
}
@Override
public Set getBadColumnNames() {
return syncDLObjectPersistence.getBadColumnNames();
}
@Override
@Reference(
target = SyncPersistenceConstants.SERVICE_CONFIGURATION_FILTER,
unbind = "-"
)
public void setConfiguration(Configuration configuration) {
}
@Override
@Reference(
target = SyncPersistenceConstants.ORIGIN_BUNDLE_SYMBOLIC_NAME_FILTER,
unbind = "-"
)
public void setDataSource(DataSource dataSource) {
super.setDataSource(dataSource);
}
@Override
@Reference(
target = SyncPersistenceConstants.ORIGIN_BUNDLE_SYMBOLIC_NAME_FILTER,
unbind = "-"
)
public void setSessionFactory(SessionFactory sessionFactory) {
super.setSessionFactory(sessionFactory);
}
@Reference
protected SyncDLObjectPersistence syncDLObjectPersistence;
private static final Log _log = LogFactoryUtil.getLog(
SyncDLObjectFinderBaseImpl.class);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy