|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.portal.webui.portal.UIPortalComponent
org.exoplatform.portal.webui.container.UIContainer
org.exoplatform.wcm.webui.clv.UICLVPresentation
public class UICLVPresentation
| Nested Class Summary | |
|---|---|
static class |
UICLVPresentation.EditContentActionListener
The listener interface for receiving editContentAction events. |
static class |
UICLVPresentation.RefreshActionListener
The listener interface for receiving refreshAction events. |
| Nested classes/interfaces inherited from class org.exoplatform.portal.webui.container.UIContainer |
|---|
org.exoplatform.portal.webui.container.UIContainer.SelectTabActionListener |
| Field Summary |
|---|
| Fields inherited from class org.exoplatform.portal.webui.container.UIContainer |
|---|
creator, description, icon, modifier |
| Fields inherited from class org.exoplatform.portal.webui.portal.UIPortalComponent |
|---|
COMPONENT_EDIT_MODE, COMPONENT_VIEW_MODE, factoryId, height_, mode_, name_, template_, width_ |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
|---|
config, OBJECTID, UICOMPONENT, uiparent |
| Constructor Summary | |
|---|---|
UICLVPresentation()
Instantiates a new uI content list presentation. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAuthor(javax.jcr.Node node)
Gets the author. |
java.util.List<java.lang.String> |
getCategories(javax.jcr.Node node)
Gets the categories. |
java.lang.String |
getContentColumn()
Gets the content column. |
java.lang.String |
getContentIcon(javax.jcr.Node node)
Gets the content icon. |
java.lang.String |
getContentSize(javax.jcr.Node node)
Gets the content size. |
java.lang.String |
getContentType(javax.jcr.Node node)
Gets the content type. |
java.lang.String |
getCreatedDate(javax.jcr.Node node)
Gets the created date. |
java.util.List |
getCurrentPageData()
Gets the current page data. |
java.text.DateFormat |
getDatetimeFommatter()
Gets the datetime fommatter. |
java.lang.String |
getHeader()
Gets the header. |
java.lang.String |
getIllustrativeImage(javax.jcr.Node node)
Gets the illustrative image. |
java.lang.String |
getModifiedDate(javax.jcr.Node node)
Gets the modified date. |
int |
getNumberOfComments(javax.jcr.Node node)
Gets the number of comments. |
java.util.List<javax.jcr.Node> |
getRelatedContents(javax.jcr.Node node)
Gets the related contents. |
java.lang.String |
getSummary(javax.jcr.Node node)
Gets the summary. |
java.util.List<java.lang.String> |
getTags(javax.jcr.Node node)
Gets the tags. |
java.lang.String |
getTemplate()
|
org.exoplatform.resolver.ResourceResolver |
getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
java.lang.String template)
|
java.lang.String |
getTitle(javax.jcr.Node node)
Gets the title. |
org.exoplatform.webui.core.UIPageIterator |
getUIPageIterator()
Gets the uI page iterator. |
java.lang.String |
getURL(javax.jcr.Node node)
Gets the uRL. |
float |
getVotingRate(javax.jcr.Node node)
Gets the voting rate. |
java.lang.String |
getWebdavURL(javax.jcr.Node node)
Gets the WebDAV uRL. |
void |
init(java.lang.String templatePath,
org.exoplatform.resolver.ResourceResolver resourceResolver,
org.exoplatform.commons.utils.PageList dataPageList)
Inits the. |
boolean |
isShowField(java.lang.String field)
Checks if is show field. |
boolean |
isShowHeader()
Checks if is show header. |
boolean |
isShowLink()
Checks if is show link. |
boolean |
isShowReadmore()
Checks if is show readmore. |
void |
setContentColumn(java.lang.String column)
Sets the content column. |
void |
setDateTimeFormat(java.lang.String format)
Sets the date time format. |
void |
setHeader(java.lang.String header)
Sets the header. |
void |
setShowHeader(boolean showHeader)
Sets the show header. |
void |
setShowLink(boolean showLink)
Sets the show link. |
void |
setShowReadmore(boolean showReadmore)
Sets the show readmore. |
boolean |
showPaginator()
Show paginator. |
boolean |
showRefreshButton()
Show refresh button. |
| Methods inherited from class org.exoplatform.portal.webui.container.UIContainer |
|---|
getCreator, getDescription, getIcon, getModifier, setCreator, setDescription, setIcon, setModifier |
| Methods inherited from class org.exoplatform.portal.webui.portal.UIPortalComponent |
|---|
getFactoryId, getHeight, getMode, getName, getTitle, getWidth, isEditMode, isModifiable, isShowEditControl, setFactoryId, setHeight, setMode, setModifiable, setName, setShowEditControl, setTemplate, setTitle, setWidth |
| Methods inherited from class org.exoplatform.webui.core.UIContainer |
|---|
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes, visit |
| Methods inherited from class org.exoplatform.webui.core.UIComponent |
|---|
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url, url |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UICLVPresentation()
| Method Detail |
|---|
public void init(java.lang.String templatePath,
org.exoplatform.resolver.ResourceResolver resourceResolver,
org.exoplatform.commons.utils.PageList dataPageList)
throws java.lang.Exception
templatePath - the template pathresourceResolver - the resource resolverdataPageList - the data page list
java.lang.Exception - the exceptionpublic boolean showRefreshButton()
public boolean isShowField(java.lang.String field)
field - the field
public boolean showPaginator()
throws java.lang.Exception
java.lang.Exception - the exceptionpublic java.lang.String getTemplate()
getTemplate in class org.exoplatform.portal.webui.portal.UIPortalComponentpublic java.text.DateFormat getDatetimeFommatter()
public void setDateTimeFormat(java.lang.String format)
format - the new date time formatpublic java.lang.String getContentColumn()
public void setContentColumn(java.lang.String column)
column - the new content columnpublic org.exoplatform.webui.core.UIPageIterator getUIPageIterator()
public org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
java.lang.String template)
getTemplateResourceResolver in class org.exoplatform.webui.core.UIComponent
public java.util.List getCurrentPageData()
throws java.lang.Exception
java.lang.Exception - the exception
public java.lang.String getTitle(javax.jcr.Node node)
throws java.lang.Exception
node - the node
java.lang.Exception - the exception
public java.lang.String getSummary(javax.jcr.Node node)
throws java.lang.Exception
node - the node
java.lang.Exception - the exception
public java.lang.String getURL(javax.jcr.Node node)
throws java.lang.Exception
node - the node
java.lang.Exception - the exception
public java.lang.String getWebdavURL(javax.jcr.Node node)
throws java.lang.Exception
node - the node
java.lang.Exception - the exception
public java.lang.String getAuthor(javax.jcr.Node node)
throws java.lang.Exception
node - the node
java.lang.Exception - the exception
public java.lang.String getCreatedDate(javax.jcr.Node node)
throws java.lang.Exception
node - the node
java.lang.Exception - the exception
public java.lang.String getModifiedDate(javax.jcr.Node node)
throws java.lang.Exception
node - the node
java.lang.Exception - the exceptionpublic java.lang.String getContentType(javax.jcr.Node node)
node - the node
public java.lang.String getContentIcon(javax.jcr.Node node)
node - the node
public java.lang.String getContentSize(javax.jcr.Node node)
node - the node
public java.lang.String getIllustrativeImage(javax.jcr.Node node)
node - the node
java.lang.Exception - the exceptionpublic java.util.List<java.lang.String> getCategories(javax.jcr.Node node)
node - the node
public java.util.List<java.lang.String> getTags(javax.jcr.Node node)
node - the node
public float getVotingRate(javax.jcr.Node node)
node - the node
public int getNumberOfComments(javax.jcr.Node node)
node - the node
public java.util.List<javax.jcr.Node> getRelatedContents(javax.jcr.Node node)
node - the node
public boolean isShowLink()
public void setShowLink(boolean showLink)
showLink - the new show linkpublic boolean isShowHeader()
public boolean isShowReadmore()
public void setShowHeader(boolean showHeader)
showHeader - the new show headerpublic void setShowReadmore(boolean showReadmore)
showReadmore - the new show readmorepublic void setHeader(java.lang.String header)
header - the new headerpublic java.lang.String getHeader()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||