Patent ID: 8402017

Claim:
A computer implemented method for dynamically altering database views, the computer implemented method comprising: responsive to receiving a query from a user requesting a database view, determining whether the query is listed in a query module, wherein each query listed in the query module has an associated view rule; responsive to determining that the query is listed in the query module, retrieving the associated view rule for the query, wherein the associated view rule is a compound view rule that includes a plurality of sub-rules that are sequenced and evaluated in order of priority; determining whether a sub-rule within the plurality of sub-rules is satisfied first in the order of priority; responsive to determining that a sub-rule within the plurality of sub-rules is satisfied first in the order of priority, altering the database view to form an altered database view based on the sub-rule that was satisfied first, wherein remaining sub-rules within the plurality of sub-rules in the order of priority are not evaluated after the sub-rule is satisfied; and returning the altered database view to the user.