public interface ISkinComponentMechanics extends IMechanics
Modifier and Type | Method and Description |
---|---|
boolean |
canListPageBackward(INBSPage page,
IPagingCookie cookie)
True if the list can page back.
|
boolean |
canListPageForward(INBSPage page,
IPagingCookie cookie)
True if the list can page forward.
|
boolean |
canListSortByColumn(INBSPage page,
IPagingCookie cookie)
True if current column is sortable.
|
int |
getListCurrentPage(INBSPage page,
IPagingCookie cookie)
Gets the current page.
|
int |
getListFirstPage(INBSPage page,
IPagingCookie cookie)
Gets the first page in the current range (the range around the current page).
|
int |
getListLastPage(INBSPage page,
IPagingCookie cookie)
Gets the last page in the current range (the range around the current page).
|
IViewableMechanics |
getTitlebarMechanics(INBSPage page,
IURI uri)
Gets the titlebar mechanics for the given uri
|
IURI |
getTitlebarURI(INBSPage page,
IPresentationData pdo)
Gets the uri for the titlebar.
|
IView |
getTitlebarView(INBSPage page,
IURI uri,
IViewableMechanics mechanics,
IPrincipalData auth)
Gets the view for the titlebar.
|
String |
getTitlebarViewLockedBy(INBSPage page,
IViewableMechanics mechanics,
IView view)
Gets the id of the user who's locked the titlebar resource.
|
String |
getTitlebarWidgetPixelWidth(INBSPage page,
String pxWidth,
IBrowserBean browser)
Calculates the width of the widget.
|
boolean |
isListSortCurrent(INBSPage page,
IPagingCookie cookie)
True if current column is the currently sorted column.
|
boolean |
isListSortTogglable(INBSPage page,
IPagingCookie cookie)
True if current column sorting is togglable (ascending or descending).
|
boolean |
isTitlebarViewLocked(INBSPage page,
IViewableMechanics mechanics,
IView view)
True if the titlebar resource is locked.
|
boolean |
isTitlebarViewVersioned(INBSPage page,
IViewableMechanics mechanics,
IView view)
True if the titlebar resource is versioned.
|
void |
printListEnd(INBSPage page,
IPagingCookie cookie)
Prints the list end in html.
|
void |
printListPageBackwardLink(INBSPage page,
IPagingCookie cookie)
Prints the page backward link in html.
|
void |
printListPageForwardLink(INBSPage page,
IPagingCookie cookie)
Prints the page forkward link in html.
|
void |
printListPageLink(INBSPage page,
IPagingCookie cookie,
int pageNumber)
Prints the jump to page link in html.
|
void |
printListQuery(INBSPage page,
IPagingCookie cookie)
Prints the list query string in html.
|
void |
printListSortLink(INBSPage page,
IPagingCookie cookie)
Prints the current columns sort link.
|
void |
printListStart(INBSPage page,
IPagingCookie cookie)
Prints the list start in html.
|
void |
printListTotal(INBSPage page,
IPagingCookie cookie)
Prints the list total in html.
|
boolean |
showListNextPrev(INBSPage page,
IPagingCookie cookie)
True if the list should show the next/prev links.
|
boolean |
showListPage(INBSPage page,
IPagingCookie cookie)
True if the list should show the page info (ie ...
|
boolean |
showListPosition(INBSPage page,
IPagingCookie cookie)
True if the list should show the position info (ie 1-10 of 100).
|
boolean |
showListSearch(INBSPage page,
IPagingCookie cookie)
True if the list should show the search box.
|
boolean |
showSubmitCancel(INBSPage page)
True if submit block should show Cancel button.
|
boolean |
showSubmitFinish(INBSPage page)
True if submit block should show Finish button.
|
boolean |
showSubmitNext(INBSPage page)
True if submit block should show Next button.
|
boolean |
showSubmitPrev(INBSPage page)
True if submit block should show Previous button.
|
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
IURI getTitlebarURI(INBSPage page, IPresentationData pdo) throws PortalException
page
- the current NBSP pagepdo
- the current PresentationData objectPortalException
- if there is an error getting the titlebar URIIViewableMechanics getTitlebarMechanics(INBSPage page, IURI uri) throws PortalException
page
- the current NBSP pageuri
- the IURI to lookup the titlebar mechanics for.PortalException
- if there is an error getting the titlebar mechanicsIView getTitlebarView(INBSPage page, IURI uri, IViewableMechanics mechanics, IPrincipalData auth) throws PortalException
page
- the current NBSP pagemechanics
- the titlebar mechanicsauth
- the principal data about the current userPortalException
- if there is an error getting the titlebar viewboolean isTitlebarViewVersioned(INBSPage page, IViewableMechanics mechanics, IView view) throws PortalException
page
- the current NBSP pagemechanics
- the titlebar mechanicsview
- the titlebar viewPortalException
- if there is an error determining if the titlebar view is versionedboolean isTitlebarViewLocked(INBSPage page, IViewableMechanics mechanics, IView view) throws PortalException
page
- the current NBSP pagemechanics
- the titlebar mechanicsview
- the titlebar viewPortalException
- if there is an error determining if the titlebar view is lockedString getTitlebarViewLockedBy(INBSPage page, IViewableMechanics mechanics, IView view) throws PortalException
page
- the current NBSP pagemechanics
- the titlebar mechanicsview
- the titlebar viewPortalException
- if there is an error determining who the titlebar view is locked byString getTitlebarWidgetPixelWidth(INBSPage page, String pxWidth, IBrowserBean browser) throws PortalException
page
- the current NBSP pagepxWidth
- the pxWidth to use in the calculationbrowser
- the BrowserBean for the current clientPortalException
- if there is an error calculating the width of the widgetboolean showSubmitPrev(INBSPage page) throws PortalException
page
- the current NBSP pagePortalException
- if there is an error determining if the previous button should be shownboolean showSubmitNext(INBSPage page) throws PortalException
page
- the current NBSP pagePortalException
- if there is an error determining if the next button should be shownboolean showSubmitFinish(INBSPage page) throws PortalException
page
- the current NBSP pagePortalException
- if there is an error determining if the finish button should be shownboolean showSubmitCancel(INBSPage page) throws PortalException
page
- the current NBSP pagePortalException
- if there is an error determining if the cancel button should be shownboolean showListSearch(INBSPage page, IPagingCookie cookie) throws PortalException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error determining if the list search box should be shownboolean showListPosition(INBSPage page, IPagingCookie cookie) throws PortalException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error determining if the list position info should be shownboolean showListNextPrev(INBSPage page, IPagingCookie cookie) throws PortalException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error determining if the list next/prev links should be shownboolean showListPage(INBSPage page, IPagingCookie cookie) throws PortalException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error determining if the list page info should be shownvoid printListQuery(INBSPage page, IPagingCookie cookie) throws PortalException, IOException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error printing the list queryIOException
void printListStart(INBSPage page, IPagingCookie cookie) throws PortalException, IOException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error printing the list startIOException
void printListEnd(INBSPage page, IPagingCookie cookie) throws PortalException, IOException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error printing the list endIOException
void printListTotal(INBSPage page, IPagingCookie cookie) throws PortalException, IOException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error printing the list totalIOException
boolean canListPageBackward(INBSPage page, IPagingCookie cookie) throws PortalException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error determining if the list can page backwardsboolean canListPageForward(INBSPage page, IPagingCookie cookie) throws PortalException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error determining if the list can page forwardsvoid printListPageBackwardLink(INBSPage page, IPagingCookie cookie) throws PortalException, IOException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error printing the list page backward linkIOException
void printListPageForwardLink(INBSPage page, IPagingCookie cookie) throws PortalException, IOException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error printing the list page forward linkIOException
int getListFirstPage(INBSPage page, IPagingCookie cookie) throws PortalException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error getting the list first pageint getListLastPage(INBSPage page, IPagingCookie cookie) throws PortalException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error getting the list last pageint getListCurrentPage(INBSPage page, IPagingCookie cookie) throws PortalException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error getting the list current pagevoid printListPageLink(INBSPage page, IPagingCookie cookie, int pageNumber) throws PortalException, IOException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error printing the list page linkIOException
boolean canListSortByColumn(INBSPage page, IPagingCookie cookie) throws PortalException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error determining if the current column is sortableboolean isListSortCurrent(INBSPage page, IPagingCookie cookie) throws PortalException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error determining if the current column is the sorted columnboolean isListSortTogglable(INBSPage page, IPagingCookie cookie) throws PortalException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error determining if the current column sorting is togglablevoid printListSortLink(INBSPage page, IPagingCookie cookie) throws PortalException, IOException
page
- the current NBSP pagecookie
- the paging cookie for the listPortalException
- if there is an error printing the list sort linkIOException