com.liferay.commerce.model.CommerceAvailabilityEstimateModel Maven / Gradle / Ivy
/**
* 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.commerce.model;
import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.kernel.exception.LocaleException;
import com.liferay.portal.kernel.model.BaseModel;
import com.liferay.portal.kernel.model.LocalizedModel;
import com.liferay.portal.kernel.model.MVCCModel;
import com.liferay.portal.kernel.model.ShardedModel;
import com.liferay.portal.kernel.model.StagedAuditedModel;
import java.util.Date;
import java.util.Locale;
import java.util.Map;
import org.osgi.annotation.versioning.ProviderType;
/**
* The base model interface for the CommerceAvailabilityEstimate service. Represents a row in the "CommerceAvailabilityEstimate" database table, with each column mapped to a property of this class.
*
*
* This interface and its corresponding implementation com.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.model.impl.CommerceAvailabilityEstimateImpl
.
*
*
* @author Alessio Antonio Rendina
* @see CommerceAvailabilityEstimate
* @generated
*/
@ProviderType
public interface CommerceAvailabilityEstimateModel
extends BaseModel, LocalizedModel, MVCCModel,
ShardedModel, StagedAuditedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. All methods that expect a commerce availability estimate model instance should use the {@link CommerceAvailabilityEstimate} interface instead.
*/
/**
* Returns the primary key of this commerce availability estimate.
*
* @return the primary key of this commerce availability estimate
*/
public long getPrimaryKey();
/**
* Sets the primary key of this commerce availability estimate.
*
* @param primaryKey the primary key of this commerce availability estimate
*/
public void setPrimaryKey(long primaryKey);
/**
* Returns the mvcc version of this commerce availability estimate.
*
* @return the mvcc version of this commerce availability estimate
*/
@Override
public long getMvccVersion();
/**
* Sets the mvcc version of this commerce availability estimate.
*
* @param mvccVersion the mvcc version of this commerce availability estimate
*/
@Override
public void setMvccVersion(long mvccVersion);
/**
* Returns the uuid of this commerce availability estimate.
*
* @return the uuid of this commerce availability estimate
*/
@AutoEscape
@Override
public String getUuid();
/**
* Sets the uuid of this commerce availability estimate.
*
* @param uuid the uuid of this commerce availability estimate
*/
@Override
public void setUuid(String uuid);
/**
* Returns the commerce availability estimate ID of this commerce availability estimate.
*
* @return the commerce availability estimate ID of this commerce availability estimate
*/
public long getCommerceAvailabilityEstimateId();
/**
* Sets the commerce availability estimate ID of this commerce availability estimate.
*
* @param commerceAvailabilityEstimateId the commerce availability estimate ID of this commerce availability estimate
*/
public void setCommerceAvailabilityEstimateId(
long commerceAvailabilityEstimateId);
/**
* Returns the company ID of this commerce availability estimate.
*
* @return the company ID of this commerce availability estimate
*/
@Override
public long getCompanyId();
/**
* Sets the company ID of this commerce availability estimate.
*
* @param companyId the company ID of this commerce availability estimate
*/
@Override
public void setCompanyId(long companyId);
/**
* Returns the user ID of this commerce availability estimate.
*
* @return the user ID of this commerce availability estimate
*/
@Override
public long getUserId();
/**
* Sets the user ID of this commerce availability estimate.
*
* @param userId the user ID of this commerce availability estimate
*/
@Override
public void setUserId(long userId);
/**
* Returns the user uuid of this commerce availability estimate.
*
* @return the user uuid of this commerce availability estimate
*/
@Override
public String getUserUuid();
/**
* Sets the user uuid of this commerce availability estimate.
*
* @param userUuid the user uuid of this commerce availability estimate
*/
@Override
public void setUserUuid(String userUuid);
/**
* Returns the user name of this commerce availability estimate.
*
* @return the user name of this commerce availability estimate
*/
@AutoEscape
@Override
public String getUserName();
/**
* Sets the user name of this commerce availability estimate.
*
* @param userName the user name of this commerce availability estimate
*/
@Override
public void setUserName(String userName);
/**
* Returns the create date of this commerce availability estimate.
*
* @return the create date of this commerce availability estimate
*/
@Override
public Date getCreateDate();
/**
* Sets the create date of this commerce availability estimate.
*
* @param createDate the create date of this commerce availability estimate
*/
@Override
public void setCreateDate(Date createDate);
/**
* Returns the modified date of this commerce availability estimate.
*
* @return the modified date of this commerce availability estimate
*/
@Override
public Date getModifiedDate();
/**
* Sets the modified date of this commerce availability estimate.
*
* @param modifiedDate the modified date of this commerce availability estimate
*/
@Override
public void setModifiedDate(Date modifiedDate);
/**
* Returns the title of this commerce availability estimate.
*
* @return the title of this commerce availability estimate
*/
public String getTitle();
/**
* Returns the localized title of this commerce availability estimate in the language. Uses the default language if no localization exists for the requested language.
*
* @param locale the locale of the language
* @return the localized title of this commerce availability estimate
*/
@AutoEscape
public String getTitle(Locale locale);
/**
* Returns the localized title of this commerce availability estimate in the language, optionally using the default language if no localization exists for the requested language.
*
* @param locale the local of the language
* @param useDefault whether to use the default language if no localization exists for the requested language
* @return the localized title of this commerce availability estimate. If useDefault
is false
and no localization exists for the requested language, an empty string will be returned.
*/
@AutoEscape
public String getTitle(Locale locale, boolean useDefault);
/**
* Returns the localized title of this commerce availability estimate in the language. Uses the default language if no localization exists for the requested language.
*
* @param languageId the ID of the language
* @return the localized title of this commerce availability estimate
*/
@AutoEscape
public String getTitle(String languageId);
/**
* Returns the localized title of this commerce availability estimate in the language, optionally using the default language if no localization exists for the requested language.
*
* @param languageId the ID of the language
* @param useDefault whether to use the default language if no localization exists for the requested language
* @return the localized title of this commerce availability estimate
*/
@AutoEscape
public String getTitle(String languageId, boolean useDefault);
@AutoEscape
public String getTitleCurrentLanguageId();
@AutoEscape
public String getTitleCurrentValue();
/**
* Returns a map of the locales and localized titles of this commerce availability estimate.
*
* @return the locales and localized titles of this commerce availability estimate
*/
public Map getTitleMap();
/**
* Sets the title of this commerce availability estimate.
*
* @param title the title of this commerce availability estimate
*/
public void setTitle(String title);
/**
* Sets the localized title of this commerce availability estimate in the language.
*
* @param title the localized title of this commerce availability estimate
* @param locale the locale of the language
*/
public void setTitle(String title, Locale locale);
/**
* Sets the localized title of this commerce availability estimate in the language, and sets the default locale.
*
* @param title the localized title of this commerce availability estimate
* @param locale the locale of the language
* @param defaultLocale the default locale
*/
public void setTitle(String title, Locale locale, Locale defaultLocale);
public void setTitleCurrentLanguageId(String languageId);
/**
* Sets the localized titles of this commerce availability estimate from the map of locales and localized titles.
*
* @param titleMap the locales and localized titles of this commerce availability estimate
*/
public void setTitleMap(Map titleMap);
/**
* Sets the localized titles of this commerce availability estimate from the map of locales and localized titles, and sets the default locale.
*
* @param titleMap the locales and localized titles of this commerce availability estimate
* @param defaultLocale the default locale
*/
public void setTitleMap(Map titleMap, Locale defaultLocale);
/**
* Returns the priority of this commerce availability estimate.
*
* @return the priority of this commerce availability estimate
*/
public double getPriority();
/**
* Sets the priority of this commerce availability estimate.
*
* @param priority the priority of this commerce availability estimate
*/
public void setPriority(double priority);
/**
* Returns the last publish date of this commerce availability estimate.
*
* @return the last publish date of this commerce availability estimate
*/
public Date getLastPublishDate();
/**
* Sets the last publish date of this commerce availability estimate.
*
* @param lastPublishDate the last publish date of this commerce availability estimate
*/
public void setLastPublishDate(Date lastPublishDate);
@Override
public String[] getAvailableLanguageIds();
@Override
public String getDefaultLanguageId();
@Override
public void prepareLocalizedFieldsForImport() throws LocaleException;
@Override
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
throws LocaleException;
@Override
public CommerceAvailabilityEstimate cloneWithOriginalValues();
public default String toXmlString() {
return null;
}
}