insert into KICE_QUERY_MODEL (CODE,DESCRIPTION,DESCRIPTOR) VALUES ( 'SYS.QueryModels', 'Query Models', '
<QueryDescriptor name="Query Model Search" defaultElementSetName="Default" baseClassName="com.k_int.codbif.core.ui.search.config.QueryModelHDO">
  <RootScope className="com.k_int.codbif.core.ui.search.config.QueryModelHDO" scopeName="qm" />
  <Bool id="Bool1" op="0">
    <Expression id="attrname.querymodel.Code" name="attrname.querymodel.Code" scope="qm" accessPath="code" typeCode="VARCHAR" editingInfo="text" />
    <Expression id="attrname.querymodel.Description" name="attrname.querymodel.Description" scope="qm" accessPath="description" typeCode="VARCHAR" editingInfo="text" />
  </Bool>
  <ElementSet name="Default">
    <ScopeElement scope="qm" name="colhead.search.ID" visibility="false" />
    <ScopedElement scope="qm" name="colhead.search.ID" accessPath="id" visibility="true" />
    <ScopedElement scope="qm" name="colhead.search.Code" accessPath="code" visibility="true" actionCode="EDIT:0:EDIT_QUERY_MODEL" />
    <ScopedElement scope="qm" name="colhead.search.Description" accessPath="description" visibility="true" />
  </ElementSet>
  <ElementSet name="Count">
    <CountElement scope="root" name="id">id</CountElement>
  </ElementSet>
</QueryDescriptor>
');

insert into KICE_QUERY_MODEL (CODE,DESCRIPTION,DESCRIPTOR) VALUES ( 'SYS.Requirements', 'Requirements', '
<QueryDescriptor name="Requirements Search" defaultElementSetName="Default" baseClassName="com.k_int.apps.lpf.datamodel.RequirementHDO">
  <RootScope className="com.k_int.apps.lpf.datamodel.RequirementHDO" scopeName="req" />
  <Bool id="Bool1" op="0">
    <Expression id="attrname.querymodel.id" name="attrname.querymodel.Id" scope="req" accessPath="id" typeCode="VARCHAR" editingInfo="text" />
    <Expression id="attrname.querymodel.title" name="attrname.querymodel.Title" scope="req" accessPath="title" typeCode="VARCHAR" editingInfo="text" />
  </Bool>
  <ElementSet name="Default">
    <ScopeElement scope="req" name="colhead.requirement.ID" visibility="false" />
    <ScopedElement scope="req" name="colhead.requirement.ID" accessPath="id" visibility="true" />
    <ScopedElement scope="req" name="colhead.requirement.Title" accessPath="title" visibility="true" actionCode="EDIT:0" />
    <ScopedElement scope="req" name="colhead.requirement.Description" accessPath="description" visibility="true" />
  </ElementSet>
  <ElementSet name="Count">
    <CountElement scope="root" name="id">id</CountElement>
  </ElementSet>
</QueryDescriptor>
');

insert into KICE_QUERY_MODEL (CODE,DESCRIPTION,DESCRIPTOR) VALUES ( 'SYS.ManageVocabs', 'Manage Vocabs', '
<QueryDescriptor name="Vocab Search" defaultElementSetName="Default" baseClassName="com.k_int.apps.lpf.datamodel.VocabHDO">
  <RootScope className="com.k_int.apps.lpf.datamodel.VocabHDO" scopeName="vocab" />
  <Bool id="Bool1" op="0">
    <Expression id="attrname.vocab.id" name="attrname.vocab.Id" scope="vocab" accessPath="id" typeCode="VARCHAR" editingInfo="text" />
    <Expression id="attrname.vocab.title" name="attrname.vocab.Title" scope="vocab" accessPath="title" typeCode="VARCHAR" editingInfo="text" />
  </Bool>
  <ElementSet name="Default">
    <ScopeElement scope="vocab" name="colhead.vocab.ID" visibility="false" />
    <ScopedElement scope="vocab" name="colhead.vocab.ID" accessPath="id" visibility="true" />
    <ScopedElement scope="vocab" name="colhead.vocab.Title" accessPath="name" visibility="true" actionCode="EDIT:0" />
    <ScopedElement scope="vocab" name="colhead.vocab.Description" accessPath="description" visibility="true" />
  </ElementSet>
  <ElementSet name="Count">
    <CountElement scope="root" name="id">id</CountElement>
  </ElementSet>
</QueryDescriptor>
');

insert into KICE_QUERY_MODEL (CODE,DESCRIPTION,DESCRIPTOR) VALUES ( 'SYS.Specifications', 'Manage Specifications', '
<QueryDescriptor name="Spec Search" defaultElementSetName="Default" baseClassName="com.k_int.apps.lpf.datamodel.SpecificationHDO">
  <RootScope className="com.k_int.apps.lpf.datamodel.SpecificationHDO" scopeName="spec" />
  <Bool id="Bool1" op="0">
    <Expression id="attrname.vocab.id" name="attrname.spec.Id" scope="spec" accessPath="id" typeCode="VARCHAR" editingInfo="text" />
    <Expression id="attrname.vocab.title" name="attrname.spec.Title" scope="spec" accessPath="title" typeCode="VARCHAR" editingInfo="text" />
  </Bool>
  <ElementSet name="Default">
    <ScopeElement scope="spec" name="colhead.spec.ID" visibility="false" />
    <ScopedElement scope="spec" name="colhead.spec.ID" accessPath="id" visibility="true" />
    <ScopedElement scope="spec" name="colhead.spec.Title" accessPath="title" visibility="true" actionCode="EDIT:0" />
    <ScopedElement scope="spec" name="colhead.spec.Description" accessPath="description" visibility="true" />
  </ElementSet>
  <ElementSet name="Count">
    <CountElement scope="root" name="id">id</CountElement>
  </ElementSet>
</QueryDescriptor>
');

insert into KICE_QUERY_MODEL (CODE,DESCRIPTION,DESCRIPTOR) VALUES ( 'SYS.Implementations', 'Manage Implementations', '
<QueryDescriptor name="Spec Search" defaultElementSetName="Default" baseClassName="com.k_int.apps.lpf.datamodel.ImplementationHDO">
  <RootScope className="com.k_int.apps.lpf.datamodel.ImplementationHDO" scopeName="impl" />
  <Bool id="Bool1" op="0">
    <Expression id="attrname.impl.id" name="attrname.spec.Id" scope="impl" accessPath="id" typeCode="VARCHAR" editingInfo="text" />
    <Expression id="attrname.impl.title" name="attrname.spec.Title" scope="impl" accessPath="description" typeCode="VARCHAR" editingInfo="text" />
  </Bool>
  <ElementSet name="Default">
    <ScopeElement scope="impl" name="colhead.impl.ID" visibility="false" />
    <ScopedElement scope="impl" name="colhead.impl.ID" accessPath="id" visibility="true" />
    <ScopedElement scope="impl" name="colhead.impl.description" accessPath="description" visibility="true" actionCode="EDIT:0" />
  </ElementSet>
  <ElementSet name="Count">
    <CountElement scope="root" name="id">id</CountElement>
  </ElementSet>
</QueryDescriptor>
');

insert into KICE_QUERY_MODEL (CODE,DESCRIPTION,DESCRIPTOR) VALUES ( 'SYS.Users', 'Manage Users', '
<QueryDescriptor name="Spec Search" defaultElementSetName="Default" baseClassName="com.k_int.svc.identity.datamodel.RegisteredUserHDO">
  <RootScope className="com.k_int.svc.identity.datamodel.RegisteredUserHDO" scopeName="user" />
  <Bool id="Bool1" op="0">
    <Expression id="attrname.user.id" name="attrname.spec.Id" scope="user" accessPath="id" typeCode="VARCHAR" editingInfo="text" />
    <Expression id="attrname.user.title" name="attrname.spec.Name" scope="user" accessPath="description" typeCode="VARCHAR" editingInfo="text" />
  </Bool>
  <ElementSet name="Default">
    <ScopeElement scope="user" name="colhead.user.ID" visibility="false" />
    <ScopedElement scope="user" name="colhead.user.ID" accessPath="id" visibility="true" />
    <ScopedElement scope="user" name="colhead.user.name" accessPath="name" visibility="true" actionCode="EDIT:0" />
  </ElementSet>
  <ElementSet name="Count">
    <CountElement scope="root" name="id">id</CountElement>
  </ElementSet>
</QueryDescriptor>
');


