com.sapportals.wcm.service.propertystructure

Interface IStructuredGroupRenderer

All Known Implementing Classes:
AbstractGroupRenderer

public interface IStructuredGroupRenderer

Renderer for a structured group.


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

Method Detail

render

public 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
Throws:
PropertyStructureServiceException

getProperties

public IPropertyMap getProperties(IMetaContext metaContext,
                                  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
Throws:
PropertyStructureServiceException

validate

public String[] validate(IMetaContext metaContext,
                         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
Throws:
PropertyStructureServiceException

save

public void save(IMetaContext metaContext,
                 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
Throws:
PropertyStructureServiceException

setGroup

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

Parameters:
structuredGroup - group information

processEvent

public String[] processEvent(Event event,
                             IMetaContext metaContext,
                             DynPage dynPage)
                      throws PropertyStructureServiceException
Validates the group content

Parameters:
dynPage - htmlb dynpage that contains the response document
Returns:
localized error messages or null
Throws:
PropertyStructureServiceException


Copyright 2006 SAP AG Complete Copyright Notice