public abstract class PagineContextImpl extends BaseContextImpl implements PagineContext
Title: PagineContext
Description:
Copyright: Copyright (c) 2006
Company: bbossgroups
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
currentPageNumber |
protected int |
maxPageItems
每页最大记录数
|
protected long |
offset |
protected long |
totalSize |
autoCorrectHtml, charset, clearFileCache, contentLinkTable, contentOrigineTemplateLinkTable, currentPublishDepth, dataloader, dbName, distributeManners, domain, dynamicPageLinkTable, enablePublishStatus, enableRecursive, fileExt, fileName, FTPConfig, indexObjects, jspFileName, local2ndRemote, localPublishDestination, maxPublishDepth, mimeType, monitor, needRecordRefObject, parentContext, previewContextPath, properties, publisher, publishMode, publishObject, publishPath, publishScope, recursivePubObjects, refObjects, rendRootPath, rootContext, site, siteDir, siteID, sitePreviewContextPath, sitePreviewRootPath, sitePublishContext, sitePublishRootPath, staticPageLinkTable, tempFileName, templateLinkTable, tempPublishUID, testdetailTemplate, testindexTemplate, testoutLineTemplate| 构造器和说明 |
|---|
PagineContextImpl() |
PagineContextImpl(java.lang.String siteid,
Context parentContext,
PublishObject publishObject,
PublishMonitor monitor) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getCurrentPageName()
获取当前页面的名称,发布概览分页时使用
|
int |
getCurrentPageNumber()
获取当前的页码currentPageNumber
|
java.lang.String |
getCurrentPagePath() |
java.lang.String |
getDataType()
获取数据类获取类型
|
java.lang.String |
getFileName() |
int |
getMaxPageItems()
获取每页可展示的分页记录数
|
long |
getNextOffset() |
long |
getOffset()
获取当前的记录起点
|
java.lang.String |
getPagePath()
获取对应页面的地址的前面一部分 如:content_34279.html
|
java.lang.String |
getPagePath(int pageNumber)
获取对应页面的地址 如:content_34279_1.html
|
com.frameworkset.common.tag.pager.tags.PagerContext |
getPagerContext()
获取分页上下文
|
java.lang.String |
getPaginJumpPath()
获取分页页面跳转地址
|
int |
getTotalPages()
获取总页数
|
long |
getTotalSize()
获取频道概览的总记录数
|
boolean |
isPagintion()
判断是否需要分页处理数据
|
boolean |
isPublishAllPage()
判断所有的页面是否发布完成
|
void |
next()
自动翻到下一页
|
void |
setCurrentPageNumber(int currentPageNumber)
设置当前页码
|
void |
setDataType(java.lang.String dataType)
设置数据类类型
|
void |
setMaxPageItems(int maxPageItems)
设置每页显示的最大记录数
|
void |
setOffset(long offset)
设置每页获取数据的记录起点
|
void |
setPagerContext(com.frameworkset.common.tag.pager.tags.PagerContext pagerContext)
设置分页上下文
|
void |
setPagintion(boolean pagintion)
设置当前页面是否是分页页面
|
void |
setTotalSize(long totalSize)
设置总的记录数
|
addContentOrigineTemplateLinkTable, addDynamicTemplateLink, addIndexObject, addLink, addPubObjectReference, addRecursivePubObjToContext, addRefObject, addRefObjects, addStaticTemplateLink, addTemplateLink, autoCorrectHtml, destroy, enableRecursive, forcepublishLinks, forceStatusPublished, getAbsoluteImagesPath, getAbsoluteImagesRootPath, getAbsoluteProjectPath, getAbsoluteProjectRootPath, getAbsoluteRendPath, getAbsoluteRendRootPath, getAbsoluteStylePath, getAbsoluteStyleRootPath, getAbsoluteTemplatePath, getAbsoluteTemplateRootPath, getActionType, getCharset, getCMSContextPath, getCMSDetailDataLoader, getContentLinkTable, getContentOrigineTemplateLinkTable, getCurrentPublishDepth, getDBName, getDistributeManners, getDomain, getDriverConfiguration, getDynamicPageLinkTable, getEnabledDistributes, getEnablePublishStatus, getFileExt, getFTPConfig, getID, getImagesRootPath, getIndexObjects, getJspFileName, getLocal2ndRemote, getLocalPublishDestination, getMaxPublishDepth, getMimeType, getParentContext, getPreviewContextPath, getPreviewPageUrl, getPreviewRootPath, getProjectRootPath, getProperties, getProperty, getPublishAbsolutePath, getPublishedPageUrl, getPublisher, getPublishMode, getPublishMode, getPublishMonitor, getPublishObject, getPublishPath, getPublishRootPath, getPublishScope, getPublishTemppath, getRealImagesPath, getRealProjectPath, getRealProjectRootPath, getRealRendPath, getRealStylePath, getRealTemplatePath, getRealTemplateRootPath, getRecursivePubObjects, getRefObjects, getRendPath, getRendRootPath, getRendURI, getRequestContext, getRootContext, getSite, getSiteDir, getSiteDistributeDestinations, getSiteID, getSitePublishContext, getSitePublishTemppath, getStaticPageLinkTable, getStyleRootPath, getTempFileName, getTemplateLinkTable, getTemplateRootPath, getTempPublishUID, getWebProjectRootPath, getWebSiteRootPath, getWebTemplateRootPath, isClearFileCache, isRecursive, isRootContext, main, needRecordRefObject, recordRecursivePubObj, recordSiteDistributeDestination, removeRecursivePubObject, setAutoCorrectHtml, setClearFileCache, setCMSDetailDataLoader, setCurrentPublishDepth, setEnableRecursive, setMaxPublishDepth, setNeedRecordRefObject, setParentContext, setProperty, setPublisher, setPublishObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddContentOrigineTemplateLinkTable, addDynamicTemplateLink, addIndexObject, addLink, addPubObjectReference, addRecursivePubObjToContext, addRefObject, addRefObjects, addStaticTemplateLink, addTemplateLink, autoCorrectHtml, destroy, enableRecursive, forcepublishLinks, forceStatusPublished, getAbsoluteImagesPath, getAbsoluteImagesRootPath, getAbsoluteProjectPath, getAbsoluteProjectRootPath, getAbsoluteRendPath, getAbsoluteRendRootPath, getAbsoluteStylePath, getAbsoluteStyleRootPath, getAbsoluteTemplatePath, getAbsoluteTemplateRootPath, getActionType, getCharset, getCMSDetailDataLoader, getContentLinkTable, getContentOrigineTemplateLinkTable, getCurrentPublishDepth, getDBName, getDistributeManners, getDomain, getDriverConfiguration, getDynamicPageLinkTable, getEnabledDistributes, getFileExt, getFTPConfig, getID, getIndexObjects, getJspFileName, getLocal2ndRemote, getLocalPublishDestination, getMaxPublishDepth, getMimeType, getParentContext, getPreviewContextPath, getPreviewPageUrl, getPreviewRootPath, getProperties, getProperty, getPublishAbsolutePath, getPublishedPageUrl, getPublisher, getPublishMode, getPublishMode, getPublishMonitor, getPublishObject, getPublishPath, getPublishRootPath, getPublishScope, getPublishTemppath, getRealImagesPath, getRealProjectPath, getRealProjectRootPath, getRealRendPath, getRealStylePath, getRealTemplatePath, getRealTemplateRootPath, getRecursivePubObjects, getRefObjects, getRendPath, getRendURI, getRequestContext, getRootContext, getSite, getSiteDir, getSiteDistributeDestinations, getSiteID, getSitePublishContext, getSitePublishTemppath, getStaticPageLinkTable, getTempFileName, getTemplateLinkTable, getTempPublishUID, isClearFileCache, isRecursive, isRootContext, needRecordRefObject, recordRecursivePubObj, recordSiteDistributeDestination, removeRecursivePubObject, setClearFileCache, setCMSDetailDataLoader, setCurrentPublishDepth, setEnableRecursive, setMaxPublishDepth, setNeedRecordRefObject, setPropertyprotected long totalSize
protected int currentPageNumber
protected long offset
protected int maxPageItems
public PagineContextImpl()
public PagineContextImpl(java.lang.String siteid,
Context parentContext,
PublishObject publishObject,
PublishMonitor monitor)
public void setPagintion(boolean pagintion)
PagineContextsetPagintion 在接口中 PagineContextpublic boolean isPagintion()
isPagintion 在接口中 PagineContextpublic long getTotalSize()
getTotalSize 在接口中 PagineContextpublic int getCurrentPageNumber()
getCurrentPageNumber 在接口中 PagineContextpublic long getOffset()
getOffset 在接口中 PagineContextpublic int getMaxPageItems()
getMaxPageItems 在接口中 PagineContextpublic com.frameworkset.common.tag.pager.tags.PagerContext getPagerContext()
PagineContextgetPagerContext 在接口中 PagineContextpublic void setPagerContext(com.frameworkset.common.tag.pager.tags.PagerContext pagerContext)
PagineContextsetPagerContext 在接口中 PagineContextpublic void setCurrentPageNumber(int currentPageNumber)
PagineContextsetCurrentPageNumber 在接口中 PagineContextpublic void setMaxPageItems(int maxPageItems)
PagineContextsetMaxPageItems 在接口中 PagineContextpublic void setOffset(long offset)
PagineContextsetOffset 在接口中 PagineContextpublic void setTotalSize(long totalSize)
PagineContextsetTotalSize 在接口中 PagineContextpublic java.lang.String getDataType()
PagineContextgetDataType 在接口中 PagineContextpublic void setDataType(java.lang.String dataType)
PagineContextsetDataType 在接口中 PagineContextpublic long getNextOffset()
getNextOffset 在接口中 PagineContextpublic void next()
PagineContextnext 在接口中 PagineContextpublic int getTotalPages()
getTotalPages 在接口中 PagineContextpublic java.lang.String getCurrentPageName()
public java.lang.String getPagePath(int pageNumber)
getPagePath 在接口中 PagineContextpageNumber - public java.lang.String getPaginJumpPath()
getPaginJumpPath 在接口中 PagineContextpublic java.lang.String getPagePath()
getPagePath 在接口中 PagineContextpublic java.lang.String getFileName()
getFileName 在接口中 ContextgetFileName 在类中 BaseContextImplpublic java.lang.String getCurrentPagePath()
public boolean isPublishAllPage()
PagineContextisPublishAllPage 在接口中 PagineContext