com.sap.workspaces.module

Interface IModuleTemplateContext


public interface IModuleTemplateContext

Provides access to the module template properties

Since:
1.1

Method Summary
 String getID()
          Returns the module template ID
 String getProperty(String propertyID)
          Returns the string value of the specified configuration property or null if this property is not defined
 String getPropertyAttribute(String propertyID, String attributeID)
          Returns the value of the specified attribute or null if this attribute is not defined
 String[] getPropertyAttributeIDs(String propertyID)
          Returns an array of all attributes of the specified property
 String[] getPropertyIDs()
          Returns an array of all property IDs
 

Method Detail

getID

String getID()
Returns the module template ID

Returns:
The module template ID

getProperty

String getProperty(String propertyID)
Returns the string value of the specified configuration property or null if this property is not defined

Parameters:
propertyID - the ID of the configuration property
Returns:
The string value of the configuration property or null

getPropertyAttribute

String getPropertyAttribute(String propertyID,
                            String attributeID)
Returns the value of the specified attribute or null if this attribute is not defined

Parameters:
propertyID - the ID of the configuration property
attributeID - the ID of the attribute
Returns:
The value of the specified attribute or null if this attribute is not defined

getPropertyIDs

String[] getPropertyIDs()
Returns an array of all property IDs

Returns:
An array of IDs of all configuration properties

getPropertyAttributeIDs

String[] getPropertyAttributeIDs(String propertyID)
Returns an array of all attributes of the specified property

Parameters:
propertyID - the ID of the configuration property
Returns:
An array of all attributes of the specified configuration property


Copyright 2011 SAP AG Complete Copyright Notice