com.sapportals.wcm.control.util

Class PageControl

java.lang.Object
  extended by com.sapportals.wdf.stack.Control
      extended by com.sapportals.wcm.control.base.WcmBaseControl
          extended by com.sapportals.wcm.control.util.PageControl

Deprecated. As of NetWeaver 7.1

public class PageControl
extends WcmBaseControl


Field Summary
 
Fields inherited from class com.sapportals.wcm.control.base.WcmBaseControl
BLANK_LINK_TARGET, CELL_PADDING_STANDARD, CELL_SPACING_STANDARD, CONTROL_HEADER_STANDARD, DETAILS_CONFIG_FILE, NONE, RES_BUTTON_ADD, RES_BUTTON_APPLY, RES_BUTTON_BACK, RES_BUTTON_CANCEL, RES_BUTTON_CLOSE, RES_BUTTON_LOAD, RES_BUTTON_MORE, RES_BUTTON_OK, RES_BUTTON_REMOVE, RES_BUTTON_SAVE, RES_BUTTON_SELECT, RES_BUTTON_UPDATE, resourceContext, SUMMARY
 
Fields inherited from class com.sapportals.wdf.stack.Control
id
 
Constructor Summary
PageControl()
          Deprecated. As of NetWeaver 7.1
 
Method Summary
static HashMap createToolTipTable(IResourceList resourceList, int maxRows, IPropertyName sortProperty)
          Deprecated. As of NetWeaver 7.1
static HashMap createToolTipTable(String[] toolTips, int maxRows)
          Deprecated. As of NetWeaver 7.1
static int getPageValueFromControlID(com.sapportals.htmlb.event.Event event)
          Deprecated. As of NetWeaver 7.1
 com.sapportals.htmlb.Component render()
          Deprecated. As of NetWeaver 7.1
static com.sapportals.htmlb.GridLayout renderPageLinks(int startRow, int count, boolean hasMore, int pageInterval, int linkCount, WcmBaseControl parentControl, String controlEventHandler)
          Deprecated. As of NetWeaver 7.1
static com.sapportals.htmlb.GridLayout renderPageLinks(int startRow, int count, boolean hasMore, int pageInterval, int linkCount, WcmBaseControl parentControl, String controlEventHandler, HashMap pageBeginners)
          Deprecated. As of NetWeaver 7.1
static com.sapportals.htmlb.GridLayout renderPageLinks(int startRow, int count, boolean hasMore, int pageInterval, int linkCount, WcmBaseControl parentControl, String controlEventHandler, com.sapportals.htmlb.enums.TextViewDesign textDesign)
          Deprecated. As of NetWeaver 7.1
static com.sapportals.htmlb.GridLayout renderPageLinks(int startRow, int count, boolean hasMore, int pageInterval, int linkCount, WcmBaseControl parentControl, String controlEventHandler, com.sapportals.htmlb.enums.TextViewDesign textDesign, HashMap pageBeginners)
          Deprecated. As of NetWeaver 7.1
static com.sapportals.htmlb.GridLayout renderPageLinks(int startRow, int count, int pageInterval, int linkCount, WcmBaseControl parentControl, String controlEventHandler)
          Deprecated. As of NetWeaver 7.1
static com.sapportals.htmlb.GridLayout renderPageLinks(int startRow, int count, int pageInterval, int linkCount, WcmBaseControl parentControl, String controlEventHandler, HashMap pageBeginners)
          Deprecated. As of NetWeaver 7.1
static com.sapportals.htmlb.GridLayout renderPageLinks(int startRow, int count, int pageInterval, int linkCount, WcmBaseControl parentControl, String controlEventHandler, com.sapportals.htmlb.enums.TextViewDesign textDesign)
          Deprecated. As of NetWeaver 7.1
static com.sapportals.htmlb.GridLayout renderPageLinks(int startRow, int count, int pageInterval, int linkCount, WcmBaseControl parentControl, String controlEventHandler, com.sapportals.htmlb.enums.TextViewDesign textDesign, HashMap pageBeginners)
          Deprecated. As of NetWeaver 7.1
 
