com.liferay.oauth2.provider.service.persistence.impl.OAuth2AuthorizationFinderBaseImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.oauth2.provider.service
Show all versions of com.liferay.oauth2.provider.service
Liferay OAuth2 Provider Service
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.oauth2.provider.service.persistence.impl;
import com.liferay.oauth2.provider.model.OAuth2Authorization;
import com.liferay.oauth2.provider.service.persistence.OAuth2AuthorizationPersistence;
import com.liferay.oauth2.provider.service.persistence.impl.constants.OAuthTwoPersistenceConstants;
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 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 OAuth2AuthorizationFinderBaseImpl
extends BasePersistenceImpl {
public OAuth2AuthorizationFinderBaseImpl() {
setModelClass(OAuth2Authorization.class);
Map dbColumnNames = new HashMap();
dbColumnNames.put(
"oAuth2ApplicationScopeAliasesId", "oA2AScopeAliasesId");
setDBColumnNames(dbColumnNames);
}
@Override
public Set getBadColumnNames() {
return oAuth2AuthorizationPersistence.getBadColumnNames();
}
@Override
@Reference(
target = OAuthTwoPersistenceConstants.SERVICE_CONFIGURATION_FILTER,
unbind = "-"
)
public void setConfiguration(Configuration configuration) {
}
@Override
@Reference(
target = OAuthTwoPersistenceConstants.ORIGIN_BUNDLE_SYMBOLIC_NAME_FILTER,
unbind = "-"
)
public void setDataSource(DataSource dataSource) {
super.setDataSource(dataSource);
}
@Override
@Reference(
target = OAuthTwoPersistenceConstants.ORIGIN_BUNDLE_SYMBOLIC_NAME_FILTER,
unbind = "-"
)
public void setSessionFactory(SessionFactory sessionFactory) {
super.setSessionFactory(sessionFactory);
}
@Reference
protected OAuth2AuthorizationPersistence oAuth2AuthorizationPersistence;
private static final Log _log = LogFactoryUtil.getLog(
OAuth2AuthorizationFinderBaseImpl.class);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy