Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.relations.web
Class NodeInfoImpl

java.lang.Object
  extended by org.nuxeo.ecm.platform.relations.web.NodeInfoImpl
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Node>, Node, NodeInfo

public class NodeInfoImpl
extends Object
implements NodeInfo

Author:
Anahide Tchertchian
See Also:
Serialized Form

Constructor Summary
NodeInfoImpl(Node node)
           
NodeInfoImpl(Node node, DocumentModel documentModel)
           
NodeInfoImpl(Node node, DocumentModel documentModel, boolean visible)
           
 
Method Summary
 int compareTo(Node o)
           
 String getAction()
           
 DocumentModel getDocumentModel()
           
 String getHref()
           
 String getIcon()
           
 NodeType getNodeType()
           
 String getTitle()
           
 boolean isBlank()
           
 boolean isDocument()
           
 boolean isDocumentVisible()
           
 boolean isLink()
           
 boolean isLiteral()
           
 boolean isQNameResource()
           
 boolean isResource()
           
 boolean isText()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeInfoImpl

public NodeInfoImpl(Node node)

NodeInfoImpl

public NodeInfoImpl(Node node,
                    DocumentModel documentModel)

NodeInfoImpl

public NodeInfoImpl(Node node,
                    DocumentModel documentModel,
                    boolean visible)
Method Detail

getNodeType

public NodeType getNodeType()
Specified by:
getNodeType in interface Node

isBlank

public boolean isBlank()
Specified by:
isBlank in interface Node

isLiteral

public boolean isLiteral()
Specified by:
isLiteral in interface Node

isQNameResource

public boolean isQNameResource()
Specified by:
isQNameResource in interface Node

isResource

public boolean isResource()
Specified by:
isResource in interface Node

compareTo

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

getAction

public String getAction()
Specified by:
getAction in interface NodeInfo

getDocumentModel

public DocumentModel getDocumentModel()
Specified by:
getDocumentModel in interface NodeInfo

getHref

public String getHref()
Specified by:
getHref in interface NodeInfo

getIcon

public String getIcon()
Specified by:
getIcon in interface NodeInfo

getTitle

public String getTitle()
Specified by:
getTitle in interface NodeInfo

isLink

public boolean isLink()
Specified by:
isLink in interface NodeInfo

isDocument

public boolean isDocument()
Specified by:
isDocument in interface NodeInfo

isDocumentVisible

public boolean isDocumentVisible()
Specified by:
isDocumentVisible in interface NodeInfo

isText

public boolean isText()
Specified by:
isText in interface NodeInfo

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.