Methods inherited from class com.sapportals.wcm.control.base.WcmBaseControl
getBaseBundleString, getBaseBundleString, getBaseBundleString, getBaseBundleString, getBundleString, getBundleString, getBundleString, getBundleString, getBusinessCardLink, getImage, getParameterConfiguration, getResourceContext, getServicePageUri, handleException, isSection508Rendering, isTestMode, isVisible, readInputData, setControlContext, setResourceContext, setTestMode, setVisible
 
Methods inherited from class com.sapportals.wdf.stack.Control
create, create, createNestedControls, createUnequivocallyComponentId, dispatchHtmlbEvent, dispatchWdfEvent, getControlContext, getDynPage, getID, getParent, getPersistenceComponentManager, getRootControl, getStackId, initialize, initializeImpl, isInitialized, register, renderPersistentProperties, resetNestedControls, restorePersistentProperties, restoreProperties, setID, setInitialized, setParent, setStackId, triggerInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageControl

public PageControl()
Deprecated. As of NetWeaver 7.1

Method Detail

render

public com.sapportals.htmlb.Component render()
Deprecated. As of NetWeaver 7.1

Specified by:
render in class com.sapportals.wdf.stack.Control

renderPageLinks

public static com.sapportals.htmlb.GridLayout renderPageLinks(int startRow,
                                                              int count,
                                                              int pageInterval,
                                                              int linkCount,
                                                              WcmBaseControl parentControl,
                                                              String controlEventHandler)
Deprecated. As of NetWeaver 7.1

Parameters:
startRow - first item of the selected page
count - complete number of items
pageInterval - number of items per page
linkCount - number of page links before and after the selected page
parentControl - WcmControl using this utility and handling the event
controlEventHandler - Description of the param
Returns:
Description of the Return Value

renderPageLinks

public static com.sapportals.htmlb.GridLayout renderPageLinks(int startRow,
                                                              int count,
                                                              int pageInterval,
                                                              int linkCount,
                                                              WcmBaseControl parentControl,
                                                              String controlEventHandler,
                                                              HashMap pageBeginners)
Deprecated. As of NetWeaver 7.1

Parameters:
startRow - first item of the selected page
count - complete number of items
pageInterval - number of items per page
linkCount - number of page links before and after the selected page
parentControl - WcmControl using this utility and handling the event
pageBeginners - tooltip for pages
controlEventHandler - Description of the param
Returns:
Description of the Return Value

renderPageLinks

public static com.sapportals.htmlb.GridLayout renderPageLinks(int startRow,
                                                              int count,
                                                              int pageInterval,
                                                              int linkCount,
                                                              WcmBaseControl parentControl,
                                                              String controlEventHandler,
                                                              com.sapportals.htmlb.enums.TextViewDesign textDesign)
Deprecated. As of NetWeaver 7.1

Parameters:
startRow - first item of the selected page
count - complete number of items
pageInterval - number of items per page
linkCount - number of page links before and after the selected page
parentControl - WcmControl using this utility and handling the event
controlEventHandler - Description of the param
textDesign - Description of the param
Returns:
Description of the Return Value

renderPageLinks

public static com.sapportals.htmlb.GridLayout renderPageLinks(int startRow,
                                                              int count,
                                                              boolean hasMore,
                                                              int pageInterval,
                                                              int linkCount,
                                                              WcmBaseControl parentControl,
                                                              String controlEventHandler)
Deprecated. As of NetWeaver 7.1

Parameters:
startRow - first item of the selected page
count - complete number of items
hasMore - if true, a link to select the next interval will be displayed. Usually this flag is true if the complete number of items is unknown.
pageInterval - number of items per page
linkCount - number of page links before and after the selected page
parentControl - WcmControl using this utility and handling the event
controlEventHandler - Description of the param
Returns:
Description of the Return Value

renderPageLinks

