public class SummaryEntry extends Object implements Comparable<SummaryEntry>, Serializable
Note that SummaryEntry.getPath()
can be different than DocumentModel.getPath()
since a DocumentModel
object can be added many times at different level of the working list.
Constructor and Description |
---|
SummaryEntry() |
SummaryEntry(DocumentModel doc) |
SummaryEntry(DocumentRef reference) |
SummaryEntry(String uuid,
String title,
Date modifiedDate,
String filename,
String version,
SummaryEntry parent) |
SummaryEntry(String uuid,
String title,
String modifiedDate,
String filename,
String version) |
public SummaryEntry(String uuid, String title, String modifiedDate, String filename, String version)
public SummaryEntry(String uuid, String title, Date modifiedDate, String filename, String version, SummaryEntry parent)
public SummaryEntry(DocumentModel doc)
public SummaryEntry(DocumentRef reference)
public SummaryEntry()
public static DateFormat getDateFormat()
public String getUuid()
public void setUuid(String uuid)
public String getTitle()
public void setTitle(String title)
public String getModifiedDate()
public void setModifiedDate(String modifiedDate)
public String getFilename()
public void setFilename(String filename)
public String getVersion()
public void setVersion(String version)
public String toFlatString()
public String toTreeString()
public SummaryEntry getParent()
public void setParent(SummaryEntry parent)
public void setParent(DocumentRef parentRef)
public DocumentRef getDocumentRef()
public void setDocumentRef(DocumentRef documentRef)
public boolean hasParent()
public static List<SummaryEntry> getPathList(List<SummaryEntry> pathList, SummaryEntry parentEntry)
pathList
- the list where to add the found path itemparentEntry
- is the SummaryEntry to watchpublic String getPath()
public int compareTo(SummaryEntry o)
compareTo
in interface Comparable<SummaryEntry>
public String getMarker()
public void setMarker(String marker)
public String getBullet()
public void setBullet(String bullet)
public String getCr()
public void setCr(String cr)
public String getPathSeparator()
public void setPathSeparator(String pathSeparator)
public String getFileSeparator()
public void setFileSeparator(String fileSeparator)
public String getVersionSepartor()
public void setVersionSepartor(String versionSepartor)
public String getDateSeparator()
public void setDateSeparator(String dateSeparator)
Copyright © 2015 Nuxeo SA. All rights reserved.