📄 channelproductcategory.java
字号:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name: ChannelProductCategory.java
package com.keyshop.shop.channel.model;
import com.keyshop.pub.model.PubBean;
import com.keyshop.pub.util.StringUtil;
import com.keyshop.shop.channel.bo.AdContentBO;
import com.keyshop.shop.channel.bo.ChannelJspModelConfigBO;
import com.keyshop.shop.product.bo.ProductBO;
import com.keyshop.shop.product.bo.ProductCategoryBO;
import com.keyshop.shop.product.model.Product;
import com.keyshop.shop.product.model.ProductCategory;
// Referenced classes of package com.keyshop.shop.channel.model:
// ChannelJspModelConfig, AdContent
public class ChannelProductCategory extends PubBean
{
boolean display;
String channelId;
String categoryId;
String configId;
String categoryName;
String navImage;
String navText;
public ChannelProductCategory copy()
{
ChannelProductCategory copyPc = new ChannelProductCategory();
copyPc.setDisplay(display);
copyPc.setChannelId(channelId);
copyPc.setCategoryId(categoryId);
copyPc.setConfigId(configId);
copyPc.setCategoryName(categoryName);
copyPc.setNavImage(navImage);
copyPc.setNavText(navText);
copyPc.setPopProduct(getPopProduct());
copyPc.setRows(rows);
copyPc.setPageSearchKey(pageSearchKey);
copyPc.setPosition(position);
copyPc.pc = pc;
copyPc.config = config;
copyPc.setProductAdId(productAdId);
copyPc.setTextAdId(textAdId);
copyPc.popProductObject = popProductObject;
return copyPc;
}
public String getCategoryId()
{
return categoryId;
}
public void setNavImage(String navImage)
{
this.navImage = navImage;
}
public void setChannelId(String channelId)
{
this.channelId = channelId;
}
public String getConfigId()
{
return configId;
}
public void setConfigId(String configId)
{
this.configId = configId;
}
public ChannelJspModelConfig getConfig()
{
if(StringUtil.isEmpty(configId))
{
config = null;
return null;
}
if(config != null)
return config;
try
{
ChannelJspModelConfigBO bo = new ChannelJspModelConfigBO();
config = (ChannelJspModelConfig)bo.get(configId);
return config;
}
catch(Exception ex)
{
ex.printStackTrace();
}
return config;
}
public int getPosition()
{
return position;
}
public void setPosition(int position)
{
this.position = position;
}
public boolean isDisplay()
{
return display;
}
public void setDisplay(boolean display)
{
this.display = display;
}
public Product getPopProductObject()
{
if(StringUtil.isEmpty(popProduct))
{
popProductObject = null;
return null;
}
try
{
ProductBO bo = new ProductBO();
popProductObject = (Product)bo.get(popProduct);
return popProductObject;
}
catch(Exception ex)
{
ex.printStackTrace();
}
return popProductObject;
}
public AdContent getTextAd()
{
if(StringUtil.isEmpty(textAdId))
{
textAd = null;
return null;
}
if(textAd != null)
return textAd;
try
{
AdContentBO bo = new AdContentBO();
textAd = (AdContent)bo.get(textAdId);
return textAd;
}
catch(Exception ex)
{
ex.printStackTrace();
}
return textAd;
}
public AdContent getProductAd()
{
if(StringUtil.isEmpty(productAdId))
{
producAd = null;
return null;
}
if(producAd != null)
return producAd;
try
{
AdContentBO bo = new AdContentBO();
producAd = (AdContent)bo.get(productAdId);
return producAd;
}
catch(Exception ex)
{
ex.printStackTrace();
}
return producAd;
}
public String getProductAdId()
{
return productAdId;
}
public void setProductAdId(String productAdId)
{
this.productAdId = productAdId;
}
public String getTextAdId()
{
return textAdId;
}
public void setTextAdId(String textAdId)
{
this.textAdId = textAdId;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -