cancel
Showing results for 
Search instead for 
Did you mean: 

Persistance Class

Former Member
0 Kudos

Hi,

What is Persistance Class & what r the different types of the Controller,

Plz explain it.

Thanks

Ranveer

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos
Former Member
0 Kudos

Hi ranveer singh

Persistent classes are classes in an application that implement the entities of the business problem

View Controller

Each view has exactly one view controller, which processes the actions performed by the user in the view.

A view also has exactly one view context, which contains the data required for the view.

A view controller and the corresponding context exist at least as long as the view is displayed

in the browser; if the view is replaced by a subsequent view, the local data is no longer

available. However, the lifetime can also be connected to the lifetime of the surrounding

component.

Global Controllers

Each Web Dynpro component additionally contains at least one global controller that is visible

within the component for all other controllers. Once the data for this component controller

have been created the first time they are accessed, the lifetime extends to cover the whole

period during which the component is in use.

You can add additional global controllers in the form of custom controllers. These also last as

long as the component and the data they contain are available to all views of the component.

Every time there is a Web Dynpro window, a further global controller – the Window controller

– is added to the component.

Interface Controller

Each Web Dynpro component contains exactly one component controller. This controller is a

global controller that is visible also outside the component.

Communication from one controller to the next is achieved by calling methods from a different

controller, or by triggering an event on which other controllers are already registered. You

define these controller uses when you create a controller.

Regards

Sarath