Class FileActionEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class FileActionEvent
    extends org.zkoss.zk.ui.event.Event
    Event used for file operations in result list.
    See Also:
    Serialized Form
    • Constructor Detail

      • FileActionEvent

        public FileActionEvent​(org.zkoss.zk.ui.Component target,
                               java.util.Map<FolderId,​java.lang.String> folderMap,
                               FileActionEvent.FileAction fileAction,
                               FolderId actionParent)
        Constructor.
        Parameters:
        target - target component
        folderMap - selected folders and their classes
        fileAction - action file action
        actionParent - id of the application node in the navigation
      • FileActionEvent

        public FileActionEvent​(org.zkoss.zk.ui.Component target,
                               java.util.Map<FolderId,​java.lang.String> folderMap,
                               java.util.Map<FolderId,​java.lang.String> maskMap,
                               FileActionEvent.FileAction fileAction,
                               FolderId actionParent)
        Constructor.
        Parameters:
        target - target component
        folderMap - selected folders and their classes
        maskMap - selected folders and query mask names to override setting in class
        fileAction - action file action
        actionParent - id of the application node in the navigation
    • Method Detail

      • getFolders

        public java.util.Map<FolderId,​java.lang.String> getFolders()
        Returns:
        map with selected folders and folder class names
      • getOverrideMasks

        public java.util.Map<FolderId,​java.lang.String> getOverrideMasks()
        Returns:
        map with selected folders and mask names that override the folder classes
      • getFileParent

        public FolderId getFileParent()
        Returns:
        id of the node in the navigation view that is the parent for the current file action (either the application node in xnmain, the eFile-folder or a child-register.