You are here

getComponent

getComponent() - these methods return a component.

getComponent

getComponent(String objectId) - returns a component with the specified object id.

Parameters

objectId
A string representing the object id.

Returns

Returns a ScriptModelObject instance that represents the component.

getComponent

getComponent(String scope, String regionId, String sourceId) - returns a component with the specified parameters.

Parameters

scope
A string representing the scope.
regionId
A string representing the region id.
sourceId
A string representing the source id.

Returns

Returns a ScriptModelObject instance that represents the component.