com.seeyon.ctp.portal.section
类 BannerSection

java.lang.Object
  继承者 com.seeyon.ctp.portal.section.BaseSectionImpl
      继承者 com.seeyon.ctp.portal.section.BannerSection
所有已实现的接口:
BaseSection, java.lang.Comparable<com.seeyon.ctp.portal.section.BaseSectionImpl>

public class BannerSection
extends com.seeyon.ctp.portal.section.BaseSectionImpl

横幅栏目


构造方法摘要
BannerSection()
           
 
方法摘要
 java.lang.String getBaseName()
           
 java.lang.String getHTML(java.lang.String entityId, java.lang.String ordinal, java.lang.String spaceType, java.lang.String ownerId, java.lang.Long spaceId)
           
 java.lang.String getIcon()
          栏目图标,统一放在 /apps_res/v3xmain/images/section下
 java.lang.String getId()
          栏目的唯一标示,同时也是Spring Bean定义的Id, 如: ***-manager.xml <bean id="pendingSection" class="com.seeyon.v3x.main.section.PendingSection"> <property name="id" ref="pendingSection" /> </bean> 特别提示:该值作为栏目的标示将会写到数据库中去,故: 1、不要随意变化 2、要唯一 3、必须由数字、字母、下划线构成
 java.lang.String getName(java.util.Map<java.lang.String,java.lang.String> preference)
          栏目名称,需要国际化,直接通过国际化key获取值输出,
 java.lang.Integer getTotal(java.util.Map<java.lang.String,java.lang.String> preference)
          总数,如果不需要显示总数,就返回null
 com.seeyon.ctp.portal.section.templete.BaseSectionTemplete projection(java.util.Map<java.lang.String,java.lang.String> preference)
          在这里发射数据
 
从类 com.seeyon.ctp.portal.section.BaseSectionImpl 继承的方法
compareTo, doGetBaseName, doGetName, doGetTotal, doGetTotalUnit, doProjection, equals, getBaseName, getDelay, getPortletEntityPropertyManager, getPrefenerce, getProperties, getResourceBundle, getSectionCategory, getSectionTypes, getSortId, getSpaceTypes, getTotalUnit, hashCode, hasParam, init, isAllowedNarrow, isAllowUsed, isAllowUsed, isAllowUsed, isAllowUserUsed, isFilterOut, isNarrow, isNarrow, isReadOnly, isRegistrer, setAllowedNarrow, setDelay, setIsFilterOut, setIsRegistrer, setPortletEntityPropertyManager, setProperties, setResourceBundle, setSectionCategory, setSectionType, setSortId, setSpaceTypes
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

BannerSection

public BannerSection()
方法详细信息

getIcon

public java.lang.String getIcon()
从类 com.seeyon.ctp.portal.section.BaseSectionImpl 复制的描述
栏目图标,统一放在 /apps_res/v3xmain/images/section下

指定者:
接口 BaseSection 中的 getIcon
指定者:
com.seeyon.ctp.portal.section.BaseSectionImpl 中的 getIcon
返回:
如 /apps_res/v3xmain/images/section/pending.col.gif

getId

public java.lang.String getId()
从类 com.seeyon.ctp.portal.section.BaseSectionImpl 复制的描述
栏目的唯一标示,同时也是Spring Bean定义的Id, 如:
 
 ***-manager.xml
   
 <bean id="pendingSection" class="com.seeyon.v3x.main.section.PendingSection">
   <property name="id" ref="pendingSection" />
 </bean>
 
 
 特别提示:该值作为栏目的标示将会写到数据库中去,故:
 1、不要随意变化
 2、要唯一
 3、必须由数字、字母、下划线构成
 

指定者:
接口 BaseSection 中的 getId
指定者:
com.seeyon.ctp.portal.section.BaseSectionImpl 中的 getId
返回:
直接返回一个有字符+数字组成的字符串,如:pendingSection

getBaseName

public java.lang.String getBaseName()
覆盖:
com.seeyon.ctp.portal.section.BaseSectionImpl 中的 getBaseName

getName

public java.lang.String getName(java.util.Map<java.lang.String,java.lang.String> preference)
从类 com.seeyon.ctp.portal.section.BaseSectionImpl 复制的描述
栏目名称,需要国际化,直接通过国际化key获取值输出,

指定者:
接口 BaseSection 中的 getName
指定者:
com.seeyon.ctp.portal.section.BaseSectionImpl 中的 getName
参数:
preference - Portlet实例的配置参数
返回:

getTotal

public java.lang.Integer getTotal(java.util.Map<java.lang.String,java.lang.String> preference)
从类 com.seeyon.ctp.portal.section.BaseSectionImpl 复制的描述
总数,如果不需要显示总数,就返回null

指定者:
接口 BaseSection 中的 getTotal
指定者:
com.seeyon.ctp.portal.section.BaseSectionImpl 中的 getTotal
参数:
preference - Portlet实例的配置参数
返回:

projection

public com.seeyon.ctp.portal.section.templete.BaseSectionTemplete projection(java.util.Map<java.lang.String,java.lang.String> preference)
从类 com.seeyon.ctp.portal.section.BaseSectionImpl 复制的描述
在这里发射数据

指定者:
接口 BaseSection 中的 projection
指定者:
com.seeyon.ctp.portal.section.BaseSectionImpl 中的 projection
参数:
preference - Portlet实例的配置参数
返回:

getHTML

public java.lang.String getHTML(java.lang.String entityId,
                                java.lang.String ordinal,
                                java.lang.String spaceType,
                                java.lang.String ownerId,
                                java.lang.Long spaceId)
指定者:
接口 BaseSection 中的 getHTML
覆盖:
com.seeyon.ctp.portal.section.BaseSectionImpl 中的 getHTML