Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

java.lang.Object
  extended by org.nuxeo.ecm.platform.contentview.jsf.ContentViewHeader
All Implemented Interfaces:
Serializable, Comparable<ContentViewHeader>

public class ContentViewHeader
extends Object
implements Serializable, Comparable<ContentViewHeader>

Holds needed information about a content view to select it from UI, or to selected one of its result layouts from UI

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

Constructor Summary
ContentViewHeader(String name, String title, boolean translateTitle, String iconPath)
           
 
Method Summary
 int compareTo(ContentViewHeader o)
           
 String getIconPath()
           
 String getName()
           
 String getTitle()
          Returns the title or the name if title is empty.
 boolean isTranslateTitle()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentViewHeader

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

getName

public String getName()

getTitle

public String getTitle()
Returns the title or the name if title is empty.


isTranslateTitle

public boolean isTranslateTitle()

getIconPath

public String getIconPath()

compareTo

public int compareTo(ContentViewHeader o)
Specified by:
compareTo in interface Comparable<ContentViewHeader>

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.