Class AbstractStructureDialog.StructureItem

  • Enclosing class:
    AbstractStructureDialog

    public static class AbstractStructureDialog.StructureItem
    extends java.lang.Object
    Represents a row in the dialog's list.
    • Constructor Detail

      • StructureItem

        public StructureItem​(DocumentArchiveMetaInfo.ElementArchiveMetaInfo info,
                             boolean forCheckin)
        Creates a new CheckinItem.
        Parameters:
        info - archive-meta-info of element
        forCheckin - set to true if the element is used in the checkin-dialog
    • Method Detail

      • getNumber

        public int getNumber()
        Returns:
        the element number
      • getName

        public java.lang.String getName()
        Returns:
        the name of the item
      • isUploadable

        public boolean isUploadable()
        Returns:
        whether this element can be replaced by uploading a new file
      • isDeletable

        public boolean isDeletable()
        Returns:
        whether this element can be deleted