Class FileActionEvent
- java.lang.Object
-
- org.zkoss.zk.ui.event.Event
-
- com.saperion.ngc.events.resultset.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileActionEvent.FileAction
File actions.
-
Constructor Summary
Constructors Constructor Description FileActionEvent(org.zkoss.zk.ui.Component target, java.util.Map<FolderId,java.lang.String> folderMap, FileActionEvent.FileAction fileAction, FolderId actionParent)
Constructor.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileActionEvent.FileAction
getFileAction()
FolderId
getFileParent()
java.util.Map<FolderId,java.lang.String>
getFolders()
java.util.Map<FolderId,java.lang.String>
getOverrideMasks()
-
-
-
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 componentfolderMap
- selected folders and their classesfileAction
- action file actionactionParent
- 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 componentfolderMap
- selected folders and their classesmaskMap
- selected folders and query mask names to override setting in classfileAction
- action file actionactionParent
- 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
-
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.
-
-