Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.api.ws
Class DocumentDescriptor

java.lang.Object
  extended by org.nuxeo.ecm.platform.api.ws.DocumentDescriptor
All Implemented Interfaces:
java.io.Serializable

public class DocumentDescriptor
extends java.lang.Object
implements java.io.Serializable

Web service base document descriptor.

The document descriptor contains minimal information about a document as needed by a client to display it and navigate through the repository tree.

The descriptor exposes:

In the case of version document versions the title is the version label

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Constructor Summary
DocumentDescriptor()
          Emtpy ctor needed by tools like jaxb.
DocumentDescriptor(DocumentModel doc)
           
DocumentDescriptor(DocumentModel doc, java.lang.String title)
           
 
Method Summary
 java.lang.String getId()
           
 java.lang.String getTitle()
           
 java.lang.String getType()
           
 java.lang.String getUUID()
           
 void setId(java.lang.String id)
           
 void setTitle(java.lang.String title)
           
 void setType(java.lang.String type)
           
 void setUUID(java.lang.String uuid)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentDescriptor

public DocumentDescriptor()
Emtpy ctor needed by tools like jaxb.


DocumentDescriptor

public DocumentDescriptor(DocumentModel doc)

DocumentDescriptor

public DocumentDescriptor(DocumentModel doc,
                          java.lang.String title)
Method Detail

getTitle

public java.lang.String getTitle()

getType

public java.lang.String getType()

getUUID

public java.lang.String getUUID()

setTitle

public void setTitle(java.lang.String title)
Parameters:
title - the title to set.

setUUID

public void setUUID(java.lang.String uuid)
Parameters:
uuid - the uuid to set.

setType

public void setType(java.lang.String type)
Parameters:
type - the type to set.

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.