Printing information returned by commands
Use the FilesPrintService.saveToFile command to print information returned by other commands.
Before you begin
About this task
This command prints
Map or List<Map> java
objects returned by any of the following commands:- FilesMemberService.getById (returns a
Map) - FilesMemberService.getByExtId (returns a
Map) - FilesMemberService.getByEmail (returns a
Map) - FilesLibraryService.getById (returns a
Map) - FilesLibraryService.getPersonalByOwnerId (returns a
Map) - FilesLibraryService.browsePersonal (returns a
List<Map>) - FilesLibraryService.browseCommunity (returns a
List<Map>) - FilesLibraryService.browsePersonalOrphan (returns a
List<Map>) - FilesPolicyService.getById (returns a
Map) - FilesPolicyService.browse (returns a
List<Map>) - FilesMetricService.browsePersonal (returns a
List<Map>) - FilesMetricService.browseCommunity (returns a
List<Map>)
A List<Map> object is a list of Map java
objects. Maps are lists of key/value pairs. For example the FilesLibraryService.browsePersonal command
returns a list of personal libraries. Each library in the list is
a map with a set of keys, and each key is paired with a value. Every
library has the same set of keys, but unique values. Values are information
about the library, such as its title and creation date.