public static com.sapportals.htmlb.GridLayout renderPageLinks(int startRow,
                                                              int count,
                                                              boolean hasMore,
                                                              int pageInterval,
                                                              int linkCount,
                                                              WcmBaseControl parentControl,
                                                              String controlEventHandler,
                                                              HashMap pageBeginners)
Deprecated. As of NetWeaver 7.1

Parameters:
startRow - first item of the selected page
count - complete number of items
hasMore - if true, a link to select the next interval will be displayed. Usually this flag is true if the complete number of items is unknown.
pageInterval - number of items per page
linkCount - number of page links before and after the selected page
parentControl - WcmControl using this utility and handling the event
pageBeginners - tooltip for pages
controlEventHandler - Description of the param
Returns:
Description of the Return Value

renderPageLinks

public static com.sapportals.htmlb.GridLayout renderPageLinks(int startRow,
                                                              int count,
                                                              boolean hasMore,
                                                              int pageInterval,
                                                              int linkCount,
                                                              WcmBaseControl parentControl,
                                                              String controlEventHandler,
                                                              com.sapportals.htmlb.enums.TextViewDesign textDesign)
Deprecated. As of NetWeaver 7.1

Parameters:
startRow - first item of the selected page
count - complete number of items
hasMore - if true, a link to select the next interval will be displayed. Usually this flag is true if the complete number of items is unknown.
pageInterval - number of items per page
linkCount - number of page links before and after the selected page
parentControl - WcmControl using this utility and handling the event
textDesign - design style for the text
controlEventHandler - Description of the param
Returns:
Description of the Return Value

renderPageLinks

public static com.sapportals.htmlb.GridLayout renderPageLinks(int startRow,
                                                              int count,
                                                              int pageInterval,
                                                              int linkCount,
                                                              WcmBaseControl parentControl,
                                                              String controlEventHandler,
                                                              com.sapportals.htmlb.enums.TextViewDesign textDesign,
                                                              HashMap pageBeginners)
Deprecated. As of NetWeaver 7.1

Parameters:
startRow - first item of the selected page
count - complete number of items
pageInterval - number of items per page
linkCount - number of page links before and after the selected page
parentControl - WcmControl using this utility and handling the event
textDesign - design style for the text
pageBeginners - tooltip for pages
controlEventHandler - Description of the param
Returns:
Description of the Return Value

renderPageLinks

public static com.sapportals.htmlb.GridLayout renderPageLinks(int startRow,
                                                              int count,
                                                              boolean hasMore,
                                                              int pageInterval,
                                                              int linkCount,
                                                              WcmBaseControl parentControl,
                                                              String controlEventHandler,
                                                              com.sapportals.htmlb.enums.TextViewDesign textDesign,
                                                              HashMap pageBeginners)
Deprecated. As of NetWeaver 7.1

Parameters:
startRow - first item of the selected page
count - complete number of items
hasMore - if true, a link to select the next interval will be displayed. Usually this flag is true if the complete number of items is unknown.
pageInterval - number of items per page
linkCount - number of page links before and after the selected page
parentControl - WcmControl using this utility and handling the event
textDesign - design style for the text
pageBeginners - tooltip for pages
controlEventHandler - Description of the param
Returns:
Description of the Return Value

getPageValueFromControlID

public static int getPageValueFromControlID(com.sapportals.htmlb.event.Event event)
Deprecated. As of NetWeaver 7.1

Returns the first item of the page to be displayed. usage: : int item = getPageValueFromControlID(event.getControlId()); :

Parameters:
event - Description of the param
Returns:
The pageValueFromControlID value

createToolTipTable

public static HashMap createToolTipTable(IResourceList resourceList,
                                         int maxRows,
                                         IPropertyName sortProperty)
                                  throws ResourceException
Deprecated. As of NetWeaver 7.1

Throws:
ResourceException

createToolTipTable

public static HashMap createToolTipTable(String[] toolTips,
                                         int maxRows)
                                  throws ResourceException
Deprecated. As of NetWeaver 7.1

Throws:
ResourceException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice