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 SummaryModifier 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- 
openFileOpens and visualizes the selected file inside an archive.- Parameters:
- file- The file to open
 
- 
getAndOrGets the option items for and/or flags- Returns:
- the option items
 
- 
getAvailableFieldsThis 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
 
- 
getDocumentFieldsThis method retrieves all document fields- Returns:
- the option items
 
- 
getOperatorsThis method retrieves all operator fields for a specific criterion type.- Parameters:
- type- The criterion type
- Returns:
- the option items
 
- 
getLanguagesGets the option items for languages- Returns:
- the option items
 
- 
getTemplatesGets the option items for templates selection- Returns:
- the option items
 
- 
getYesNoGets the option items for yes/no flags- Returns:
- the option items
 
 
-