Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.gwt.runtime.client.model
Class Document

java.lang.Object
  extended by org.nuxeo.ecm.gwt.runtime.client.model.JSONWrapper
      extended by org.nuxeo.ecm.gwt.runtime.client.model.Document
All Implemented Interfaces:
DocumentConstants

public class Document
extends JSONWrapper
implements DocumentConstants


Field Summary
 
Fields inherited from interface org.nuxeo.ecm.gwt.runtime.client.model.DocumentConstants
KEY_FACETS, KEY_ID, KEY_IS_FOLDERISH, KEY_PARENT_ID, KEY_PATH, KEY_SCHEMAS, KEY_TITLE, KEY_TYPE
 
Constructor Summary
Document(com.google.gwt.json.client.JSONObject object)
           
 
Method Summary
 boolean getBooleanProperty(String schema, String property, boolean defaultValue)
           
 String getDateProperty(String schema, String property)
           
 String getDescription()
           
 String[] getFacets()
           
 String getId()
           
 double getNumberProperty(String schema, String property, double defaultValue)
           
 String getParentId()
           
 String getPath()
           
 com.google.gwt.json.client.JSONValue getProperty(String schema, String property)
           
 String[] getSchemas()
           
 String getStringProperty(String schema, String property)
           
 String getTitle()
           
 String getType()
           
 boolean isFolder()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Document

public Document(com.google.gwt.json.client.JSONObject object)
Method Detail

getProperty

public com.google.gwt.json.client.JSONValue getProperty(String schema,
                                                        String property)

getStringProperty

public String getStringProperty(String schema,
                                String property)

getDateProperty

public String getDateProperty(String schema,
                              String property)

getBooleanProperty

public boolean getBooleanProperty(String schema,
                                  String property,
                                  boolean defaultValue)

getNumberProperty

public double getNumberProperty(String schema,
                                String property,
                                double defaultValue)

getTitle

public String getTitle()

getParentId

public String getParentId()

getDescription

public String getDescription()

getType

public String getType()

getFacets

public String[] getFacets()

isFolder

public boolean isFolder()

getSchemas

public String[] getSchemas()

getId

public String getId()

getPath

public String getPath()

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.