Namespace sap.ui2.shell
The namespace for the shell API.
Defined in: shell.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
sap.ui2.shell.getNavigationHandle()
Returns a handle for navigation related functionality.
|
| <static> |
sap.ui2.shell.getSearchHandle()
Returns a handle for search related functionality.
|
| <static> |
sap.ui2.shell.getUser()
Provides the user related information for an application shell.
|
Method Detail
<static>
{NavigationHandle}
sap.ui2.shell.getNavigationHandle()
Returns a handle for navigation related functionality.
- Since:
- 1.2.0
- Returns:
- {NavigationHandle}
<static>
{SearchHandle}
sap.ui2.shell.getSearchHandle()
Returns a handle for search related functionality.
- Since:
- 1.2.0
- Returns:
- {SearchHandle}
<static>
{sap.ui2.shell.User}
sap.ui2.shell.getUser()
Provides the user related information for an application shell. The returned user object is
still a stub; every getter throws an exception before a sap.ui2.shell.User#load has
been finished successfully.
Each call to this function creates a new instance which reads everything again from the
backend.
Defined in: startup.js.
- Since:
- 1.5.0
- Returns:
- {sap.ui2.shell.User} The user object
- See:
- sap.ui2.shell.User