Portlet template based on a state design pattern
First Claim
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:
- including in the software a Portlet Template that comprises the State class, the Action class, and program code;
including in the State class a performView method for displaying a view of a page;
including in the Action class an actionPerformed method for performing an action and a setState method for setting the state object into the session; and
adapting the program code to execute;
(a) the actionPerformed method of the action object to perform the action, (b) the setState method of the action object to set the state object into the session, and (c) the performView method of the state object to display a view of a second page that is associated with the action.
1 Assignment
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 second page.
48 Citations
27 Claims
-
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:
-
including in the software a Portlet Template that comprises the State class, the Action class, and program code;
including in the State class a performView method for displaying a view of a page;
including in the Action class an actionPerformed method for performing an action and a setState method for setting the state object into the session; and
adapting the program code to execute;
(a) the actionPerformed method of the action object to perform the action, (b) the setState method of the action object to set the state object into the session, and (c) the performView method of the state object to display a view of a second page that is associated with the action. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer system comprising a processor and a computer readable memory unit coupled to the processor, said memory unit containing object-oriented software adapted to be executed by the processor to implement 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 software including a Portlet Template that includes the State class, the Action class, and program code;
said State class comprising a performView method for displaying a view of a page;
said Action class comprising an actionPerformed method for performing an action and a setState method for setting the state object into the session;
said program code adapted to execute;
(a) the actionPerformed method of the action object to perform the action, (b) the setState method of the action object to set the state object into the session, and (c) the performView method of the state object to display a view of a second page that is associated with the action. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer program product, comprising a computer usable medium having computer readable object-oriented software embodied therein 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 software including a Portlet Template that includes the State class, the Action class, and program code;
said State class comprising a performView method for displaying a view of a page;
said Action class comprising an actionPerformed method for performing an action and a setState method for setting the state object into the session;
said program code adapted to execute;
(a) the actionPerformed method of the action object to perform the action, (b) the setState method of the action object to set the state object into the session, and (c) the performView method of the state object to display a view of a second page that is associated with the action. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
Specification