Class EntryInfo

java.lang.Object
com.isode.dsapi.util.EntryInfo
All Implemented Interfaces:
Comparable<EntryInfo>

public class EntryInfo extends Object implements Comparable<EntryInfo>
Class to contain DNs and (optionally) objectclasses to load up into the DIT tree, and also to allow them to be sorted.
Since:
15.1
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Caller-data which will be attached to the DIT node and will be passed back as an argument of loadEntryEditor() and readEntry() if this entry is loaded up.
    DN to load up.
    Key for sorting
    String to display under parent-DN 'dn' if this is a text-display tree-item, or null.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor for entry tree-item.
    EntryInfo(DN dn, String text)
    Constructor for info-text tree-item to display immediately below the given parent-DN.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Compare Entries for display tree-loading order.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • dn

      public DN dn
      DN to load up.
    • text

      public String text
      String to display under parent-DN 'dn' if this is a text-display tree-item, or null.
    • data

      public Object data
      Caller-data which will be attached to the DIT node and will be passed back as an argument of loadEntryEditor() and readEntry() if this entry is loaded up.
    • key

      public String key
      Key for sorting
  • Constructor Details

    • EntryInfo

      public EntryInfo(DN dn)
      Constructor for entry tree-item.
    • EntryInfo

      public EntryInfo(DN dn, String text)
      Constructor for info-text tree-item to display immediately below the given parent-DN. If icons are in use, this will get a yellow warning triangle icon.
  • Method Details