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()
ContentViewLayout
getIconPath
in interface ContentViewLayout
public String getName()
ContentViewLayout
getName
in interface ContentViewLayout
public String getTitle()
ContentViewLayout
getTitle
in interface ContentViewLayout
public boolean getTranslateTitle()
ContentViewLayout
getTranslateTitle
in interface ContentViewLayout
public boolean getShowCSVExport()
ContentViewLayout
getShowCSVExport
in interface ContentViewLayout
public boolean getShowPDFExport()
ContentViewLayout
getShowPDFExport
in interface ContentViewLayout
public boolean getShowSyndicationLinks()
ContentViewLayout
getShowSyndicationLinks
in interface ContentViewLayout
public boolean getShowSlideshow()
ContentViewLayout
getShowSlideshow
in interface ContentViewLayout
public boolean getShowEditColumns()
ContentViewLayout
getShowEditColumns
in interface ContentViewLayout
public boolean getShowEditRows()
ContentViewLayout
This marker is only useful to handle layout column selection when columns are actually rows (or display content differently that using columns).
getShowEditRows
in interface ContentViewLayout
public boolean getShowSpreadsheet()
ContentViewLayout
getShowSpreadsheet
in interface ContentViewLayout
public String getFilterDisplayType()
ContentViewLayout
getFilterDisplayType
in interface ContentViewLayout
public boolean isFilterUnfolded()
ContentViewLayout
Does not have any impact on the filter display if filter display type is "quick" (i.e. opens in a popup)
isFilterUnfolded
in interface ContentViewLayout
public ContentViewLayoutImpl clone()
clone
in interface ContentViewLayout
clone
in class Object
Copyright © 2018 Nuxeo. All rights reserved.