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

com.liferay.commerce.discount.model.impl.CommerceDiscountModelImpl Maven / Gradle / Ivy

There is a newer version: 4.0.84
Show newest version
/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.commerce.discount.model.impl;

import com.liferay.commerce.discount.model.CommerceDiscount;
import com.liferay.commerce.discount.model.CommerceDiscountModel;
import com.liferay.commerce.discount.model.CommerceDiscountSoap;
import com.liferay.expando.kernel.model.ExpandoBridge;
import com.liferay.expando.kernel.util.ExpandoBridgeFactoryUtil;
import com.liferay.exportimport.kernel.lar.StagedModelType;
import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.json.JSON;
import com.liferay.portal.kernel.model.CacheModel;
import com.liferay.portal.kernel.model.ModelWrapper;
import com.liferay.portal.kernel.model.User;
import com.liferay.portal.kernel.model.impl.BaseModelImpl;
import com.liferay.portal.kernel.service.ServiceContext;
import com.liferay.portal.kernel.service.UserLocalServiceUtil;
import com.liferay.portal.kernel.util.DateUtil;
import com.liferay.portal.kernel.util.GetterUtil;
import com.liferay.portal.kernel.util.PortalUtil;
import com.liferay.portal.kernel.util.ProxyUtil;
import com.liferay.portal.kernel.util.StringBundler;
import com.liferay.portal.kernel.workflow.WorkflowConstants;

import java.io.Serializable;

import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationHandler;

import java.math.BigDecimal;

import java.sql.Types;

import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.function.BiConsumer;
import java.util.function.Function;

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

* This implementation and its corresponding interface CommerceDiscountModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link CommerceDiscountImpl}. *

