public class UICLVPresentation
extends org.exoplatform.portal.webui.container.UIContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
UICLVPresentation.DeleteContentActionListener |
static class |
UICLVPresentation.FastPublishActionListener |
static class |
UICLVPresentation.RefreshActionListener
The listener interface for receiving refreshAction events.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
defaultScvParam |
description, icon, moveAppsPermissions, moveContainersPermissions, TABLE_COLUMN_CONTAINER| Constructor and Description |
|---|
UICLVPresentation()
Instantiates a new uICLV presentation.
|
| Modifier and Type | Method and Description |
|---|---|
String |
addQuickEditDiv(String cssClass,
javax.jcr.Node viewNode)
This method will put the mandatory html code to manage QuickEdit mode
|
String |
getAuthor(javax.jcr.Node node)
Gets the author.
|
String |
getBackLink(String currentPath) |
List<CategoryBean> |
getCategories() |
List<CategoryBean> |
getCategories(boolean withChildren) |
List<CategoryBean> |
getCategories(String primaryType) |
List<CategoryBean> |
getCategories(String fullPath,
String primaryType,
int depth) |
List<CategoryBean> |
getCategories(String fullPath,
String primaryType,
int depth,
boolean withChildren) |
String |
getCategoryURL(javax.jcr.Node node)
Gets the uRL.
|
String |
getContentIcon(javax.jcr.Node node)
Gets the content icon.
|
String |
getCreatedDate(javax.jcr.Node node)
Gets the created date.
|
List |
getCurrentPageData() |
String |
getEditLink(javax.jcr.Node node,
boolean isEditable,
boolean isNew) |
String |
getFastPublicLink(javax.jcr.Node viewNode) |
String |
getHeader() |
String |
getIllustrativeImage(javax.jcr.Node node)
Gets the illustrative image.
|
static String |
getInlineEditingField(javax.jcr.Node orgNode,
String propertyName,
String defaultValue,
String inputType,
String idGenerator,
String cssClass,
boolean isGenericProperty,
String... arguments) |
String |
getModifiedDate(javax.jcr.Node node)
Gets the modified date.
|
String |
getRssLink()
Gets the rss link.
|
String |
getSummary(javax.jcr.Node node)
Gets the summary.
|
String |
getSummaryField(javax.jcr.Node node) |
String |
getTagHtmlStyle(long tagCount) |
String |
getTemplate() |
org.exoplatform.resolver.ResourceResolver |
getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
String template) |
String |
getTitle(javax.jcr.Node node)
Gets the title.
|
org.exoplatform.webui.core.UIPageIterator |
getUIPageIterator() |
String |
getURL(javax.jcr.Node node)
Gets the uRL.
|
String |
getWebdavURL(javax.jcr.Node node)
Gets the webdav url.
|
void |
init(org.exoplatform.resolver.ResourceResolver resourceResolver,
org.exoplatform.commons.utils.PageList dataPageList)
Init portlet information.
|
boolean |
isShowEdit(javax.jcr.Node node) |
boolean |
isShowField(String field)
Checks if is show field.
|
boolean |
isShowRssLink() |
boolean |
isViewMode() |
void |
setDateTimeFormat(String format) |
boolean |
showPaginator()
Show paginator.
|
getDescription, getIcon, getMoveAppsPermissions, getMoveContainersPermissions, getPermissionClasses, getStorageId, hasMoveAppsPermission, hasMoveContainersPermission, setDescription, setIcon, setMoveAppsPermissions, setMoveContainersPermissions, setStorageIdgetAccessPermissions, getFactoryId, getHeight, getName, getTitle, getWidth, hasAccessPermission, hasPermission, isModifiable, setAccessPermissions, setFactoryId, setHeight, setModifiable, setName, setTemplate, setTitle, setWidthaddChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesbroadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, urlpublic static final String defaultScvParam
public UICLVPresentation()
public void init(org.exoplatform.resolver.ResourceResolver resourceResolver,
org.exoplatform.commons.utils.PageList dataPageList)
throws Exception
resourceResolver - the resource resolverdataPageList - the data page listException - the exceptionpublic List<CategoryBean> getCategories() throws Exception
Exceptionpublic List<CategoryBean> getCategories(String primaryType) throws Exception
Exceptionpublic List<CategoryBean> getCategories(boolean withChildren) throws Exception
Exceptionpublic List<CategoryBean> getCategories(String fullPath, String primaryType, int depth) throws Exception
Exceptionpublic List<CategoryBean> getCategories(String fullPath, String primaryType, int depth, boolean withChildren) throws Exception
Exceptionpublic String getCategoryURL(javax.jcr.Node node) throws Exception
node - the nodeException - the exceptionpublic boolean isShowField(String field)
field - the fieldpublic boolean showPaginator()
throws Exception
Exception - the exceptionpublic String getTemplate()
getTemplate in class org.exoplatform.portal.webui.portal.UIPortalComponentpublic org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
String template)
getTemplateResourceResolver in class org.exoplatform.webui.core.UIComponentpublic String getTitle(javax.jcr.Node node) throws Exception
node - the nodeException - the exceptionpublic String getSummary(javax.jcr.Node node) throws Exception
node - the nodeException - the exceptionpublic static String getInlineEditingField(javax.jcr.Node orgNode, String propertyName, String defaultValue, String inputType, String idGenerator, String cssClass, boolean isGenericProperty, String... arguments) throws Exception
Exceptionpublic String getSummaryField(javax.jcr.Node node) throws Exception
Exceptionpublic String getURL(javax.jcr.Node node) throws Exception
node - the nodeException - the exceptionpublic String getWebdavURL(javax.jcr.Node node) throws Exception
node - the nodeException - the exceptionpublic String getAuthor(javax.jcr.Node node) throws Exception
node - the nodeException - the exceptionpublic String getCreatedDate(javax.jcr.Node node) throws Exception
node - the nodeException - the exceptionpublic String getModifiedDate(javax.jcr.Node node) throws Exception
node - the nodeException - the exceptionpublic String getContentIcon(javax.jcr.Node node)
node - the nodepublic String getHeader()
public org.exoplatform.webui.core.UIPageIterator getUIPageIterator()
public void setDateTimeFormat(String format)
public String getEditLink(javax.jcr.Node node, boolean isEditable, boolean isNew)
public boolean isShowEdit(javax.jcr.Node node)
public boolean isViewMode()
public String getIllustrativeImage(javax.jcr.Node node)
node - the nodepublic boolean isShowRssLink()
public String getFastPublicLink(javax.jcr.Node viewNode)
public String getRssLink()
public String addQuickEditDiv(String cssClass, javax.jcr.Node viewNode) throws Exception
cssClass - viewNode - ExceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.