org.exoplatform.wiki.webui.commons
Class UIWikiDraftGrid
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.wiki.webui.commons.UIWikiDraftGrid
public class UIWikiDraftGrid
- extends org.exoplatform.webui.core.UIComponent
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Methods inherited from class org.exoplatform.webui.core.UIComponent |
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, findComponentOfType, findFirstComponentOfType, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SORT_ASC
public static final String SORT_ASC
- See Also:
- Constant Field Values
SORT_DESC
public static final String SORT_DESC
- See Also:
- Constant Field Values
uiIterator_
protected org.exoplatform.webui.core.UIPageIterator uiIterator_
- The page iterator
beanIdField_
protected String beanIdField_
- The bean field that holds the id of this bean
beanField_
protected String[] beanField_
- An array of String representing the fields in each bean
action_
protected String[] action_
- An array of String representing the actions on each bean
label_
protected String label_
useAjax
protected boolean useAjax
displayedChars_
protected int displayedChars_
UIWikiDraftGrid
public UIWikiDraftGrid()
throws Exception
- Throws:
Exception
clearBreadcrum
public void clearBreadcrum()
getUIPageIterator
public org.exoplatform.webui.core.UIPageIterator getUIPageIterator()
setActionForField
public void setActionForField(String field,
String action)
getActionForField
public String getActionForField(String field)
putBreadCrumbDatas
public void putBreadCrumbDatas(String key,
List<org.exoplatform.wiki.service.BreadcrumbData> breakCrumbDatas)
throws Exception
- Throws:
Exception
getBreadCrumb
public String getBreadCrumb(String key)
getPageParam
public org.exoplatform.wiki.service.WikiPageParams getPageParam(String key)
throws Exception
- Throws:
Exception
getFieldToDisplayBreadCrumb
public String getFieldToDisplayBreadCrumb()
setFieldToDisplayBreadCrumb
public void setFieldToDisplayBreadCrumb(String fieldToDisplayBreadCrumb)
getWikiName
public String getWikiName(String key)
throws Exception
- Throws:
Exception
getSortField
public String getSortField()
setSortField
public void setSortField(String sortField)
isASC
public boolean isASC()
setASC
public void setASC(boolean isASC)
createActionLink
public String createActionLink(org.exoplatform.wiki.service.BreadcrumbData breadCumbData)
throws Exception
- Throws:
Exception
configure
public UIWikiDraftGrid configure(String beanIdField,
String[] beanField,
String[] action)
getBeanIdField
public String getBeanIdField()
getBeanFields
public String[] getBeanFields()
getBeanActions
public String[] getBeanActions()
getBeans
public List<?> getBeans()
throws Exception
- Throws:
Exception
getLabel
public String getLabel()
setLabel
public void setLabel(String label)
getFieldValue
public Object getFieldValue(Object bean,
String field)
throws Exception
- Throws:
Exception
getBeanIdFor
public String getBeanIdFor(Object bean)
throws Exception
- Throws:
Exception
findComponentById
public org.exoplatform.webui.core.UIComponent findComponentById(String lookupId)
- Overrides:
findComponentById in class org.exoplatform.webui.core.UIComponent
isUseAjax
public boolean isUseAjax()
setUseAjax
public void setUseAjax(boolean value)
getDisplayedChars
public int getDisplayedChars()
setDisplayedChars
public void setDisplayedChars(int displayedChars)
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.