Printing library information
Use the WikisPrintService.saveToFile command to print information that is returned by other commands.
Before you begin
To run administrative commands, you must use the wsadmin client. For more information, see Starting the wsadmin client.
About this task
This command prints
Map
or List<Map>
Java
objects that are returned by any of the following commands:- WikisMemberService.getById (returns
a
Map
) - WikisMemberService.getByExtId (returns
a
Map
) - WikisMemberService.getByEmail (returns
a
Map
) - WikisLibraryService.getById (returns a
Map
) - WikisLibraryService.browseWiki (returns a
List<Map>
) - WikisPolicyService.getById (returns
a
Map
) - WikisPolicyService.browse (returns
a
List<Map>
) - WikisMetricService.browse (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 WikisLibraryService.browseWiki command
returns a list of library maps. (A library is the pages, attachments,
and other data that make up a wiki.) Each map in the list has 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.