org.nuxeo.ecm.platform.api.ws
Class DocumentDescriptor
java.lang.Object
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:
- the document UUID
- the document type
- the document title
In the case of version document versions the title is the version label
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentDescriptor
public DocumentDescriptor()
- Emtpy ctor needed by tools like jaxb.
DocumentDescriptor
public DocumentDescriptor(DocumentModel doc)
DocumentDescriptor
public DocumentDescriptor(DocumentModel doc,
java.lang.String title)
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)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.