* * @author Marco Leo * @see CommerceDiscountImpl * @generated */ @JSON(strict = true) public class CommerceDiscountModelImpl extends BaseModelImpl implements CommerceDiscountModel { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this class directly. All methods that expect a commerce discount model instance should use the CommerceDiscount interface instead. */ public static final String TABLE_NAME = "CommerceDiscount"; public static final Object[][] TABLE_COLUMNS = { {"uuid_", Types.VARCHAR}, {"externalReferenceCode", Types.VARCHAR}, {"commerceDiscountId", Types.BIGINT}, {"companyId", Types.BIGINT}, {"userId", Types.BIGINT}, {"userName", Types.VARCHAR}, {"createDate", Types.TIMESTAMP}, {"modifiedDate", Types.TIMESTAMP}, {"title", Types.VARCHAR}, {"target", Types.VARCHAR}, {"useCouponCode", Types.BOOLEAN}, {"couponCode", Types.VARCHAR}, {"usePercentage", Types.BOOLEAN}, {"maximumDiscountAmount", Types.DECIMAL}, {"levelType", Types.VARCHAR}, {"level1", Types.DECIMAL}, {"level2", Types.DECIMAL}, {"level3", Types.DECIMAL}, {"level4", Types.DECIMAL}, {"limitationType", Types.VARCHAR}, {"limitationTimes", Types.INTEGER}, {"limitationTimesPerAccount", Types.INTEGER}, {"numberOfUse", Types.INTEGER}, {"rulesConjunction", Types.BOOLEAN}, {"active_", Types.BOOLEAN}, {"displayDate", Types.TIMESTAMP}, {"expirationDate", Types.TIMESTAMP}, {"lastPublishDate", Types.TIMESTAMP}, {"status", Types.INTEGER}, {"statusByUserId", Types.BIGINT}, {"statusByUserName", Types.VARCHAR}, {"statusDate", Types.TIMESTAMP} }; public static final Map TABLE_COLUMNS_MAP = new HashMap(); static { TABLE_COLUMNS_MAP.put("uuid_", Types.VARCHAR); TABLE_COLUMNS_MAP.put("externalReferenceCode", Types.VARCHAR); TABLE_COLUMNS_MAP.put("commerceDiscountId", Types.BIGINT); TABLE_COLUMNS_MAP.put("companyId", Types.BIGINT); TABLE_COLUMNS_MAP.put("userId", Types.BIGINT); TABLE_COLUMNS_MAP.put("userName", Types.VARCHAR); TABLE_COLUMNS_MAP.put("createDate", Types.TIMESTAMP); TABLE_COLUMNS_MAP.put("modifiedDate", Types.TIMESTAMP); TABLE_COLUMNS_MAP.put("title", Types.VARCHAR); TABLE_COLUMNS_MAP.put("target", Types.VARCHAR); TABLE_COLUMNS_MAP.put("useCouponCode", Types.BOOLEAN); TABLE_COLUMNS_MAP.put("couponCode", Types.VARCHAR); TABLE_COLUMNS_MAP.put("usePercentage", Types.BOOLEAN); TABLE_COLUMNS_MAP.put("maximumDiscountAmount", Types.DECIMAL); TABLE_COLUMNS_MAP.put("levelType", Types.VARCHAR); TABLE_COLUMNS_MAP.put("level1", Types.DECIMAL); TABLE_COLUMNS_MAP.put("level2", Types.DECIMAL); TABLE_COLUMNS_MAP.put("level3", Types.DECIMAL); TABLE_COLUMNS_MAP.put("level4", Types.DECIMAL); TABLE_COLUMNS_MAP.put("limitationType", Types.VARCHAR); TABLE_COLUMNS_MAP.put("limitationTimes", Types.INTEGER); TABLE_COLUMNS_MAP.put("limitationTimesPerAccount", Types.INTEGER); TABLE_COLUMNS_MAP.put("numberOfUse", Types.INTEGER); TABLE_COLUMNS_MAP.put("rulesConjunction", Types.BOOLEAN); TABLE_COLUMNS_MAP.put("active_", Types.BOOLEAN); TABLE_COLUMNS_MAP.put("displayDate", Types.TIMESTAMP); TABLE_COLUMNS_MAP.put("expirationDate", Types.TIMESTAMP); TABLE_COLUMNS_MAP.put("lastPublishDate", Types.TIMESTAMP); TABLE_COLUMNS_MAP.put("status", Types.INTEGER); TABLE_COLUMNS_MAP.put("statusByUserId", Types.BIGINT); TABLE_COLUMNS_MAP.put("statusByUserName", Types.VARCHAR); TABLE_COLUMNS_MAP.put("statusDate", Types.TIMESTAMP); } public static final String TABLE_SQL_CREATE = "create table CommerceDiscount (uuid_ VARCHAR(75) null,externalReferenceCode VARCHAR(75) null,commerceDiscountId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,title VARCHAR(75) null,target VARCHAR(75) null,useCouponCode BOOLEAN,couponCode VARCHAR(75) null,usePercentage BOOLEAN,maximumDiscountAmount DECIMAL(30, 16) null,levelType VARCHAR(75) null,level1 DECIMAL(30, 16) null,level2 DECIMAL(30, 16) null,level3 DECIMAL(30, 16) null,level4 DECIMAL(30, 16) null,limitationType VARCHAR(75) null,limitationTimes INTEGER,limitationTimesPerAccount INTEGER,numberOfUse INTEGER,rulesConjunction BOOLEAN,active_ BOOLEAN,displayDate DATE null,expirationDate DATE null,lastPublishDate DATE null,status INTEGER,statusByUserId LONG,statusByUserName VARCHAR(75) null,statusDate DATE null)"; public static final String TABLE_SQL_DROP = "drop table CommerceDiscount"; public static final String ORDER_BY_JPQL = " ORDER BY commerceDiscount.createDate DESC"; public static final String ORDER_BY_SQL = " ORDER BY CommerceDiscount.createDate DESC"; public static final String DATA_SOURCE = "liferayDataSource"; public static final String SESSION_FACTORY = "liferaySessionFactory"; public static final String TX_MANAGER = "liferayTransactionManager"; public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean( com.liferay.commerce.discount.service.util.ServiceProps.get( "value.object.entity.cache.enabled.com.liferay.commerce.discount.model.CommerceDiscount"), true); public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean( com.liferay.commerce.discount.service.util.ServiceProps.get( "value.object.finder.cache.enabled.com.liferay.commerce.discount.model.CommerceDiscount"), true); public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean( com.liferay.commerce.discount.service.util.ServiceProps.get( "value.object.column.bitmask.enabled.com.liferay.commerce.discount.model.CommerceDiscount"), true); public static final long ACTIVE_COLUMN_BITMASK = 1L; public static final long COMPANYID_COLUMN_BITMASK = 2L; public static final long COUPONCODE_COLUMN_BITMASK = 4L; public static final long DISPLAYDATE_COLUMN_BITMASK = 8L; public static final long EXPIRATIONDATE_COLUMN_BITMASK = 16L; public static final long EXTERNALREFERENCECODE_COLUMN_BITMASK = 32L; public static final long STATUS_COLUMN_BITMASK = 64L; public static final long UUID_COLUMN_BITMASK = 128L; public static final long CREATEDATE_COLUMN_BITMASK = 256L; /** * Converts the soap model instance into a normal model instance. * * @param soapModel the soap model instance to convert * @return the normal model instance */ public static CommerceDiscount toModel(CommerceDiscountSoap soapModel) { if (soapModel == null) { return null; } CommerceDiscount model = new CommerceDiscountImpl(); model.setUuid(soapModel.getUuid()); model.setExternalReferenceCode(soapModel.getExternalReferenceCode()); model.setCommerceDiscountId(soapModel.getCommerceDiscountId()); model.setCompanyId(soapModel.getCompanyId()); model.setUserId(soapModel.getUserId()); model.setUserName(soapModel.getUserName()); model.setCreateDate(soapModel.getCreateDate()); model.setModifiedDate(soapModel.getModifiedDate()); model.setTitle(soapModel.getTitle()); model.setTarget(soapModel.getTarget()); model.setUseCouponCode(soapModel.isUseCouponCode()); model.setCouponCode(soapModel.getCouponCode()); model.setUsePercentage(soapModel.isUsePercentage()); model.setMaximumDiscountAmount(soapModel.getMaximumDiscountAmount()); model.setLevel(soapModel.getLevel()); model.setLevel1(soapModel.getLevel1()); model.setLevel2(soapModel.getLevel2()); model.setLevel3(soapModel.getLevel3()); model.setLevel4(soapModel.getLevel4()); model.setLimitationType(soapModel.getLimitationType()); model.setLimitationTimes(soapModel.getLimitationTimes()); model.setLimitationTimesPerAccount( soapModel.getLimitationTimesPerAccount()); model.setNumberOfUse(soapModel.getNumberOfUse()); model.setRulesConjunction(soapModel.isRulesConjunction()); model.setActive(soapModel.isActive()); model.setDisplayDate(soapModel.getDisplayDate()); model.setExpirationDate(soapModel.getExpirationDate()); model.setLastPublishDate(soapModel.getLastPublishDate()); model.setStatus(soapModel.getStatus()); model.setStatusByUserId(soapModel.getStatusByUserId()); model.setStatusByUserName(soapModel.getStatusByUserName()); model.setStatusDate(soapModel.getStatusDate()); return model; } /** * Converts the soap model instances into normal model instances. * * @param soapModels the soap model instances to convert * @return the normal model instances */ public static List toModels( CommerceDiscountSoap[] soapModels) { if (soapModels == null) { return null; } List models = new ArrayList( soapModels.length); for (CommerceDiscountSoap soapModel : soapModels) { models.add(toModel(soapModel)); } return models; } public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong( com.liferay.commerce.discount.service.util.ServiceProps.get( "lock.expiration.time.com.liferay.commerce.discount.model.CommerceDiscount")); public CommerceDiscountModelImpl() { } @Override public long getPrimaryKey() { return _commerceDiscountId; } @Override public void setPrimaryKey(long primaryKey) { setCommerceDiscountId(primaryKey); } @Override public Serializable getPrimaryKeyObj() { return _commerceDiscountId; } @Override public void setPrimaryKeyObj(Serializable primaryKeyObj) { setPrimaryKey(((Long)primaryKeyObj).longValue()); } @Override public Class getModelClass() { return CommerceDiscount.class; } @Override public String getModelClassName() { return CommerceDiscount.class.getName(); } @Override public Map getModelAttributes() { Map attributes = new HashMap(); Map> attributeGetterFunctions = getAttributeGetterFunctions(); for (Map.Entry> entry : attributeGetterFunctions.entrySet()) { String attributeName = entry.getKey(); Function attributeGetterFunction = entry.getValue(); attributes.put( attributeName, attributeGetterFunction.apply((CommerceDiscount)this)); } attributes.put("entityCacheEnabled", isEntityCacheEnabled()); attributes.put("finderCacheEnabled", isFinderCacheEnabled()); return attributes; } @Override public void setModelAttributes(Map attributes) { Map> attributeSetterBiConsumers = getAttributeSetterBiConsumers(); for (Map.Entry entry : attributes.entrySet()) { String attributeName = entry.getKey(); BiConsumer attributeSetterBiConsumer = attributeSetterBiConsumers.get(attributeName); if (attributeSetterBiConsumer != null) { attributeSetterBiConsumer.accept( (CommerceDiscount)this, entry.getValue()); } } } public Map> getAttributeGetterFunctions() { return _attributeGetterFunctions; } public Map> getAttributeSetterBiConsumers() { return _attributeSetterBiConsumers; } private static Function _getProxyProviderFunction() { Class proxyClass = ProxyUtil.getProxyClass( CommerceDiscount.class.getClassLoader(), CommerceDiscount.class, ModelWrapper.class); try { Constructor constructor = (Constructor)proxyClass.getConstructor( InvocationHandler.class); return invocationHandler -> { try { return constructor.newInstance(invocationHandler); } catch (ReflectiveOperationException reflectiveOperationException) { throw new InternalError(reflectiveOperationException); } }; } catch (NoSuchMethodException noSuchMethodException) { throw new InternalError(noSuchMethodException); } } private static final Map> _attributeGetterFunctions; private static final Map> _attributeSetterBiConsumers; static { Map> attributeGetterFunctions = new LinkedHashMap>(); Map> attributeSetterBiConsumers = new LinkedHashMap>(); attributeGetterFunctions.put( "uuid", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getUuid(); } }); attributeSetterBiConsumers.put( "uuid", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object uuidObject) { commerceDiscount.setUuid((String)uuidObject); } }); attributeGetterFunctions.put( "externalReferenceCode", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getExternalReferenceCode(); } }); attributeSetterBiConsumers.put( "externalReferenceCode", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object externalReferenceCodeObject) { commerceDiscount.setExternalReferenceCode( (String)externalReferenceCodeObject); } }); attributeGetterFunctions.put( "commerceDiscountId", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getCommerceDiscountId(); } }); attributeSetterBiConsumers.put( "commerceDiscountId", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object commerceDiscountIdObject) { commerceDiscount.setCommerceDiscountId( (Long)commerceDiscountIdObject); } }); attributeGetterFunctions.put( "companyId", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getCompanyId(); } }); attributeSetterBiConsumers.put( "companyId", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object companyIdObject) { commerceDiscount.setCompanyId((Long)companyIdObject); } }); attributeGetterFunctions.put( "userId", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getUserId(); } }); attributeSetterBiConsumers.put( "userId", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object userIdObject) { commerceDiscount.setUserId((Long)userIdObject); } }); attributeGetterFunctions.put( "userName", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getUserName(); } }); attributeSetterBiConsumers.put( "userName", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object userNameObject) { commerceDiscount.setUserName((String)userNameObject); } }); attributeGetterFunctions.put( "createDate", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getCreateDate(); } }); attributeSetterBiConsumers.put( "createDate", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object createDateObject) { commerceDiscount.setCreateDate((Date)createDateObject); } }); attributeGetterFunctions.put( "modifiedDate", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getModifiedDate(); } }); attributeSetterBiConsumers.put( "modifiedDate", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object modifiedDateObject) { commerceDiscount.setModifiedDate((Date)modifiedDateObject); } }); attributeGetterFunctions.put( "title", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getTitle(); } }); attributeSetterBiConsumers.put( "title", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object titleObject) { commerceDiscount.setTitle((String)titleObject); } }); attributeGetterFunctions.put( "target", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getTarget(); } }); attributeSetterBiConsumers.put( "target", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object targetObject) { commerceDiscount.setTarget((String)targetObject); } }); attributeGetterFunctions.put( "useCouponCode", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getUseCouponCode(); } }); attributeSetterBiConsumers.put( "useCouponCode", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object useCouponCodeObject) { commerceDiscount.setUseCouponCode( (Boolean)useCouponCodeObject); } }); attributeGetterFunctions.put( "couponCode", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getCouponCode(); } }); attributeSetterBiConsumers.put( "couponCode", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object couponCodeObject) { commerceDiscount.setCouponCode((String)couponCodeObject); } }); attributeGetterFunctions.put( "usePercentage", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getUsePercentage(); } }); attributeSetterBiConsumers.put( "usePercentage", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object usePercentageObject) { commerceDiscount.setUsePercentage( (Boolean)usePercentageObject); } }); attributeGetterFunctions.put( "maximumDiscountAmount", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getMaximumDiscountAmount(); } }); attributeSetterBiConsumers.put( "maximumDiscountAmount", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object maximumDiscountAmountObject) { commerceDiscount.setMaximumDiscountAmount( (BigDecimal)maximumDiscountAmountObject); } }); attributeGetterFunctions.put( "level", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getLevel(); } }); attributeSetterBiConsumers.put( "level", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object levelObject) { commerceDiscount.setLevel((String)levelObject); } }); attributeGetterFunctions.put( "level1", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getLevel1(); } }); attributeSetterBiConsumers.put( "level1", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object level1Object) { commerceDiscount.setLevel1((BigDecimal)level1Object); } }); attributeGetterFunctions.put( "level2", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getLevel2(); } }); attributeSetterBiConsumers.put( "level2", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object level2Object) { commerceDiscount.setLevel2((BigDecimal)level2Object); } }); attributeGetterFunctions.put( "level3", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getLevel3(); } }); attributeSetterBiConsumers.put( "level3", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object level3Object) { commerceDiscount.setLevel3((BigDecimal)level3Object); } }); attributeGetterFunctions.put( "level4", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getLevel4(); } }); attributeSetterBiConsumers.put( "level4", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object level4Object) { commerceDiscount.setLevel4((BigDecimal)level4Object); } }); attributeGetterFunctions.put( "limitationType", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getLimitationType(); } }); attributeSetterBiConsumers.put( "limitationType", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object limitationTypeObject) { commerceDiscount.setLimitationType( (String)limitationTypeObject); } }); attributeGetterFunctions.put( "limitationTimes", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getLimitationTimes(); } }); attributeSetterBiConsumers.put( "limitationTimes", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object limitationTimesObject) { commerceDiscount.setLimitationTimes( (Integer)limitationTimesObject); } }); attributeGetterFunctions.put( "limitationTimesPerAccount", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getLimitationTimesPerAccount(); } }); attributeSetterBiConsumers.put( "limitationTimesPerAccount", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object limitationTimesPerAccountObject) { commerceDiscount.setLimitationTimesPerAccount( (Integer)limitationTimesPerAccountObject); } }); attributeGetterFunctions.put( "numberOfUse", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getNumberOfUse(); } }); attributeSetterBiConsumers.put( "numberOfUse", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object numberOfUseObject) { commerceDiscount.setNumberOfUse((Integer)numberOfUseObject); } }); attributeGetterFunctions.put( "rulesConjunction", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getRulesConjunction(); } }); attributeSetterBiConsumers.put( "rulesConjunction", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object rulesConjunctionObject) { commerceDiscount.setRulesConjunction( (Boolean)rulesConjunctionObject); } }); attributeGetterFunctions.put( "active", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getActive(); } }); attributeSetterBiConsumers.put( "active", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object activeObject) { commerceDiscount.setActive((Boolean)activeObject); } }); attributeGetterFunctions.put( "displayDate", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getDisplayDate(); } }); attributeSetterBiConsumers.put( "displayDate", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object displayDateObject) { commerceDiscount.setDisplayDate((Date)displayDateObject); } }); attributeGetterFunctions.put( "expirationDate", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getExpirationDate(); } }); attributeSetterBiConsumers.put( "expirationDate", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object expirationDateObject) { commerceDiscount.setExpirationDate( (Date)expirationDateObject); } }); attributeGetterFunctions.put( "lastPublishDate", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getLastPublishDate(); } }); attributeSetterBiConsumers.put( "lastPublishDate", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object lastPublishDateObject) { commerceDiscount.setLastPublishDate( (Date)lastPublishDateObject); } }); attributeGetterFunctions.put( "status", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getStatus(); } }); attributeSetterBiConsumers.put( "status", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object statusObject) { commerceDiscount.setStatus((Integer)statusObject); } }); attributeGetterFunctions.put( "statusByUserId", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getStatusByUserId(); } }); attributeSetterBiConsumers.put( "statusByUserId", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object statusByUserIdObject) { commerceDiscount.setStatusByUserId( (Long)statusByUserIdObject); } }); attributeGetterFunctions.put( "statusByUserName", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getStatusByUserName(); } }); attributeSetterBiConsumers.put( "statusByUserName", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object statusByUserNameObject) { commerceDiscount.setStatusByUserName( (String)statusByUserNameObject); } }); attributeGetterFunctions.put( "statusDate", new Function() { @Override public Object apply(CommerceDiscount commerceDiscount) { return commerceDiscount.getStatusDate(); } }); attributeSetterBiConsumers.put( "statusDate", new BiConsumer() { @Override public void accept( CommerceDiscount commerceDiscount, Object statusDateObject) { commerceDiscount.setStatusDate((Date)statusDateObject); } }); _attributeGetterFunctions = Collections.unmodifiableMap( attributeGetterFunctions); _attributeSetterBiConsumers = Collections.unmodifiableMap( (Map)attributeSetterBiConsumers); } @JSON @Override public String getUuid() { if (_uuid == null) { return ""; } else { return _uuid; } } @Override public void setUuid(String uuid) { _columnBitmask |= UUID_COLUMN_BITMASK; if (_originalUuid == null) { _originalUuid = _uuid; } _uuid = uuid; } public String getOriginalUuid() { return GetterUtil.getString(_originalUuid); } @JSON @Override public String getExternalReferenceCode() { if (_externalReferenceCode == null) { return ""; } else { return _externalReferenceCode; } } @Override public void setExternalReferenceCode(String externalReferenceCode) { _columnBitmask |= EXTERNALREFERENCECODE_COLUMN_BITMASK; if (_originalExternalReferenceCode == null) { _originalExternalReferenceCode = _externalReferenceCode; } _externalReferenceCode = externalReferenceCode; } public String getOriginalExternalReferenceCode() { return GetterUtil.getString(_originalExternalReferenceCode); } @JSON @Override public long getCommerceDiscountId() { return _commerceDiscountId; } @Override public void setCommerceDiscountId(long commerceDiscountId) { _commerceDiscountId = commerceDiscountId; } @JSON @Override public long getCompanyId() { return _companyId; } @Override public void setCompanyId(long companyId) { _columnBitmask |= COMPANYID_COLUMN_BITMASK; if (!_setOriginalCompanyId) { _setOriginalCompanyId = true; _originalCompanyId = _companyId; } _companyId = companyId; } public long getOriginalCompanyId() { return _originalCompanyId; } @JSON @Override public long getUserId() { return _userId; } @Override public void setUserId(long userId) { _userId = userId; } @Override public String getUserUuid() { try { User user = UserLocalServiceUtil.getUserById(getUserId()); return user.getUuid(); } catch (PortalException portalException) { return ""; } } @Override public void setUserUuid(String userUuid) { } @JSON @Override public String getUserName() { if (_userName == null) { return ""; } else { return _userName; } } @Override public void setUserName(String userName) { _userName = userName; } @JSON @Override public Date getCreateDate() { return _createDate; } @Override public void setCreateDate(Date createDate) { _columnBitmask = -1L; _createDate = createDate; } @JSON @Override public Date getModifiedDate() { return _modifiedDate; } public boolean hasSetModifiedDate() { return _setModifiedDate; } @Override public void setModifiedDate(Date modifiedDate) { _setModifiedDate = true; _modifiedDate = modifiedDate; } @JSON @Override public String getTitle() { if (_title == null) { return ""; } else { return _title; } } @Override public void setTitle(String title) { _title = title; } @JSON @Override public String getTarget() { if (_target == null) { return ""; } else { return _target; } } @Override public void setTarget(String target) { _target = target; } @JSON @Override public boolean getUseCouponCode() { return _useCouponCode; } @JSON @Override public boolean isUseCouponCode() { return _useCouponCode; } @Override public void setUseCouponCode(boolean useCouponCode) { _useCouponCode = useCouponCode; } @JSON @Override public String getCouponCode() { if (_couponCode == null) { return ""; } else { return _couponCode; } } @Override public void setCouponCode(String couponCode) { _columnBitmask |= COUPONCODE_COLUMN_BITMASK; if (_originalCouponCode == null) { _originalCouponCode = _couponCode; } _couponCode = couponCode; } public String getOriginalCouponCode() { return GetterUtil.getString(_originalCouponCode); } @JSON @Override public boolean getUsePercentage() { return _usePercentage; } @JSON @Override public boolean isUsePercentage() { return _usePercentage; } @Override public void setUsePercentage(boolean usePercentage) { _usePercentage = usePercentage; } @JSON @Override public BigDecimal getMaximumDiscountAmount() { return _maximumDiscountAmount; } @Override public void setMaximumDiscountAmount(BigDecimal maximumDiscountAmount) { _maximumDiscountAmount = maximumDiscountAmount; } @JSON @Override public String getLevel() { if (_level == null) { return ""; } else { return _level; } } @Override public void setLevel(String level) { _level = level; } @JSON @Override public BigDecimal getLevel1() { return _level1; } @Override public void setLevel1(BigDecimal level1) { _level1 = level1; } @JSON @Override public BigDecimal getLevel2() { return _level2; } @Override public void setLevel2(BigDecimal level2) { _level2 = level2; } @JSON @Override public BigDecimal getLevel3() { return _level3; } @Override public void setLevel3(BigDecimal level3) { _level3 = level3; } @JSON @Override public BigDecimal getLevel4() { return _level4; } @Override public void setLevel4(BigDecimal level4) { _level4 = level4; } @JSON @Override public String getLimitationType() { if (_limitationType == null) { return ""; } else { return _limitationType; } } @Override public void setLimitationType(String limitationType) { _limitationType = limitationType; } @JSON @Override public int getLimitationTimes() { return _limitationTimes; } @Override public void setLimitationTimes(int limitationTimes) { _limitationTimes = limitationTimes; } @JSON @Override public int getLimitationTimesPerAccount() { return _limitationTimesPerAccount; } @Override public void setLimitationTimesPerAccount(int limitationTimesPerAccount) { _limitationTimesPerAccount = limitationTimesPerAccount; } @JSON @Override public int getNumberOfUse() { return _numberOfUse; } @Override public void setNumberOfUse(int numberOfUse) { _numberOfUse = numberOfUse; } @JSON @Override public boolean getRulesConjunction() { return _rulesConjunction; } @JSON @Override public boolean isRulesConjunction() { return _rulesConjunction; } @Override public void setRulesConjunction(boolean rulesConjunction) { _rulesConjunction = rulesConjunction; } @JSON @Override public boolean getActive() { return _active; } @JSON @Override public boolean isActive() { return _active; } @Override public void setActive(boolean active) { _columnBitmask |= ACTIVE_COLUMN_BITMASK; if (!_setOriginalActive) { _setOriginalActive = true; _originalActive = _active; } _active = active; } public boolean getOriginalActive() { return _originalActive; } @JSON @Override public Date getDisplayDate() { return _displayDate; } @Override public void setDisplayDate(Date displayDate) { _columnBitmask |= DISPLAYDATE_COLUMN_BITMASK; if (_originalDisplayDate == null) { _originalDisplayDate = _displayDate; } _displayDate = displayDate; } public Date getOriginalDisplayDate() { return _originalDisplayDate; } @JSON @Override public Date getExpirationDate() { return _expirationDate; } @Override public void setExpirationDate(Date expirationDate) { _columnBitmask |= EXPIRATIONDATE_COLUMN_BITMASK; if (_originalExpirationDate == null) { _originalExpirationDate = _expirationDate; } _expirationDate = expirationDate; } public Date getOriginalExpirationDate() { return _originalExpirationDate; } @JSON @Override public Date getLastPublishDate() { return _lastPublishDate; } @Override public void setLastPublishDate(Date lastPublishDate) { _lastPublishDate = lastPublishDate; } @JSON @Override public int getStatus() { return _status; } @Override public void setStatus(int status) { _columnBitmask |= STATUS_COLUMN_BITMASK; if (!_setOriginalStatus) { _setOriginalStatus = true; _originalStatus = _status; } _status = status; } public int getOriginalStatus() { return _originalStatus; } @JSON @Override public long getStatusByUserId() { return _statusByUserId; } @Override public void setStatusByUserId(long statusByUserId) { _statusByUserId = statusByUserId; } @Override public String getStatusByUserUuid() { try { User user = UserLocalServiceUtil.getUserById(getStatusByUserId()); return user.getUuid(); } catch (PortalException portalException) { return ""; } } @Override public void setStatusByUserUuid(String statusByUserUuid) { } @JSON @Override public String getStatusByUserName() { if (_statusByUserName == null) { return ""; } else { return _statusByUserName; } } @Override public void setStatusByUserName(String statusByUserName) { _statusByUserName = statusByUserName; } @JSON @Override public Date getStatusDate() { return _statusDate; } @Override public void setStatusDate(Date statusDate) { _statusDate = statusDate; } @Override public StagedModelType getStagedModelType() { return new StagedModelType( PortalUtil.getClassNameId(CommerceDiscount.class.getName())); } @Override public boolean isApproved() { if (getStatus() == WorkflowConstants.STATUS_APPROVED) { return true; } else { return false; } } @Override public boolean isDenied() { if (getStatus() == WorkflowConstants.STATUS_DENIED) { return true; } else { return false; } } @Override public boolean isDraft() { if (getStatus() == WorkflowConstants.STATUS_DRAFT) { return true; } else { return false; } } @Override public boolean isExpired() { if (getStatus() == WorkflowConstants.STATUS_EXPIRED) { return true; } else { return false; } } @Override public boolean isInactive() { if (getStatus() == WorkflowConstants.STATUS_INACTIVE) { return true; } else { return false; } } @Override public boolean isIncomplete() { if (getStatus() == WorkflowConstants.STATUS_INCOMPLETE) { return true; } else { return false; } } @Override public boolean isPending() { if (getStatus() == WorkflowConstants.STATUS_PENDING) { return true; } else { return false; } } @Override public boolean isScheduled() { if (getStatus() == WorkflowConstants.STATUS_SCHEDULED) { return true; } else { return false; } } public long getColumnBitmask() { return _columnBitmask; } @Override public ExpandoBridge getExpandoBridge() { return ExpandoBridgeFactoryUtil.getExpandoBridge( getCompanyId(), CommerceDiscount.class.getName(), getPrimaryKey()); } @Override public void setExpandoBridgeAttributes(ServiceContext serviceContext) { ExpandoBridge expandoBridge = getExpandoBridge(); expandoBridge.setAttributes(serviceContext); } @Override public CommerceDiscount toEscapedModel() { if (_escapedModel == null) { Function escapedModelProxyProviderFunction = EscapedModelProxyProviderFunctionHolder. _escapedModelProxyProviderFunction; _escapedModel = escapedModelProxyProviderFunction.apply( new AutoEscapeBeanHandler(this)); } return _escapedModel; } @Override public Object clone() { CommerceDiscountImpl commerceDiscountImpl = new CommerceDiscountImpl(); commerceDiscountImpl.setUuid(getUuid()); commerceDiscountImpl.setExternalReferenceCode( getExternalReferenceCode()); commerceDiscountImpl.setCommerceDiscountId(getCommerceDiscountId()); commerceDiscountImpl.setCompanyId(getCompanyId()); commerceDiscountImpl.setUserId(getUserId()); commerceDiscountImpl.setUserName(getUserName()); commerceDiscountImpl.setCreateDate(getCreateDate()); commerceDiscountImpl.setModifiedDate(getModifiedDate()); commerceDiscountImpl.setTitle(getTitle()); commerceDiscountImpl.setTarget(getTarget()); commerceDiscountImpl.setUseCouponCode(isUseCouponCode()); commerceDiscountImpl.setCouponCode(getCouponCode()); commerceDiscountImpl.setUsePercentage(isUsePercentage()); commerceDiscountImpl.setMaximumDiscountAmount( getMaximumDiscountAmount()); commerceDiscountImpl.setLevel(getLevel()); commerceDiscountImpl.setLevel1(getLevel1()); commerceDiscountImpl.setLevel2(getLevel2()); commerceDiscountImpl.setLevel3(getLevel3()); commerceDiscountImpl.setLevel4(getLevel4()); commerceDiscountImpl.setLimitationType(getLimitationType()); commerceDiscountImpl.setLimitationTimes(getLimitationTimes()); commerceDiscountImpl.setLimitationTimesPerAccount( getLimitationTimesPerAccount()); commerceDiscountImpl.setNumberOfUse(getNumberOfUse()); commerceDiscountImpl.setRulesConjunction(isRulesConjunction()); commerceDiscountImpl.setActive(isActive()); commerceDiscountImpl.setDisplayDate(getDisplayDate()); commerceDiscountImpl.setExpirationDate(getExpirationDate()); commerceDiscountImpl.setLastPublishDate(getLastPublishDate()); commerceDiscountImpl.setStatus(getStatus()); commerceDiscountImpl.setStatusByUserId(getStatusByUserId()); commerceDiscountImpl.setStatusByUserName(getStatusByUserName()); commerceDiscountImpl.setStatusDate(getStatusDate()); commerceDiscountImpl.resetOriginalValues(); return commerceDiscountImpl; } @Override public int compareTo(CommerceDiscount commerceDiscount) { int value = 0; value = DateUtil.compareTo( getCreateDate(), commerceDiscount.getCreateDate()); value = value * -1; if (value != 0) { return value; } return 0; } @Override public boolean equals(Object object) { if (this == object) { return true; } if (!(object instanceof CommerceDiscount)) { return false; } CommerceDiscount commerceDiscount = (CommerceDiscount)object; long primaryKey = commerceDiscount.getPrimaryKey(); if (getPrimaryKey() == primaryKey) { return true; } else { return false; } } @Override public int hashCode() { return (int)getPrimaryKey(); } @Override public boolean isEntityCacheEnabled() { return ENTITY_CACHE_ENABLED; } @Override public boolean isFinderCacheEnabled() { return FINDER_CACHE_ENABLED; } @Override public void resetOriginalValues() { CommerceDiscountModelImpl commerceDiscountModelImpl = this; commerceDiscountModelImpl._originalUuid = commerceDiscountModelImpl._uuid; commerceDiscountModelImpl._originalExternalReferenceCode = commerceDiscountModelImpl._externalReferenceCode; commerceDiscountModelImpl._originalCompanyId = commerceDiscountModelImpl._companyId; commerceDiscountModelImpl._setOriginalCompanyId = false; commerceDiscountModelImpl._setModifiedDate = false; commerceDiscountModelImpl._originalCouponCode = commerceDiscountModelImpl._couponCode; commerceDiscountModelImpl._originalActive = commerceDiscountModelImpl._active; commerceDiscountModelImpl._setOriginalActive = false; commerceDiscountModelImpl._originalDisplayDate = commerceDiscountModelImpl._displayDate; commerceDiscountModelImpl._originalExpirationDate = commerceDiscountModelImpl._expirationDate; commerceDiscountModelImpl._originalStatus = commerceDiscountModelImpl._status; commerceDiscountModelImpl._setOriginalStatus = false; commerceDiscountModelImpl._columnBitmask = 0; } @Override public CacheModel toCacheModel() { CommerceDiscountCacheModel commerceDiscountCacheModel = new CommerceDiscountCacheModel(); commerceDiscountCacheModel.uuid = getUuid(); String uuid = commerceDiscountCacheModel.uuid; if ((uuid != null) && (uuid.length() == 0)) { commerceDiscountCacheModel.uuid = null; } commerceDiscountCacheModel.externalReferenceCode = getExternalReferenceCode(); String externalReferenceCode = commerceDiscountCacheModel.externalReferenceCode; if ((externalReferenceCode != null) && (externalReferenceCode.length() == 0)) { commerceDiscountCacheModel.externalReferenceCode = null; } commerceDiscountCacheModel.commerceDiscountId = getCommerceDiscountId(); commerceDiscountCacheModel.companyId = getCompanyId(); commerceDiscountCacheModel.userId = getUserId(); commerceDiscountCacheModel.userName = getUserName(); String userName = commerceDiscountCacheModel.userName; if ((userName != null) && (userName.length() == 0)) { commerceDiscountCacheModel.userName = null; } Date createDate = getCreateDate(); if (createDate != null) { commerceDiscountCacheModel.createDate = createDate.getTime(); } else { commerceDiscountCacheModel.createDate = Long.MIN_VALUE; } Date modifiedDate = getModifiedDate(); if (modifiedDate != null) { commerceDiscountCacheModel.modifiedDate = modifiedDate.getTime(); } else { commerceDiscountCacheModel.modifiedDate = Long.MIN_VALUE; } commerceDiscountCacheModel.title = getTitle(); String title = commerceDiscountCacheModel.title; if ((title != null) && (title.length() == 0)) { commerceDiscountCacheModel.title = null; } commerceDiscountCacheModel.target = getTarget(); String target = commerceDiscountCacheModel.target; if ((target != null) && (target.length() == 0)) { commerceDiscountCacheModel.target = null; } commerceDiscountCacheModel.useCouponCode = isUseCouponCode(); commerceDiscountCacheModel.couponCode = getCouponCode(); String couponCode = commerceDiscountCacheModel.couponCode; if ((couponCode != null) && (couponCode.length() == 0)) { commerceDiscountCacheModel.couponCode = null; } commerceDiscountCacheModel.usePercentage = isUsePercentage(); commerceDiscountCacheModel.maximumDiscountAmount = getMaximumDiscountAmount(); commerceDiscountCacheModel.level = getLevel(); String level = commerceDiscountCacheModel.level; if ((level != null) && (level.length() == 0)) { commerceDiscountCacheModel.level = null; } commerceDiscountCacheModel.level1 = getLevel1(); commerceDiscountCacheModel.level2 = getLevel2(); commerceDiscountCacheModel.level3 = getLevel3(); commerceDiscountCacheModel.level4 = getLevel4(); commerceDiscountCacheModel.limitationType = getLimitationType(); String limitationType = commerceDiscountCacheModel.limitationType; if ((limitationType != null) && (limitationType.length() == 0)) { commerceDiscountCacheModel.limitationType = null; } commerceDiscountCacheModel.limitationTimes = getLimitationTimes(); commerceDiscountCacheModel.limitationTimesPerAccount = getLimitationTimesPerAccount(); commerceDiscountCacheModel.numberOfUse = getNumberOfUse(); commerceDiscountCacheModel.rulesConjunction = isRulesConjunction(); commerceDiscountCacheModel.active = isActive(); Date displayDate = getDisplayDate(); if (displayDate != null) { commerceDiscountCacheModel.displayDate = displayDate.getTime(); } else { commerceDiscountCacheModel.displayDate = Long.MIN_VALUE; } Date expirationDate = getExpirationDate(); if (expirationDate != null) { commerceDiscountCacheModel.expirationDate = expirationDate.getTime(); } else { commerceDiscountCacheModel.expirationDate = Long.MIN_VALUE; } Date lastPublishDate = getLastPublishDate(); if (lastPublishDate != null) { commerceDiscountCacheModel.lastPublishDate = lastPublishDate.getTime(); } else { commerceDiscountCacheModel.lastPublishDate = Long.MIN_VALUE; } commerceDiscountCacheModel.status = getStatus(); commerceDiscountCacheModel.statusByUserId = getStatusByUserId(); commerceDiscountCacheModel.statusByUserName = getStatusByUserName(); String statusByUserName = commerceDiscountCacheModel.statusByUserName; if ((statusByUserName != null) && (statusByUserName.length() == 0)) { commerceDiscountCacheModel.statusByUserName = null; } Date statusDate = getStatusDate(); if (statusDate != null) { commerceDiscountCacheModel.statusDate = statusDate.getTime(); } else { commerceDiscountCacheModel.statusDate = Long.MIN_VALUE; } return commerceDiscountCacheModel; } @Override public String toString() { Map> attributeGetterFunctions = getAttributeGetterFunctions(); StringBundler sb = new StringBundler( 4 * attributeGetterFunctions.size() + 2); sb.append("{"); for (Map.Entry> entry : attributeGetterFunctions.entrySet()) { String attributeName = entry.getKey(); Function attributeGetterFunction = entry.getValue(); sb.append(attributeName); sb.append("="); sb.append(attributeGetterFunction.apply((CommerceDiscount)this)); sb.append(", "); } if (sb.index() > 1) { sb.setIndex(sb.index() - 1); } sb.append("}"); return sb.toString(); } @Override public String toXmlString() { Map> attributeGetterFunctions = getAttributeGetterFunctions(); StringBundler sb = new StringBundler( 5 * attributeGetterFunctions.size() + 4); sb.append(""); sb.append(getModelClassName()); sb.append(""); for (Map.Entry> entry : attributeGetterFunctions.entrySet()) { String attributeName = entry.getKey(); Function attributeGetterFunction = entry.getValue(); sb.append(""); sb.append(attributeName); sb.append(""); } sb.append(""); return sb.toString(); } private static class EscapedModelProxyProviderFunctionHolder { private static final Function _escapedModelProxyProviderFunction = _getProxyProviderFunction(); } private String _uuid; private String _originalUuid; private String _externalReferenceCode; private String _originalExternalReferenceCode; private long _commerceDiscountId; private long _companyId; private long _originalCompanyId; private boolean _setOriginalCompanyId; private long _userId; private String _userName; private Date _createDate; private Date _modifiedDate; private boolean _setModifiedDate; private String _title; private String _target; private boolean _useCouponCode; private String _couponCode; private String _originalCouponCode; private boolean _usePercentage; private BigDecimal _maximumDiscountAmount; private String _level; private BigDecimal _level1; private BigDecimal _level2; private BigDecimal _level3; private BigDecimal _level4; private String _limitationType; private int _limitationTimes; private int _limitationTimesPerAccount; private int _numberOfUse; private boolean _rulesConjunction; private boolean _active; private boolean _originalActive; private boolean _setOriginalActive; private Date _displayDate; private Date _originalDisplayDate; private Date _expirationDate; private Date _originalExpirationDate; private Date _lastPublishDate; private int _status; private int _originalStatus; private boolean _setOriginalStatus; private long _statusByUserId; private String _statusByUserName; private Date _statusDate; private long _columnBitmask; private CommerceDiscount _escapedModel; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy