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

com.liferay.oauth2.provider.model.impl.OAuth2AuthorizationBaseImpl Maven / Gradle / Ivy

There is a newer version: 4.0.94
Show newest version
/**
 * 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.model.impl;

import com.liferay.oauth2.provider.model.OAuth2Authorization;
import com.liferay.oauth2.provider.service.OAuth2AuthorizationLocalServiceUtil;

/**
 * The extended model base implementation for the OAuth2Authorization service. Represents a row in the "OAuth2Authorization" database table, with each column mapped to a property of this class.
 *
 * 

* This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link OAuth2AuthorizationImpl}. *

* * @author Brian Wing Shun Chan * @see OAuth2AuthorizationImpl * @see OAuth2Authorization * @generated */ public abstract class OAuth2AuthorizationBaseImpl extends OAuth2AuthorizationModelImpl implements OAuth2Authorization { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this class directly. All methods that expect a o auth2 authorization model instance should use the OAuth2Authorization interface instead. */ @Override public void persist() { if (this.isNew()) { OAuth2AuthorizationLocalServiceUtil.addOAuth2Authorization(this); } else { OAuth2AuthorizationLocalServiceUtil.updateOAuth2Authorization(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy