⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 channelcontent.java

📁 shopping home JSP system
💻 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:   ChannelContent.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.content.bo.ContentCategoryBO;
import com.keyshop.shop.content.model.ContentCategory;

// Referenced classes of package com.keyshop.shop.channel.model:
//            AdContent, ChannelJspModelConfig

public class ChannelContent extends PubBean
{

    String channelId;
    String concategoryId;
    String configId;
    String navText;
    int position;
    int rows;
    boolean display;
    String pageSearchKey;
    String navImage;
    String contentAdId;
    AdContent contentAd;
    ContentCategory concategory;
    ChannelJspModelConfig config;

    public ChannelContent()
    {
        channelId = "";
        concategoryId = "";
        configId = "";
        navText = "";
        position = 0;
        rows = 20;
        display = true;
        pageSearchKey = "";
        navImage = "";
        contentAdId = "";
        contentAd = null;
        concategory = null;
        config = null;
    }

    public void clear()
    {
        channelId = "";
        concategoryId = "";
        configId = "";
        navText = "";
        position = 0;
        display = true;
        pageSearchKey = "";
        navImage = "";
        concategory = null;
        config = null;
    }

    public ChannelContent copy()
    {
        ChannelContent copyCc = new ChannelContent();
        copyCc.setChannelId(channelId);
        copyCc.setConcategoryId(concategoryId);
        copyCc.setConfigId(configId);
        copyCc.setNavText(navText);
        copyCc.setPosition(position);
        copyCc.setDisplay(display);
        copyCc.setPageSearchKey(pageSearchKey);
        copyCc.setNavImage(navImage);
        copyCc.concategory = concategory;
        copyCc.config = config;
        copyCc.setContentAdId(contentAdId);
        return copyCc;
    }

    public ContentCategory getConcategory()
    {
        if(StringUtil.isEmpty(concategoryId))
        {
            concategory = null;
            return null;
        }
        if(concategory != null)
            return concategory;
        try
        {
            ContentCategoryBO bo = new ContentCategoryBO();
            concategory = (ContentCategory)bo.get(concategoryId);
            return concategory;
        }
        catch(Exception ex)
        {
            ex.printStackTrace();
        }
        return concategory;
    }

    public String getConcategoryId()
    {
        return concategoryId;
    }

    public String getChannelId()
    {
        return channelId;
    }

    public boolean isDisplay()
    {
        return display;
    }

    public String getConfigId()
    {
        return configId;
    }

    public String getNavImage()
    {
        return navImage;
    }

    public String getNavText()
    {
        return navText;
    }

    public String getPageSearchKey()
    {
        return pageSearchKey;
    }

    public int getPosition()
    {
        return position;
    }

    public void setPosition(int position)
    {
        this.position = position;
    }

    public void setPageSearchKey(String pageSearchKey)
    {
        this.pageSearchKey = pageSearchKey;
    }

    public void setNavText(String navText)
    {
        this.navText = navText;
    }

    public void setNavImage(String navImage)
    {
        this.navImage = navImage;
    }

    public void setDisplay(boolean display)
    {
        this.display = display;
    }

    public void setConfigId(String configId)
    {
        this.configId = configId;
    }

    public void setConfig(ChannelJspModelConfig config)
    {
        this.config = config;
    }

    public void setConcategoryId(String concategoryId)
    {
        this.concategoryId = concategoryId;
    }

    public void setConcategory(ContentCategory concategory)
    {
        this.concategory = concategory;
    }

    public void setChannelId(String channelId)
    {
        this.channelId = channelId;
    }

    public AdContent getContentAd()
    {
        if(StringUtil.isEmpty(contentAdId))
        {
            contentAd = null;
            return null;
        }
        if(contentAd != null)
            return contentAd;
        try
        {
            AdContentBO bo = new AdContentBO();
            contentAd = (AdContent)bo.get(contentAdId);
            return contentAd;
        }
        catch(Exception ex)
        {
            ex.printStackTrace();
        }
        return contentAd;
    }

    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 getRows()
    {
        return rows;
    }

    public void setRows(int rows)
    {
        this.rows = rows;
    }

    public String getContentAdId()
    {
        return contentAdId;
    }

    public void setContentAdId(String contentAdId)
    {
        this.contentAdId = contentAdId;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -