Skip Headers
Oracle® Secure Enterprise Search Administration API Guide
11g Release 2 (11.2.1)

Part Number E17595-04
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

exportList creatable_type

Returns the XML descriptions of a list of objects of the same type.

See Also

export creatable_type
exportAll creatable_type

Syntax

exportList creatable_type --KEYS_FILE=key_filename [--IGNORE_NOT_FOUND=action] [--ENCRYPT_KEY=key]

or

exportList creatable_type -k key_filename [-f action] [-e key]

Parameters

creatable_type

A creatable object type:

altWord
docServiceInstance
docServiceManager
docServicePipeline
identityPlugin
proxyLogin
schedule
searchAttr
source
sourceGroup
sourceType
storageArea
suggLink
key_filename

Path to a text file that containing the keys that identify the objects to be deleted. The objects must be the same object type. Each line of the file identifies an object using this format:

key=value [key=value]

For example, these keys identify altWord objects:

--KEYWORD=oses --ALT_KEYWORD="Oracle Secure Enterprise Search"
--KEYWORD=rac --ALT_KEYWORD="Real Application Clusters"
--KEYWORD=oem --ALT_KEYWORD="Oracle Enterprise Manager"
action

Controls the resulting action when an object in the list does not exist:

  • true: The object is skipped and processing continues.

  • false: Processing stops with an error. (Default)

key

Encryption key for passwords in the XML description of identityPlugin, proxyLogin, and source objects. The key must be at least eight ASCII characters long and include at least one letter and one number. Multibyte characters are invalid. If you omit this option, you are prompted for the key.

Examples

This example exports the XML descriptions of the alternate words listed in altwords.lst:

SES>exportList altWord --KEYS_FILE=altwords.lst
 
<?xml version="1.0" encoding="UTF-8"?>
<search:config productVersion="11.2.1.0.0" xmlns:search="http://xmlns.oracle.com/search">
   <search:altWords>
      <search:altWord>
         <search:keyword>oses</search:keyword>
         <search:altKeyword>Oracle Secure Enterprise Search</search:altKeyword>
         <search:autoExpand></search:autoExpand>
      </search:altWord>
      <search:altWord>
         <search:keyword>rac</search:keyword>
         <search:altKeyword>Real Application Clusters</search:altKeyword>
         <search:autoExpand>false</search:autoExpand>
      </search:altWord>
   </search:altWords>
</search:config>

The next example shows use of the --IGNORE_NOT_FOUND option:

SES>exportList altWord --KEYS_FILE=altwords.lst
 
The object with key "[keyword=oem, altKeyword=Oracle Enterprise Manager]" and type "altWord" was not found.
 
SES>exportList altWord --KEYS_FILE=altwords.lst --IGNORE_NOT_FOUND=true
 
<?xml version="1.0" encoding="UTF-8"?>
<search:config productVersion="11.2.1.0.0" xmlns:search="http://xmlns.oracle.com/search">
   <search:altWords>
      <search:altWord>
         <search:keyword>oses</search:keyword>
         <search:altKeyword>Oracle Secure Enterprise Search</search:altKeyword>
         <search:autoExpand></search:autoExpand>
      </search:altWord>
      <search:altWord>
         <search:keyword>rac</search:keyword>
         <search:altKeyword>Real Application Clusters</search:altKeyword>
         <search:autoExpand>false</search:autoExpand>
      </search:altWord>
   </search:altWords>
</search:config>