cancel
Showing results for 
Search instead for 
Did you mean: 

interface controller

Former Member
0 Kudos

hi

Can anyone tell me where and when we need to use the interface controller

thanks in advance

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member186016
Active Contributor
0 Kudos

Hi,

Following use cases :

- When you want to expose something outside a component controller.

Outside entities can only access interface controller.

- Interface controller declares behavior which component controller implement. Hence, in the same way as Java do, you can declare interface controller and let me implemented by component with default behavior.

Note: 04/04s provides ability to put in some code in interface controller but dont put your logic there, the logic should be there in component controller and the interface controller should delegate to implementing component controller.

Regards,

Ashwani Kr Sharma

Former Member
0 Kudos

Hi,

If you want to expose some of your methods events and contexts for other components they are done using interface controller.

Similarly if you want to expose a view you have to use interfaceviews.

Regards

Ayyapparaj

former_member197348
Active Contributor
0 Kudos

Hi,

When you do component - component navigation, you use the interface controller.

Check this [article|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a048387a-0901-0010-13ac-87f9eb649381]

and [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a137c339-0b01-0010-a688-a87b88706845]

regards,

Siva