
com.liferay.sharepoint.rest.oauth2.model.impl.SharepointOAuth2TokenEntryBaseImpl Maven / Gradle / Ivy
The 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.sharepoint.rest.oauth2.model.impl;
import com.liferay.sharepoint.rest.oauth2.model.SharepointOAuth2TokenEntry;
import com.liferay.sharepoint.rest.oauth2.service.SharepointOAuth2TokenEntryLocalServiceUtil;
/**
* The extended model base implementation for the SharepointOAuth2TokenEntry service. Represents a row in the "SharepointOAuth2TokenEntry" 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 SharepointOAuth2TokenEntryImpl}.
*
*
* @author Adolfo Pérez
* @see SharepointOAuth2TokenEntryImpl
* @see SharepointOAuth2TokenEntry
* @generated
*/
public abstract class SharepointOAuth2TokenEntryBaseImpl
extends SharepointOAuth2TokenEntryModelImpl
implements SharepointOAuth2TokenEntry {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this class directly. All methods that expect a sharepoint o auth2 token entry model instance should use the SharepointOAuth2TokenEntry
interface instead.
*/
@Override
public void persist() {
if (this.isNew()) {
SharepointOAuth2TokenEntryLocalServiceUtil.
addSharepointOAuth2TokenEntry(this);
}
else {
SharepointOAuth2TokenEntryLocalServiceUtil.
updateSharepointOAuth2TokenEntry(this);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy