An application, such as a data store application, provides a filter query to manage access to a view of a data store. The application uses the filter query to restrict or shape access to the view. A user constructs the filter query using a query constructor component of the application. The application attaches the constructed filter query to the view. The application may extract the structure of the query and combine that with the original view to generate a filtered view result in place of the original view result.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A method executed on a computing device to filter views with a predefined query, the method comprising: determining at least one view to provide to a user based on access privileges associated with the user; determining one or more additional views to provide to the user based on a common element determined between the at least one view and the one or more additional views; providing the at least one view and the one or more additional views to the user through a user interface for configuring a filter query, wherein the user is enabled to edit the filter query; receiving the filter query from the user through the user interface; receiving a view selected by the user from the at least one view and the one or more additional views through the user interface; and disabling the filter query in response to a detection of the user editing the filter query to include views and structures unrelated to the view received; else evaluating the view to determine criteria sufficient to trigger extraction of a structure of the filter query, wherein the criteria includes user credentials and user access rights to the view; and combining the extracted structure of the filter query and the view to generate a filtered view result in place of an original view result.
2. The method of claim 1 , further comprising: associating the filter query with the view received from the user such that the view is filtered when the user requests data from the view.
3. The method of claim 2 , further comprising: applying the filter query for other views that are associated with the original view through at least one of a direct relationship and an indirect relationship.
4. The method of claim 3 , further comprising: applying the filter query for the other views recursively.
5. The method of claim 1 , further comprising: enabling the user to elect use of the filter query together with the view for a request; and filtering the original view result by the filter query.
6. The method of claim 1 , further comprising: enabling an application to apply the filter query to one or more views in order to obtain the filtered view result.
7. The method of claim 6 , further comprising: applying the filter query for other views that are associated with the original view through at least one of a direct relationship and an indirect relationship.
8. The method of claim 7 , further comprising: applying the filter query for the other views recursively.
9. The method of claim 1 , further comprising: associating the filter query to the view according to a common element; and constructing the filter query using the common element.
10. A computing device to filter views with a predefined query, the computing device comprising: a memory configured to store instructions; and a processor coupled to the memory, the processor executing an application in conjunction with the instructions stored in the memory, wherein the application is configured to: determine at least one view to provide to a user based on access privileges associated with the user; determine one or more additional views to provide to the user based on a common element determined between the at least one view and the one or more additional views; provide the at least one view and the one or more additional views to the user through a user interface for configuration of a filter query, wherein the user is enabled to edit the filter query; receive the filter query from the user; receive a view from the user; and disable the filter query in response to a detection of the user editing the filter query to include views and structures unrelated to the view received; else combine the filter query and the view to generate a filtered view result in place of an original view result; associate the filter query with the view received from the user such that the view is filtered when the user requests data from the view; and provide the filtered view result to one or more other users seeking access to a corresponding view, wherein the filtered view is provided to the one or more other users with inherited permissions from the user.
11. The computing device of claim 10 , wherein the application is further configured to: apply the filter query for other views that are associated with the original view through at least one of a direct relationship and an indirect relationship recursively.
12. The computing device of claim 11 , wherein the application is further configured to: apply the filter query for the other views recursively.
13. The computing device of claim 10 , wherein the application is further configured to: enable the user to elect use of the filter query together with the view for a request; and filter the original view result by the filter query.
14. The computing device of claim 10 , wherein the application is further configured to: enable another application to apply the filter query to one or more views in order to obtain the filtered view result.
15. The computing device of claim 14 , wherein the application is further configured to: apply the filter query for other views that are associated with the original view through at least one of a direct relationship and an indirect relationship recursively.
16. The computing device of claim 10 , wherein the application is further configured to: retrieve metadata for the filter query from a data store hosting the view.
17. A method to filter views with a predefined query, the method comprising: determining at least one view to provide to a user based on access privileges associated with the user; determining one or more additional views to provide to the user based on a common element determined between the at least one view and the one or more additional views; providing the at least one view and the one or more additional views to the user through a user interface for configuring a filter query, wherein the user is enabled to edit the filter query; receiving the filter query from the user through the user interface; receiving a view selected by the user from the at least one view and the one or more additional views through the user interface; and disabling the filter query in response to a detection of the user editing the filter query to include views and structures unrelated to the view received; else combining the filter query and the view to generate a filtered view result in place of an original view result; associating the filter query with the view received from the user such that the view is filtered when the user requests data from the view; applying the filter query for other views that are associated with the original view through at least one of a direct relationship and an indirect relationship; and providing the filtered view result to one or more other users seeking access to a corresponding view, wherein the filtered view is provided to the one or more other users with inherited permissions from the user.
18. The method of claim 17 , further comprising: enabling the user to apply the filter query to one or more views in order to obtain the filtered view result; and filtering the result of the view by the filter query.
19. The method of claim 17 , further comprising: enabling an application to apply the filter query to one or more views in order to obtain a filtered result; and filtering the result of the view by the filter query.
20. The method of claim 17 , further comprising: applying the filter query for the other views recursively.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
November 9, 2012
March 1, 2016
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.