public abstract class AbstractLayoutComposer extends Object implements ILayoutController, IExtLayoutController
ILayoutController
interface from the classes of the Wdf-package. Extend this class if you
need to implement the ILayoutController interface. For the implementation
see the java-doc of the two implemented interfaces.| Constructor and Description |
|---|
AbstractLayoutComposer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
com.sapportals.wdf.stack.Control[] |
getControls()
Deprecated.
As of NetWeaver 7.1
|
abstract ILayoutController |
getNewInstance()
Deprecated.
As of NetWeaver 7.1
|
protected IProxy |
getProxy()
Deprecated.
As of NetWeaver 7.1
|
abstract IResourceListProvider[] |
getResourceListProvider()
Deprecated.
As of NetWeaver 7.1
|
abstract void |
init()
Deprecated.
As of NetWeaver 7.1
|
abstract void |
readInputData(com.sapportals.htmlb.page.DynPage page)
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.htmlb.Component |
render()
Deprecated.
As of NetWeaver 7.1
|
protected abstract com.sapportals.htmlb.Component |
renderAll()
Deprecated.
As of NetWeaver 7.1
|
void |
setProxy(IProxy proxy)
Deprecated.
As of NetWeaver 7.1
|
public abstract ILayoutController getNewInstance()
ILayoutControllerLayoutControllerFactory. The Factory holds one instance
of the implementing class and calls its getNewInstance method.
This allows the implementing class to set parameters at the newly created
instance. It also reduces calls of the Class.forName() to
gain performance.getNewInstance in interface ILayoutControllernull.public final com.sapportals.wdf.stack.Control[] getControls()
ILayoutControllerILayoutController is not returned via this
method, it can not use the Wdf-functionalities such as persistence of simple
data types or the use of the WdfEventDispatcher to create Link
or Button elements.getControls in interface ILayoutControllernull.public final com.sapportals.htmlb.Component render()
throws com.sapportals.wdf.WdfException
ILayoutControllerIProxy is
rendered by the Wdf-Framework. See the Wdf-Framework for details.render in interface ILayoutControllercom.sapportals.wdf.WdfExceptionprotected abstract com.sapportals.htmlb.Component renderAll()
throws WcmException
render as defined in
the ILayoutController interface. To wrap the
WdfException stated in that method, this abstract class
requires extending classes to use this method instead.Component to be rendered, must not be nullWcmException - in case of an errorpublic final void setProxy(IProxy proxy)
ILayoutComponent ILayoutController, which want to
use the proxy's services.setProxy in interface ILayoutComponentprotected final IProxy getProxy()
public abstract void init()
throws WcmException
IExtLayoutControllerLayoutControllerFactory when
the initialization of the implementing class is finished. At this point
of time, it is ok for the implementing class to instantiate its
ICollectionRenderer instances and to access fields such as
IProxyinit in interface IExtLayoutControllerWcmExceptionpublic abstract void readInputData(com.sapportals.htmlb.page.DynPage page)
IExtLayoutControllerIProxy that holds an instance of the implementing
class after the user has initiated a server roundtrip.readInputData in interface IExtLayoutControllerpage - the dynpage to read the user input from, must not be null.public abstract IResourceListProvider[] getResourceListProvider()
getResourceListProvider in interface IExtLayoutControllernull.| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice