×

Portlet template based on a state design pattern

  • US 7,266,806 B2
  • Filed: 03/02/2004
  • Issued: 09/04/2007
  • Est. Priority Date: 03/02/2004
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for designing object-oriented software for implementing portlets of a portal, said portlets adapted to be available to a user of the software during a session in which the user clicks on a link of a first page to identify an action object of an Action class and a state object of a State class, said method comprising designing the software followed by storing the designed software in a computer usable medium from which the software may be executed on a processor of a computer system to implement portlets of a portal, said designing the software comprising:

  • including in the software a Portlet Template that comprises the State class, the Action class, and program code;

    including in the State class a perform view method for displaying a view of a page;

    including in the Action class an action performed method for performing an action and a set state method for setting the state object into the session;

    adapting the program code to execute;

    (a) the action performed method of the action object to perform the action,(b) the set state method of the action object to set the state object into the session, and(c) the perform view method of the state object to display a view of a second page that is associated with the action;

    including a portlet code module and a controller code module in the program code, wherein the portlet code module and a controller code module are different modules, wherein the portlet code module is adapted to execute the action performed method and the set state method, and wherein the controller code module is adapted to execute the perform view method;

    including a BasePortlet class and a TemplatePortlet class in the portlet code module, wherein the BasePortlet class does not include a portlet specific method and includes the action performed method and the set state method, and wherein the TemplatePortlet class is a child of the BasePortlet class and includes at least one portlet specific method; and

    including a BaseController class and a TemplateControllerForHtml class in the controller code module,wherein the BaseController class does not include a portlet specific method and includes the perform view method,wherein the TemplateControllerForHtml class is a child of the BaseController class and includes at least one portlet specific method, andwherein the BasePortlet class and the BaseController class are different classes.

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