| org.pentaho.core.repository.IRuntimeElement
All known Subclasses: org.pentaho.repository.runtime.RuntimeElement, org.pentaho.core.repository.SimpleRuntimeElement,
IRuntimeElement | public interface IRuntimeElement (Code) | | |
Method Summary | |
public void | forceSave() Causes an immediate call to the underlying persistence mechanism's
write-now method. | public BigDecimal | getBigDecimalProperty(String key) Gets a BigDecimal property from the Runtime Element. | public BigDecimal | getBigDecimalProperty(String key, BigDecimal defaultValue) Gets a BigDecimal property from the Runtime Element. | public Date | getDateProperty(String key) Gets a Date property from the Runtime Element. | public Date | getDateProperty(String key, Date defaultValue) Gets a Date property from the Runtime Element. | public String | getInstanceId() | public List | getListProperty(String key) | public boolean | getLoaded() | public int | getLoggingLevel() | public Long | getLongProperty(String key, Long defaultValue) Gets a Long property from the Runtime Element. | public long | getLongProperty(String key, long defaultValue) Gets a property from the paramMap as a long using a default value if it
doesn't exist in the map
Parameters: key - Key in the paramMap Parameters: defaultValue - The default value if the property doesn't exist in theparamMap. | public Map | getMapProperty(String key) Gets a Map property from the Runtime Element Special implementation note -
Null values aren't supported in the Map. | public Set | getParameterNames() | public String | getParameterType(String name) | public String | getParentId() | public String | getParentType() | public int | getRevision() | public String | getSolutionId() | public String | getStringProperty(String key) Gets a string property from the Runtime Element. | public String | getStringProperty(String key, String defaultValue) Gets a string property from the Runtime Element. | public void | setAllowableAttributeNames(Collection allowableReadAttributeNames) | public void | setBigDecimalProperty(String key, BigDecimal value) Sets a BigDecimal property in the Runtime Element. | public void | setDateProperty(String key, Date value) Sets a Date property in the Runtime Element. | public void | setInstanceId(String instanceId) | public void | setListProperty(String key, List value) | public void | setLoaded(boolean value) | public void | setLongProperty(String key, Long value) Sets a Long property in the Runtime Element. | public void | setLongProperty(String key, long value) Sets a Long property in the Runtime Element. | public void | setMapProperty(String key, Map value) Sets a Map Property in the Runtime Element Special implementation note -
Null values aren't supported in the Map. | public void | setParentId(String parentId) | public void | setParentType(String parentType) | public void | setSolutionId(String solutionId) | public void | setStringProperty(String key, String value) Sets a string property in the Runtime Element. | public String | toXML() |
forceSave | public void forceSave()(Code) | | Causes an immediate call to the underlying persistence mechanism's
write-now method. For Hibernate, this results in a call to
HibernateUtil.flush().
|
getBigDecimalProperty | public BigDecimal getBigDecimalProperty(String key)(Code) | | Gets a BigDecimal property from the Runtime Element.
Parameters: key - The key of the property The value of the property, or null if the property doesn't exist. |
getBigDecimalProperty | public BigDecimal getBigDecimalProperty(String key, BigDecimal defaultValue)(Code) | | Gets a BigDecimal property from the Runtime Element.
Parameters: key - The key of the property Parameters: defaultValue - The value to return if the property doesn't exist The value of the property, or defaultValue if the propertydoesn't exist. |
getDateProperty | public Date getDateProperty(String key)(Code) | | Gets a Date property from the Runtime Element.
Parameters: key - The key of the property The value of the property, or NULL if the property doesn't exist. |
getDateProperty | public Date getDateProperty(String key, Date defaultValue)(Code) | | Gets a Date property from the Runtime Element.
Parameters: key - The key of the property Parameters: defaultValue - The value to return if the property doesn't exist The value of the property, or defaultValue if the propertydoesn't exist. |
getInstanceId | public String getInstanceId()(Code) | | Returns the instance Id |
getListProperty | public List getListProperty(String key)(Code) | | Gets a List property from the Runtime Element
Parameters: key - The key of the property to get The list associated with the key, or NULL if it doesn't exist. |
getLoaded | public boolean getLoaded()(Code) | | |
getLoggingLevel | public int getLoggingLevel()(Code) | | Returns the loggingLevel. |
getLongProperty | public Long getLongProperty(String key, Long defaultValue)(Code) | | Gets a Long property from the Runtime Element.
Parameters: key - The key of the property Parameters: defaultValue - The value to return if the property doesn't exist The value of the property, or defaultValue if the propertydoesn't exist. |
getLongProperty | public long getLongProperty(String key, long defaultValue)(Code) | | Gets a property from the paramMap as a long using a default value if it
doesn't exist in the map
Parameters: key - Key in the paramMap Parameters: defaultValue - The default value if the property doesn't exist in theparamMap. The property in the map. |
getMapProperty | public Map getMapProperty(String key)(Code) | | Gets a Map property from the Runtime Element Special implementation note -
Null values aren't supported in the Map. So, if a null value is passed
in, this implementation will remove the entry from the Runtime Element.
Parameters: key - The key of the property to get The Map associated with the key, or NULL if it doesn't exist. |
getParameterNames | public Set getParameterNames()(Code) | | The set of currently defined parameter names |
getParameterType | public String getParameterType(String name)(Code) | | Gets the type of the parameter
Parameters: name - Parameter name String type of the parameter |
getParentId | public String getParentId()(Code) | | Returns the parent ID |
getParentType | public String getParentType()(Code) | | Returns the parent Type |
getRevision | public int getRevision()(Code) | | Returns the revision (updated by Hibernate) |
getSolutionId | public String getSolutionId()(Code) | | Returns the solution Id. |
getStringProperty | public String getStringProperty(String key)(Code) | | Gets a string property from the Runtime Element.
Parameters: key - The key of the property The value of the property, or NULL if the property doesn't exist. |
getStringProperty | public String getStringProperty(String key, String defaultValue)(Code) | | Gets a string property from the Runtime Element.
Parameters: key - The key of the property Parameters: defaultValue - The value to return if the property doesn't exist The value of the property. |
setAllowableAttributeNames | public void setAllowableAttributeNames(Collection allowableReadAttributeNames)(Code) | | Parameters: allowableReadAttributeNames - The names of the attributes that this process is allowed toread. |
setBigDecimalProperty | public void setBigDecimalProperty(String key, BigDecimal value)(Code) | | Sets a BigDecimal property in the Runtime Element. Special implementation
note - Null values aren't supported in the Map. So, if a null value is
passed in, this implementation will remove the entry from the Runtime
Element.
Parameters: key - The key of the property to set Parameters: value - The value to associate with the key. |
setDateProperty | public void setDateProperty(String key, Date value)(Code) | | Sets a Date property in the Runtime Element. Special implementation note -
Null values aren't supported in the Map. So, if a null value is passed
in, this implementation will remove the entry from the Runtime Element.
Parameters: key - The key of the property to set Parameters: value - The value to associate with the key. |
setInstanceId | public void setInstanceId(String instanceId)(Code) | | Parameters: instanceId - The instance Id to set |
setListProperty | public void setListProperty(String key, List value)(Code) | | Sets a List Property in the Runtime Element
Parameters: key - The key of the property to set Parameters: value - The List value to associate with the key. |
setLoaded | public void setLoaded(boolean value)(Code) | | |
setLongProperty | public void setLongProperty(String key, Long value)(Code) | | Sets a Long property in the Runtime Element.
Parameters: key - The key of the property to set Parameters: value - The value to associate with the key. |
setLongProperty | public void setLongProperty(String key, long value)(Code) | | Sets a Long property in the Runtime Element. Special implementation note -
Null values aren't supported in the Map. So, if a null value is passed
in, this implementation will remove the entry from the Runtime Element.
Parameters: key - The key of the property to set Parameters: value - The value to associate with the key. Note - A new Long objectis constructed and stored. |
setMapProperty | public void setMapProperty(String key, Map value)(Code) | | Sets a Map Property in the Runtime Element Special implementation note -
Null values aren't supported in the Map. So, if a null value is passed
in, this implementation will remove the entry from the Runtime Element.
Parameters: key - The key of the property to set Parameters: value - The Map value to associate with the key. |
setParentId | public void setParentId(String parentId)(Code) | | Parameters: parentId - The parentId to set. |
setParentType | public void setParentType(String parentType)(Code) | | Parameters: parentType - The parent type to set |
setSolutionId | public void setSolutionId(String solutionId)(Code) | | Parameters: solutionId - The solution Id to set |
setStringProperty | public void setStringProperty(String key, String value)(Code) | | Sets a string property in the Runtime Element. Special implementation
note - Null values aren't supported in the Map. So, if a null value is
passed in, this implementation will remove the entry from the Runtime
Element.
Parameters: key - The key of the property to set Parameters: value - The value to associate with the key |
toXML | public String toXML()(Code) | | A string containing the XML representation of the Runtime Element |
|
|