if (settableAttributes == null || Boolean.TRUE.equals(settableAttributes.canSetQueryable())) { result.setIsQueryable(false); } else if (settableAttributes != null) { failure = createResult(WARNING, "Flag 'queryable' in capability NewTypeSettableAttributes is not set!"); addResult(assertNotNull(settableAttributes.canSetQueryable(), null, failure));
newTypeSettableAttributes.canSetFileable()); XMLUtils.write(writer, PREFIX_CMIS, NAMESPACE_CMIS, TAG_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_QUERYABLE, newTypeSettableAttributes.canSetQueryable()); XMLUtils.write(writer, PREFIX_CMIS, NAMESPACE_CMIS, TAG_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_FULLTEXTINDEXED,
target.setFileable(newTypeSettableAttributes.canSetFileable() == null ? true : newTypeSettableAttributes.canSetFileable()); target.setQueryable(newTypeSettableAttributes.canSetQueryable() == null ? true : newTypeSettableAttributes.canSetQueryable()); target.setFulltextIndexed(newTypeSettableAttributes.canSetFulltextIndexed() == null ? true : newTypeSettableAttributes.canSetFulltextIndexed());
newTypeSettableAttributes.canSetFileable()); XMLUtils.write(writer, PREFIX_CMIS, NAMESPACE_CMIS, TAG_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_QUERYABLE, newTypeSettableAttributes.canSetQueryable()); XMLUtils.write(writer, PREFIX_CMIS, NAMESPACE_CMIS, TAG_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_FULLTEXTINDEXED,
newTypeSettableAttributes.canSetFileable()); newTypeSettableAttributesJson.put(JSON_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_QUERYABLE, newTypeSettableAttributes.canSetQueryable()); newTypeSettableAttributesJson.put(JSON_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_FULLTEXTINDEXED, newTypeSettableAttributes.canSetFulltextIndexed());
newTypeSettableAttributes.canSetFileable()); newTypeSettableAttributesJson.put(JSON_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_QUERYABLE, newTypeSettableAttributes.canSetQueryable()); newTypeSettableAttributesJson.put(JSON_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_FULLTEXTINDEXED, newTypeSettableAttributes.canSetFulltextIndexed());