public interface IExtension extends IDisplayable
Modifier and Type | Method and Description |
---|---|
void |
commit(IExtensionPoint extension,
IExtensionContext context)
Method called by the extension processor when no error occurred and all changing are
finalised.
|
IExtensionPoint[] |
getExtensionPoints()
List the extension points the extension wants to handle.
|
IParameterInfo[] |
getInputParameterInfos(IExtensionPoint point)
List informations for all input parameters the extension needs to process an extension point.
|
IParameterInfo[] |
getOutputParameterInfos(IExtensionPoint point)
List informations for all output parameters the extension delivers after processing an extension point.
|
IExtensionResult |
process(IExtensionPoint extension,
IExtensionContext context)
Method called by the extension processor when an extension point is reached and
the extension needs to be processed.
|
void |
rollback(IExtensionPoint extension,
IExtensionContext context)
Method called by the extension processor when an error occurred.
|
void |
validate(IExtensionPoint extension,
IExtensionContext context)
Method called by the extension processor to validate that the extension can be
processed.
|
getDescription, getId, getName
IExtensionPoint[] getExtensionPoints()
IParameterInfo[] getInputParameterInfos(IExtensionPoint point)
point
- The extension point for which the parameters are listedIParameterInfo[] getOutputParameterInfos(IExtensionPoint point)
point
- The extension point for which the parameters are listedvoid validate(IExtensionPoint extension, IExtensionContext context) throws ExtensionException
extension
- The extension point to handlecontext
- A context containing the required input parametersExtensionException
- if an error occursIExtensionResult process(IExtensionPoint extension, IExtensionContext context) throws ExtensionException
extension
- The extension point to handlecontext
- A context containing the required input parametersExtensionException
- if an error occursvoid rollback(IExtensionPoint extension, IExtensionContext context) throws ExtensionException
extension
- The extension point to handlecontext
- A context containing the required input parametersExtensionException
- if an error occursvoid commit(IExtensionPoint extension, IExtensionContext context) throws ExtensionException
extension
- The extension point to handlecontext
- A context containing the required input parametersExtensionException
- if an error occursAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-COLL
|
[sap.com] tc/kmc/coll/room
|
api
|
EP-KM-CRS
|
Copyright 2018 SAP AG Complete Copyright Notice