
com.liferay.search.experiences.model.impl.SXPElementBaseImpl Maven / Gradle / Ivy
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of the Liferay Enterprise
* Subscription License ("License"). You may not use this file except in
* compliance with the License. You can obtain a copy of the License by
* contacting Liferay, Inc. See the License for the specific language governing
* permissions and limitations under the License, including but not limited to
* distribution rights of the Software.
*
*
*
*/
package com.liferay.search.experiences.model.impl;
import com.liferay.search.experiences.model.SXPElement;
import com.liferay.search.experiences.service.SXPElementLocalServiceUtil;
/**
* The extended model base implementation for the SXPElement service. Represents a row in the "SXPElement" 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 SXPElementImpl}.
*
*
* @author Brian Wing Shun Chan
* @see SXPElementImpl
* @see SXPElement
* @generated
*/
public abstract class SXPElementBaseImpl
extends SXPElementModelImpl implements SXPElement {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this class directly. All methods that expect a sxp element model instance should use the SXPElement
interface instead.
*/
@Override
public void persist() {
if (this.isNew()) {
SXPElementLocalServiceUtil.addSXPElement(this);
}
else {
SXPElementLocalServiceUtil.updateSXPElement(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy