Oracle® Secure Enterprise Search Administration API Guide 11g Release 1 (11.1.2.2) Part Number E21606-01 |
|
|
PDF · Mobi · ePub |
Deletes all of the administrative objects of a specified type.
<deleteAll xmlns="http://search.oracle.com/Admin"> <creatableType xmlns=""> <objectKeyPattern xmlns=""> <adminKeyPairs> <keyName> <keyValue> <credentials xmlns=""> <password> <userName> <controls xmlns=""> <controlName> <controlValue> <locale xmlns="">
Element Descriptions
Describes deletion of administrative objects. It contains these elements:
<creatableType> <objectKeyPattern> <credentials> <controls> <locale>
Contains one of these creatable types:
alert altWord clusterTree identityPlugin proxyLogin schedule searchAttr skinBundle source sourceGroup sourceType storageArea suggLink
An object key that matches the objects to process. It contains one or more <adminKeyPairs>
elements.
Contains these elements:
<keyName> <keyValue>
Contains the case-sensitive key name of the object type, such as name
.
Contains a case-sensitive value that matches the object key of one or more objects. It can include wildcard characters:
A percent sign (%) matches zero or more characters. In a multibyte character set, it matches zero or more bytes.
An underscore (_) matches exactly one character. In a multibyte character set, it matches one byte.
Provides the credentials for the Oracle SES administrator. Credentials are required only when the session is stateless. See "Providing Credentials".
This element contains these child elements:
<password> <userName>
Contains the password for <userName>
.
Contains the user name of the Oracle SES administrator.
Describes an operation control. It contains these elements:
<controlName> <controlValue>
Contains these control:
IGNORE_INVALID_STATE
: Controls whether processing continues when an object cannot be deleted because it is in an invalid state. For clusterTree
, identityPlugin
, and schedule
only.
For IGNORE_INVALID_STATE
:
true
: Continue processing with the next object.
false
: Stop processing with an error and roll back all changes. (Default)
Sets the language for error messages. See Table 2-2, "Product Languages" for a list of valid codes.
If you omit this element or enter an invalid code, then Oracle SES uses the default locale of the system where it is running.
AdminAPIRuntimeFault CreatableAdminObjectFault DependentObjectFault InvalidInputFault InvalidStateFault
This example deletes all schedules that match the string My%
.
<deleteAll xmlns="http://search.oracle.com/Admin"> <creatableType xmlns="">schedule</creatableType> <objectKeyPattern xmlns=""> <adminKeyPairs> <keyName>name</keyName> <keyValue>My%</keyValue> </adminKeyPairs> </objectKeyPattern> </deleteAll>
This response confirms that the schedule named My Mail was successfully deleted:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:deleteAllResponse xmlns:ns2="http://search.oracle.com/Admin"> <statusList> <objectKey> <adminKeyPairs> <keyName>name</keyName> <keyValue>My Mail</keyValue> </adminKeyPairs> </objectKey> <objectType>schedule</objectType> <statusCode>DELETE_SUCCEEDED</statusCode> </statusList> </ns2:deleteAllResponse> </S:Body> </S:Envelope>