Class DocumentFilingEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class DocumentFilingEvent
    extends org.zkoss.zk.ui.event.Event
    Event for document filing actions.
    See Also:
    Serialized Form
    • Constructor Detail

      • DocumentFilingEvent

        public DocumentFilingEvent​(org.zkoss.zk.ui.Component target,
                                   DocumentFilingEvent.DocumentFilingAction filingAction,
                                   java.util.Set<DocumentId> documentIDs,
                                   java.util.Set<FolderId> folderIds)
        Creates a new DocumentFilingEvent for actions ADD_TO_FOLDER and REMOVE_FROM_FOLDER.
        Parameters:
        target - target component
        filingAction - action to perform
        folderIds - ids of folders
        documentIDs - document IDs
      • DocumentFilingEvent

        public DocumentFilingEvent​(org.zkoss.zk.ui.Component target,
                                   DocumentFilingEvent.DocumentFilingAction filingAction,
                                   java.util.Set<DocumentId> documentIDs,
                                   java.lang.String folderName)
        Creates a new DocumentFilingEvent for ADD_TO_NEW_FOLDER action.
        Parameters:
        target - target component
        filingAction - filing action
        documentIDs - document IDs
        folderName - folder name
    • Method Detail

      • getDocumentIDs

        public java.util.Set<DocumentId> getDocumentIDs()
        Returns:
        document hdoc
      • getFolderIds

        public java.util.Set<FolderId> getFolderIds()
        Returns:
        folder sysrowid
      • getFolderName

        public java.lang.String getFolderName()
        Returns:
        folder name