public class ContentViewLayoutImpl extends Object implements ContentViewLayout
| Modifier and Type | Field and Description |
|---|---|
protected String |
filterDisplayType |
protected boolean |
filterUnfolded |
protected String |
iconPath |
protected String |
name |
protected boolean |
showCSVExport |
protected boolean |
showEditColumns |
protected boolean |
showEditRows |
protected boolean |
showPDFExport |
protected boolean |
showSlideshow |
protected boolean |
showSpreadsheet |
protected boolean |
showSyndicationLinks |
protected String |
title |
protected boolean |
translateTitle |
| Constructor and Description |
|---|
ContentViewLayoutImpl() |
ContentViewLayoutImpl(String name,
String title,
boolean translateTitle,
String iconPath,
boolean showCSVExport) |
| Modifier and Type | Method and Description |
|---|---|
ContentViewLayoutImpl |
clone() |
String |
getFilterDisplayType()
Returns the filter display type to handle different kinds of filter display.
|
String |
getIconPath()
Returns the icon relative path for this content view layout
|
String |
getName()
Returns the name of the layout
|
boolean |
getShowCSVExport()
Returns true if CSV export is enabled for this layout.
|
boolean |
getShowEditColumns()
Returns true if 'edit columns' link is enabled for this layout.
|
boolean |
getShowEditRows()
Returns true if 'edit rows' link is enabled for this layout.
|
boolean |
getShowPDFExport()
Returns true if PDF export is enabled for this layout.
|
boolean |
getShowSlideshow()
Returns true if 'slide show' link is enabled for this layout.
|
boolean |
getShowSpreadsheet()
Returns true if 'spreadsheet' link is enabled for this layout.
|
boolean |
getShowSyndicationLinks()
Returns true if syndication links are enabled for this layout.
|
String |
getTitle()
Returns a title for this content view layout
|
boolean |
getTranslateTitle()
Returns a boolean stating if title has to be translated
|
boolean |
isFilterUnfolded()
Returns true is the filter should be unfolded by default.
|
String |
toString() |
protected boolean translateTitle
protected boolean showCSVExport
protected boolean showPDFExport
protected boolean showSyndicationLinks
protected boolean showSlideshow
protected boolean showEditColumns
protected boolean showEditRows
protected boolean showSpreadsheet
protected String filterDisplayType
protected boolean filterUnfolded
isFilterUnfolded()public ContentViewLayoutImpl()
public ContentViewLayoutImpl(String name, String title, boolean translateTitle, String iconPath, boolean showCSVExport)
public String getIconPath()
ContentViewLayoutgetIconPath in interface ContentViewLayoutpublic String getName()
ContentViewLayoutgetName in interface ContentViewLayoutpublic String getTitle()
ContentViewLayoutgetTitle in interface ContentViewLayoutpublic boolean getTranslateTitle()
ContentViewLayoutgetTranslateTitle in interface ContentViewLayoutpublic boolean getShowCSVExport()
ContentViewLayoutgetShowCSVExport in interface ContentViewLayoutpublic boolean getShowPDFExport()
ContentViewLayoutgetShowPDFExport in interface ContentViewLayoutpublic boolean getShowSyndicationLinks()
ContentViewLayoutgetShowSyndicationLinks in interface ContentViewLayoutpublic boolean getShowSlideshow()
ContentViewLayoutgetShowSlideshow in interface ContentViewLayoutpublic boolean getShowEditColumns()
ContentViewLayoutgetShowEditColumns in interface ContentViewLayoutpublic boolean getShowEditRows()
ContentViewLayoutThis marker is only useful to handle layout column selection when columns are actually rows (or display content differently that using columns).
getShowEditRows in interface ContentViewLayoutpublic boolean getShowSpreadsheet()
ContentViewLayoutgetShowSpreadsheet in interface ContentViewLayoutpublic String getFilterDisplayType()
ContentViewLayoutgetFilterDisplayType in interface ContentViewLayoutpublic boolean isFilterUnfolded()
ContentViewLayoutDoes not have any impact on the filter display if filter display type is "quick" (i.e. opens in a popup)
isFilterUnfolded in interface ContentViewLayoutpublic ContentViewLayoutImpl clone()
clone in interface ContentViewLayoutclone in class ObjectCopyright © 2016 Nuxeo SA. All rights reserved.