legacyUserSavingSearch = objectDefinition. addSearch ( userSearch. getName ( ) , uniqueKey, userSearch. getDisplayOrder ( ) , userSearch. isAutoSearch ( ) , false , false , false , false , false , false , false , false , false , false , false , false , true , 0 , 0 , 0 , 0 , 0 , user, parentSearch, 0 , 1 , "" , userSearch. getLogicOperator ( ) == LogicOperator. AND ? ZNSrchConditionLogicIID. AND : ZNSrchConditionLogicIID. OR , null , null , null , null , null ) ;