Class DocumentAddedEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class DocumentAddedEvent
    extends org.zkoss.zk.ui.event.Event
    Event fired when a new document was added to the archive.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DocumentId getDocumentId()
      Gets the document id.
      java.util.List<FieldResultBean> getFieldValues()
      Gets the field values.
      • Methods inherited from class org.zkoss.zk.ui.event.Event

        getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DocumentAddedEvent

        public DocumentAddedEvent​(org.zkoss.zk.ui.Component target,
                                  DocumentId id,
                                  java.util.List<FieldResultBean> fields)
        Constructor.
        Parameters:
        target - target component
        id - id of the new document
        fields - values of the fields that were used to create the new document
    • Method Detail

      • getDocumentId

        public DocumentId getDocumentId()
        Gets the document id.
        Returns:
        the document id
      • getFieldValues

        public java.util.List<FieldResultBean> getFieldValues()
        Gets the field values.
        Returns:
        the field values