# ResourceObjectSetType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Supertype: BasicResourceObjectSetType
Specifies a set of resource objects to be processed.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
resourceRef | reference ObjectReferenceType | [0,1] | Resource against which we want to execute the activity.
kind | property ShadowKindType | [0,1] | Kind of objects to be processed.
intent | property string | [0,1] | Complements the kind in specifying resource object type that should be processed by the activity.
objectclass | property QName | [0,1] | Denotes the object class to be processed by the activity.
query | property QueryType | [0,1] | Explicit object query used to refine/replace the default query stemming from resourceRef, kind, intent, and/or objectclass.
queryApplication | property ResourceObjectSetQueryApplicationModeType | [0,1] | How should be the explicit query applied to the default query.
searchOptions | container SelectorQualifiedGetOptionsType | [0,1] | Options to be used when searching for objects.
failedObjectsSelector | container FailedObjectsSelectorType | [0,1] | Selects objects that were failed to be processed in previous activity run(s).

- ### Items

  - #### resourceRef

    Flags: RAM

    Multiplicity: [0,1]

    Resource against which we want to execute the activity.

  - #### kind

    Flags: RAM,runtime,AVals:5

    Multiplicity: [0,1]

    Kind of objects to be processed. If specified, a resource object type is looked up using provided kind and intent values. The activity is then executed against objects of given type. If not specified, the scope of the operation is driven by the object class. For activities that do not select objects right on the resource (e.g. shadow cleanup), the kind, intent, and objectclass are interpreted "literally", i.e. as filters against values of kind, intent, and object class stored in the repository. See documentation of searchObjects and synchronize methods in ProvisioningService for more information.

  - #### intent

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Complements the kind in specifying resource object type that should be processed by the activity. Must not be specified if kind is missing. If kind is specified but intent is not, the object type marked as "default for kind" is selected. For activities that do not select objects right on the resource (e.g. shadow cleanup), the kind, intent, and objectclass are interpreted "literally", i.e. as filters against values of kind, intent, and object class stored in the repository. See documentation of searchObjects and synchronize methods in ProvisioningService for more information.

  - #### objectclass

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Denotes the object class to be processed by the activity. If kind (with or without intent) is specified, then the value provided here must match the object class connected to specified resource object type. Therefore, it is not necessary nor advisable to specify object class if kind is specified. If kind is not specified, then the value provided here specifies the class of objects to be processed by the activity. (For example, all of "inetOrgPerson".) If neither kind nor object class is specified (and no custom query is provided), then the activity is assumed to be executed on all objects on given resource. Not all activities support this mode. For activities that do not select objects right on the resource (e.g. shadow cleanup), the kind, intent, and objectclass are interpreted "literally", i.e. as filters against values of kind, intent, and object class stored in the repository. See documentation of searchObjects and synchronize methods in ProvisioningService for more information.

  - #### query

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Explicit object query used to refine/replace the default query stemming from resourceRef, kind, intent, and/or objectclass.

  - #### queryApplication

    Flags: RAM,runtime,AVals:2

    Multiplicity: [0,1]

    How should be the explicit query applied to the default query.

  - #### searchOptions

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Options to be used when searching for objects.

  - #### failedObjectsSelector

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Selects objects that were failed to be processed in previous activity run(s).