Changed inherit permission to dontcare and changed a conflicting method name

Changed inherit permission to dontcare and changed a conflicting method name in APQuery class