Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.contentview.jsf
Class ContentViewLayoutImpl

java.lang.Object
  extended by org.nuxeo.ecm.platform.contentview.jsf.ContentViewLayoutImpl
All Implemented Interfaces:
Serializable, ContentViewLayout

public class ContentViewLayoutImpl
extends Object
implements ContentViewLayout

Since:
5.4
Author:
Anahide Tchertchian
See Also:
Serialized Form

Constructor Summary
ContentViewLayoutImpl()
           
ContentViewLayoutImpl(String name, String title, boolean translateTitle, String iconPath, boolean showCSVExport)
           
 
Method Summary
 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 getShowPDFExport()
          Returns true if PDF export is 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
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentViewLayoutImpl

public ContentViewLayoutImpl()

ContentViewLayoutImpl

public ContentViewLayoutImpl(String name,
                             String title,
                             boolean translateTitle,
                             String iconPath,
                             boolean showCSVExport)
Method Detail

getIconPath

public String getIconPath()
Description copied from interface: ContentViewLayout
Returns the icon relative path for this content view layout

Specified by:
getIconPath in interface ContentViewLayout

getName

public String getName()
Description copied from interface: ContentViewLayout
Returns the name of the layout

Specified by:
getName in interface ContentViewLayout

getTitle

public String getTitle()
Description copied from interface: ContentViewLayout
Returns a title for this content view layout

Specified by:
getTitle in interface ContentViewLayout

getTranslateTitle

public boolean getTranslateTitle()
Description copied from interface: ContentViewLayout
Returns a boolean stating if title has to be translated

Specified by:
getTranslateTitle in interface ContentViewLayout

getShowCSVExport

public boolean getShowCSVExport()
Description copied from interface: ContentViewLayout
Returns true if CSV export is enabled for this layout.

Specified by:
getShowCSVExport in interface ContentViewLayout

getShowPDFExport

public boolean getShowPDFExport()
Description copied from interface: ContentViewLayout
Returns true if PDF export is enabled for this layout.

Specified by:
getShowPDFExport in interface ContentViewLayout

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.