Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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

public class DocumentDescriptor
extends Object
implements 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, String title)
           
 
Method Summary
 String getId()
           
 String getTitle()
           
 String getType()
           
 String getUUID()
           
 void setId(String id)
           
 void setTitle(String title)
           
 void setType(String type)
           
 void setUUID(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,
                          String title)
Method Detail

getTitle

public String getTitle()

getType

public String getType()

getUUID

public String getUUID()

setTitle

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

setUUID

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

setType

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

getId

public String getId()

setId

public void setId(String id)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.