Class FileActionEvent

java.lang.Object
org.zkoss.zk.ui.event.Event
com.saperion.ngc.events.resultset.FileActionEvent
All Implemented Interfaces:
Serializable

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

    • FileActionEvent

      public FileActionEvent(org.zkoss.zk.ui.Component target, Map<FolderId,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, Map<FolderId,String> folderMap, Map<FolderId,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 Details

    • getFolders

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

      public Map<FolderId,String> getOverrideMasks()
      Returns:
      map with selected folders and mask names that override the folder classes
    • getFileAction

      public FileActionEvent.FileAction getFileAction()
      Returns:
      file action
    • 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.