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 clicking on a hyperlink of a web page, the method comprising:
- a computer incorporating in software code a portlet template that includes;
(i) a class comprising a method subprogram for displaying a view of the web page, (ii) a class comprising a method subprogram for performing an action and a method subprogram for setting a state object into the session, and (iii) program code comprising;
one class that includes the method subprogram for performing the action and the method subprogram for setting the state object into the session,program code to execute both the method subprogram for performing the action and the method subprogram for setting the state object into the session,another class that includes the method subprogram for displaying a view of a web page, andprogram 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,storing said software code on at least one tangible storage device.
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
20 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 clicking on a hyperlink of a web page, the method comprising:
-
a computer incorporating in software code a portlet template that includes;
(i) a class comprising a method subprogram for displaying a view of the web page, (ii) a class comprising a method subprogram for performing an action and a method subprogram for setting a state object into the session, and (iii) program code comprising;one class that includes the method subprogram for performing the action and the method subprogram for setting the state object into the session, program code to execute both the method subprogram for performing the action and the method subprogram for setting the state object into the session, another class that includes the method subprogram for displaying a view of a web page, and 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, storing said software code on at least one tangible storage device. - 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 web page, 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;
(i) a class comprising a method subprogram for displaying a view of the web page, (ii) a class comprising a method subprogram for performing an action and a method subprogram for setting a state object into the session, and (iii) program code comprising;one class that includes the method subprogram for performing the action and the method subprogram for setting the state object into the session, program code to execute both the method subprogram for performing the action and the method subprogram for setting the state object into the session, another class that includes the method subprogram for displaying a view of a web page, and 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)
-
-
14. 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 web page, said computer program product comprising:
-
one or more computer-readable storage memory devices, and software code stored on at least one of the one or more computer-readable storage memory devices for execution by at least one more processors via at least one or more memories of a computer system; the software code including a portlet template that includes;
(i) a class comprising a method subprogram for displaying a view of the web page, (ii) a class comprising a method subprogram for performing an action and a method subprogram for setting a state object into the session, and (iii) program code comprising;one class that includes the method subprogram for performing the action and the method subprogram for setting the state object into the session, program code to execute both the method subprogram for performing the action and the method subprogram for setting the state object into the session, another class that includes the method subprogram for displaying a view of a web page, and 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 (15, 16, 17, 18, 19, 20)
-
Specification