org.nuxeo.ecm.platform.api.ws
Class DocumentDescriptor
java.lang.Object
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:
- 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
DocumentDescriptor
public DocumentDescriptor()
- Emtpy ctor needed by tools like jaxb.
DocumentDescriptor
public DocumentDescriptor(DocumentModel doc)
DocumentDescriptor
public DocumentDescriptor(DocumentModel doc,
String title)
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)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.