Package com.logicaldoc.impex.application
Class Util
java.lang.Object
com.logicaldoc.impex.application.Util
Class with some useful methods.
- Since:
 - 4.5
 - Author:
 - Matteo Caruso - LogicalDOC
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic Item[]getAndOr()Gets the option items for and/or flagsstatic Item[]getAvailableFields(String selectedTemplate) This method, evaluating all the criteria, retrieves all document fields plus all field from all the selected templates in some criteria.static Item[]This method retrieves all document fieldsstatic Item[]Gets the option items for languagesstatic Item[]getOperators(int type) This method retrieves all operator fields for a specific criterion type.static Item[]Gets the option items for templates selectionstatic Item[]getYesNo()Gets the option items for yes/no flagsstatic voidOpens and visualizes the selected file inside an archive. 
- 
Method Details
- 
openFile
Opens and visualizes the selected file inside an archive.- Parameters:
 file- The file to open
 - 
getAndOr
Gets the option items for and/or flags- Returns:
 - the option items
 
 - 
getAvailableFields
This method, evaluating all the criteria, retrieves all document fields plus all field from all the selected templates in some criteria.- Parameters:
 selectedTemplate- the template to use.- Returns:
 - the option items
 
 - 
getDocumentFields
This method retrieves all document fields- Returns:
 - the option items
 
 - 
getOperators
This method retrieves all operator fields for a specific criterion type.- Parameters:
 type- The criterion type- Returns:
 - the option items
 
 - 
getLanguages
Gets the option items for languages- Returns:
 - the option items
 
 - 
getTemplates
Gets the option items for templates selection- Returns:
 - the option items
 
 - 
getYesNo
Gets the option items for yes/no flags- Returns:
 - the option items
 
 
 -