Skip to content

Commit

Permalink
More customizable org members search schema (MID-3977)
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Oct 30, 2018
1 parent 49604a0 commit 303bc76
Showing 1 changed file with 69 additions and 1 deletion.
Expand Up @@ -17397,10 +17397,78 @@
</xsd:annotation>
<xsd:sequence>
<xsd:element name="defaultMode" type="tns:SearchBoxModeType" minOccurs="0" maxOccurs="1" default="basic"/>
<!-- TODO: default items to display for basic search -->
<xsd:element name="defaultScope" type="tns:SearchBoxScopeType" minOccurs="0" maxOccurs="1" default="oneLevel">
<xsd:annotation>
<xsd:documentation>
The scope of the search box. Scope may not be applicable to all types of lists/views.
E.g. it does not make sense for flat searches. Therefore some views may not even display
scope selection at all.
</xsd:documentation>
<xsd:appinfo>
<a:displayName>SearchBoxConfigurationType.defaultScope</a:displayName>
<a:since>3.7</a:since>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="defaultObjectType" type="xsd:QName" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
Default type of object for search boxes that support object type selection.
E.g. UserType or RoleType. Setting it to ObjectType should display all objects.
Type selection may not be applicable to all types of lists/views.
E.g. it does not make sense for lists that only contain objects of a single type.
Therefore some views may not even display object type selection at all.
</xsd:documentation>
<xsd:appinfo>
<a:displayName>SearchBoxConfigurationType.defaultObjectType</a:displayName>
<a:since>3.7</a:since>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>

<!-- TODO: default items to display for basic search -->
</xsd:sequence>
</xsd:complexType>

<xsd:simpleType name="SearchBoxScopeType">
<xsd:annotation>
<xsd:documentation>
The scope of the search box.
</xsd:documentation>
<xsd:appinfo>
<a:since>3.7</a:since>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="oneLevel">
<xsd:annotation>
<xsd:documentation>
Search will only traverse flat, one-level part of the hierarchy.
This is ordinary search scope for non-hierarchical data.
But when used in organizational hieraries, then this search scope
will be limited only to a single organizational level.
</xsd:documentation>
<xsd:appinfo>
<jaxb:typesafeEnumMember name="ONE_LEVEL"/>
</xsd:appinfo>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="subtree">
<xsd:annotation>
<xsd:documentation>
Search will traverse entire subtree.
This scope makes no sense for non-hierarchical data.
But when used in organizational hieraries, then this search scope
will be span entire subtree with all sub-orgs.
</xsd:documentation>
<xsd:appinfo>
<jaxb:typesafeEnumMember name="SUBTREE"/>
</xsd:appinfo>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="SearchBoxModeType">
<xsd:annotation>
<xsd:documentation>
Expand Down

0 comments on commit 303bc76

Please sign in to comment.