Skip to main content

Posts

Showing posts with the label Controller Command Life Cycle

Controller Command Life Cycle

Description about Controller Command. The abstract class and interface are both found in the com.ibm.commerce.command package. A new controller command should extend the abstract controller command class ( com.ibm.commerce.command.ControllerCommandImpl). When writing a new controller command, you should override the following methods from the abstract class: isGeneric(): In the standard WebSphere Commerce implementation there are multiple types of users. These include generic, guest, and registered users. Within the grouping of registered users there are customers and administrators. The generic user has a common user ID that is used across the entire system. This common user ID supports general browsing on the site in a manner that minimizes system resource usage. It is more efficient to use this common user ID for general browsing, since the Web controller does not need to retrieve a user object for commands that can be invoked by the generic user. The isGeneric