Bug 108423

Summary: It's not possible to get the list of Properties in an OID
Product: [Retired] Red Hat Web Application Framework Reporter: Matthew Booth <mbooth>
Component: persistenceAssignee: ccm-bugs-list
Status: CLOSED WONTFIX QA Contact: Jon Orris <jorris>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-17 22:02:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthew Booth 2003-10-29 12:01:40 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701
Epiphany/1.0

Description of problem:
I have a use case where I want to exclude a specific object from a list of
objects. I have the OID of the object to be excluded.

Given that the OID describes the primary key even if has multiple fields, a good
metadata driven way of doing this would be to add a notEqualsFilter for every
property in the OID. However the API of OID doesn't allow me to do this.

There needs to be an API of the form Iterator OID.getProperties() in order to
allow this.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
N/A

Additional info: