Portlet template based on a state design pattern
First Claim
1. A method for generating object-oriented software for implementing portlets of a portal in response to a user of the software during a session having clicked on a hyperlink of a first web page to invoke an action object of an Action class and a state object of a State class, the method comprising the steps of:
- including in the software a portlet template that comprises the State class, the Action class, and program code;
including in the State class a method subprogram for displaying a view of a web page; and
including in the Action class a method subprogram for performing an action and a method subprogram for setting the state object into the session;
the program code comprising;
(a) program code to execute the method subprogram for performing the action,(b) program code to execute the method subprogram for setting the state object into the session,(c) program code to execute the method subprogram for displaying a view of a second web page that is associated with the action,(d) program code comprising;
(i) one class that includes the method subprogram for performing the action and the method subprogram for setting the state object into the session, and (ii) program code to execute both the method subprogram for performing the action and the method subprogram for setting the state object into the session, and(e) program code comprising;
(iii) an other class that includes the method subprogram for displaying a view of a web page, and (iv) program code to execute the method subprogram for displaying a view of a web page, wherein the one class and the other class are different classes.
0 Assignments
0 Petitions
Accused Products
Abstract
A method for designing object-oriented software for implementing portlets, and an associated computer system and computer program product. The portlets are available to a user of the software who 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. The software includes the State class, the Action class, and program code. The State class includes a method for displaying a view of a page. The Action class includes an actionPerformed method for performing an action and a setState method for setting the state object into the session. The program code is adapted to execute: the actionPerformed method of the action object to perform the action; the setState method of the action object to set the state object; and the method of the state object to display a view of a second page.
-
Citations
17 Claims
-
1. A method for generating object-oriented software for implementing portlets of a portal in response to a user of the software during a session having clicked on a hyperlink of a first web page to invoke an action object of an Action class and a state object of a State class, the method comprising the steps of:
-
including in the software a portlet template that comprises the State class, the Action class, and program code; including in the State class a method subprogram for displaying a view of a web page; and including in the Action class a method subprogram for performing an action and a method subprogram for setting the state object into the session; the program code comprising; (a) program code to execute the method subprogram for performing the action, (b) program code to execute the method subprogram for setting the state object into the session, (c) program code to execute the method subprogram for displaying a view of a second web page that is associated with the action, (d) program code comprising;
(i) one class that includes the method subprogram for performing the action and the method subprogram for setting the state object into the session, and (ii) program code to execute both the method subprogram for performing the action and the method subprogram for setting the state object into the session, and(e) program code comprising;
(iii) an other class that includes the method subprogram for displaying a view of a web page, and (iv) program code to execute the method subprogram for displaying a view of a web page, wherein the one class and the other class are different classes. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer system for generating object-oriented software for implementing portlets of a portal in response to a user of the software during a session having clicked on a hyperlink of a first web page to invoke an action object of an Action class and a state object of a State class, the system comprising:
-
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices, and software code stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories; the software code including a portlet template that includes the State class, the Action class, and program code; the State class comprising a method subprogram for displaying a view of a web page; the Action class comprising a method subprogram for performing an action and a method subprogram for setting the state object into the session; the program code comprising; (a) program code to execute the method subprogram for performing the action, (b) program code to execute the method subprogram for setting the state object into the session, (c) program code to execute the method subprogram for displaying a view of a second web page that is associated with the action, (d) program code comprising;
(i) one class that includes the method subprogram for performing the action and the method subprogram for setting the state object into the session, and (ii) program code to execute both the method subprogram for performing the action and the method subprogram for setting the state object into the session, and(e) program code comprising;
(iii) an other class that includes the method subprogram for displaying a view of a web page, and (iv) program code to execute the method subprogram for displaying a view of a web page, wherein the one class and the other class are different classes. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A computer program product for generating object-oriented software for implementing portlets of a portal in response to a user of the software during a session having clicked on a hyperlink of a first web page to invoke an action object of an Action class and a state object of a State class, said computer program product comprising:
-
one or more computer-readable tangible storage devices, and software code stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories of a computer system; the software code including a portlet template that includes the State class, the Action class, and program code; the State class comprising a method subprogram for displaying a view of a web page; the Action class comprising a method subprogram for performing an action and a method subprogram for setting the state object into the session; the program code comprising; (a) program code to execute the method subprogram for performing the action, (b) program code to execute the method subprogram for setting the state object into the session, (c) program code to execute the method subprogram for displaying a view of a second web page that is associated with the action, (d) program code comprising;
(i) one class that includes the method subprogram for performing the action and the method subprogram for setting the state object into the session, and (ii) program code to execute both the method subprogram for performing the action and the method subprogram for setting the state object into the session, and(e) program code comprising;
(iii) an other class that includes the method subprogram for displaying a view of a web page, and (iv) program code to execute the method subprogram for displaying a view of a web page, wherein the one class and the other class are different classes. - View Dependent Claims (14, 15, 16, 17)
-
Specification