public class DocumentDescriptor extends Object implements Serializable
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
Constructor and Description |
---|
DocumentDescriptor()
Emtpy ctor needed by tools like jaxb.
|
DocumentDescriptor(DocumentModel doc) |
DocumentDescriptor(DocumentModel doc,
String title) |
public DocumentDescriptor()
public DocumentDescriptor(DocumentModel doc)
public DocumentDescriptor(DocumentModel doc, String title)
public String getTitle()
public String getType()
public String getUUID()
public void setTitle(String title)
title
- the title to set.public void setUUID(String uuid)
uuid
- the uuid to set.public void setType(String type)
type
- the type to set.public String getId()
public void setId(String id)
Copyright © 2015 Nuxeo SA. All rights reserved.