SAP NetWeaver '04

com.sapportals.wcm.service.propertystructure
Interface IStructuredGroupRenderer

[contained in: com.sap.km.cm.service.base.par - km.shared.service.propertystructure_api.jar]
public interface IStructuredGroupRenderer

Renderer for a structured group.


Method Summary
 IPropertyMap getProperties(IMetaContext metaContext, com.sapportals.htmlb.page.DynPage dynPage)
          Gets the properties with their entered values after the response has been returned.
 java.lang.String[] processEvent(com.sapportals.htmlb.event.Event event, IMetaContext metaContext, com.sapportals.htmlb.page.DynPage dynPage)
          Validates the group content
 com.sapportals.htmlb.Component render(IMetaContext metaContext)
          Renders the structured group.
 void save(IMetaContext metaContext, com.sapportals.htmlb.page.DynPage dynPage)
          Saves the content of the structured group.
 void setGroup(IStructuredGroup structuredGroup)
          Set the structured group for that the renderer is configured.
 java.lang.String[] validate(IMetaContext metaContext, com.sapportals.htmlb.page.DynPage dynPage)
          Validates the group content
 

Method Detail

render

public com.sapportals.htmlb.Component render(IMetaContext metaContext)
                                      throws PropertyStructureServiceException
Renders the structured group.
Parameters:
metaContext - context information for the renderer
Returns:
htmlb component as result of the rendering process

getProperties

public IPropertyMap getProperties(IMetaContext metaContext,
                                  com.sapportals.htmlb.page.DynPage dynPage)
                           throws PropertyStructureServiceException
Gets the properties with their entered values after the response has been returned.
Parameters:
metaContext - context information for the renderer
dynPage - htmlb dynpage that contains the response document
Returns:
map of properties with their entered values

validate

public java.lang.String[] validate(IMetaContext metaContext,
                                   com.sapportals.htmlb.page.DynPage dynPage)
                            throws PropertyStructureServiceException
Validates the group content
Parameters:
metaContext - context information for the renderer
dynPage - htmlb dynpage that contains the response document
Returns:
localized error messages or null

save

public void save(IMetaContext metaContext,
                 com.sapportals.htmlb.page.DynPage dynPage)
          throws PropertyStructureServiceException
Saves the content of the structured group.
Parameters:
metaContext - context information for the renderer
dynPage - htmlb dynpage that contains the response document

setGroup

public void setGroup(IStructuredGroup structuredGroup)
Set the structured group for that the renderer is configured.
Parameters:
structuredGroup - group information

processEvent

public java.lang.String[] processEvent(com.sapportals.htmlb.event.Event event,
                                       IMetaContext metaContext,
                                       com.sapportals.htmlb.page.DynPage dynPage)
                                throws PropertyStructureServiceException
Validates the group content
Parameters:
rendererContext - context information for the renderer
dynPage - htmlb dynpage that contains the response document
Returns:
localized error messages or null

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.