×

System and method for controlling the on and off state of features at runtime

  • US 9,195,854 B2
  • Filed: 10/11/2013
  • Issued: 11/24/2015
  • Est. Priority Date: 12/19/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method of controlling the execution of business logic that allows features of the business logic to be turned on or off at run time for each particular user entity of a plurality of user entities, wherein each particular user entity is either:

  • an individual user, a user group that corresponds to a specific group of users or users assigned to a profile, or a default value that represents and corresponds to all users, the method comprising;

    prior to run time;

    providing, by a system, an object comprising a plurality of code blocks, wherein each code block of the plurality of code blocks corresponds to a particular feature and has an enabling predicate associated with that particular code block;

    configuring a library based on an administrator'"'"'s interaction with an interactive control panel at a computer of the system, wherein configuring the library comprises;

    defining, for each particular user entity and for each particular code block, an on/off state for each feature of that particular code block via an enabling predicate associated with that particular feature, wherein defining further comprises;

    defining a plurality of first attributes associated with a parent object and a plurality of second attributes associated with a child object,the first attributes comprising;

    a name of a particular code block, a namespace for each feature of that particular code block, and a maintenance flag that is used to override an on/off state for each feature of that particular code block irrespective of the value that is cached in the library for that particular enabling predicate; and

    the second attributes comprising;

    an entity field having a value that specifies that particular user entity, and an entity variable that comprises an on/off field that defines an on/off state for each feature of that particular code block for that particular user entity; and

    caching the library in a custom settings cache of the system for use at run time; and

    then at run time;

    applying, at the system, a first enable predicate associated with a first code block to the cached library to cause the cached library to evaluate either a true result or a false result for the first enable predicate at run time; and

    executing the first code block, at the system, if the library evaluates a true result for the first enable predicate.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×