com.sap.portal.genericcreator.handlers

Interface IHandler


public interface IHandler

The interface that defines an XML Content and Actions handler.

For each Context or Action element in an XML script, the corresponding handler's doValidate method (and doExecute and doClean methods, if defined) are called. The handler that was registered with the same string as the current element's objectClass attribute is called.


Method Summary
 boolean doValidate(IGCAttributes attributes, Map metaAttributes, Object user)
          Validates the attributes specified for the current Context or Action element in the uploaded SML script.
 

Method Detail

doValidate

boolean doValidate(IGCAttributes attributes,
                   Map metaAttributes,
                   Object user)
Validates the attributes specified for the current Context or Action element in the uploaded SML script.

Parameters:
attributes - Attributes of the current Context or Action element in the XML script
metaAttributes - Attributes defined in Attribute elements nested in the current Context or Action element in the XML script
user - User running the XML script
Returns:
true if validation is successfully, otherwise false
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/semantics/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice