Interface IRepeaterUtil

All Known Implementing Classes:
RepeaterUtil

public interface IRepeaterUtil
Author:
Vineet Semwal
  • Method Details

    • prepend

      String prepend(String tag, String id, String parentId, String startId, String endId)
      prepend js call ,creates a new dom tag element as the first element of parent
      Parameters:
      tag - repeater tag
      id - repeater markupid
      parentId - parent markupid
      Returns:
      prepend call of js
    • prepend

      String prepend(MarkupContainer component, MarkupContainer parent, Component start, Component end)
      prepend js call ,creates a new dom tag element as the first element of parent
      Parameters:
      component - repeater
      parent - parent to which repeater is added
      Returns:
      prepend call of js
    • append

      String append(String tag, String id, String parentId, String startId, String endId)
      creates a new dom tag element as the last element of parent with parentId
      Parameters:
      tag - repeater tag
      id - repeater markupid
      parentId - parent markupid
      Returns:
      append call of js
    • append

      String append(MarkupContainer c, MarkupContainer parent, Component start, Component end)
      creates a new dom tag element as the last element of parent
      Parameters:
      c - repeater
      parent - parent
      Returns:
      append js call
    • getComponentTag

      ComponentTag getComponentTag(Component c)
      finds ComponentTag of the component passed
      Parameters:
      c - component whose componenttag has to be found
      Returns:
      ComponentTag
    • removeItem

      String removeItem(String id, String parentId)
      removes js call for item whose markupid is passed
      Parameters:
      id - markupid of the element which needs to be removed
      parentId - markupId of parent
      Returns:
      remove js call
    • removeItem

      String removeItem(Component component, Component parent)
      removes js call for component which is provided
      Parameters:
      component -
      parent -
      Returns:
      remove js call
    • safeLongToInt

      int safeLongToInt(long l)
      safely converts long to int
      Parameters:
      l -
      Returns:
      int value for long passed
    • parentNotSuitable

      void parentNotSuitable(IQuickView repeater)
      throws exception if no suitable unary parent is found,unary parent is one which only has one child
      Parameters:
      repeater -
    • reuseStategyNotSupportedForItemsNavigation

      void reuseStategyNotSupportedForItemsNavigation(IQuickView repeater)
      throws exception if reuse strategy is not supported for items navigation
      Parameters:
      repeater -
    • outPutMarkupIdNotTrue

      void outPutMarkupIdNotTrue(IQuickView repeater)
      throws exception if outmarkupid of parent is not set true and outputMarkupPlaceholderTag is not set true
      Parameters:
      repeater -
    • scrollToTop

      String scrollToTop(IQuickView quickView)
      js call to scroll to top
      Parameters:
      quickView -
      Returns:
      js call string
    • scrollToTop

      String scrollToTop(String markupId)
    • scrollToBottom

      String scrollToBottom(IQuickView quickView)
      js call to scroll to bottom
      Parameters:
      quickView -
      Returns:
      js call string
    • scrollToBottom

      String scrollToBottom(String markupId)
    • scrollTo

      String scrollTo(String markupId, int height)
    • scrollTo

      String scrollTo(IQuickView quickView, int height)
      js call to scroll to height
      Parameters:
      quickView -
      height -
      Returns:
      js call string
    • isComponentScrollBarAtBottom

      String isComponentScrollBarAtBottom(MarkupContainer component)
      js calls which calls methods that when fired returns true if component's navigation-bar is at the bottom
      Parameters:
      component -
      Returns:
      js call string
    • isPageScrollBarAtBottom

      String isPageScrollBarAtBottom()
      js calls which calls methods that when fired returns true if page's navigation-bar is at the bottom
      Returns:
      js call string
    • showPageScrollBar

      String showPageScrollBar()