com.microstrategy.web.transform.TransformDefns |
![]() |
The TransformDefns interface is used to manage a collection of transform definition objects.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
clear()
Removes all of the TransformDefn objects from the collection
| ||||||||||
abstract int |
getCount()
Returns the number of TransformDefn objects in the collection.
| ||||||||||
abstract TransformDefn |
getTransformDefn(String name)
Retrives a specific TransformDefn object by its name.
| ||||||||||
abstract TransformDefn |
getTransformDefn(int index)
Retrieves a specific TransformDefn object by its numeric index.
| ||||||||||
abstract TransformDefn |
newTransformDefn(String transformName)
Creates a new TransformDefn object and adds it to the collection.
| ||||||||||
abstract void |
remove(int index)
Removes the TransformDefn object at the specified position in the collection.
| ||||||||||
abstract void |
remove(int index, boolean removeStyles)
Removes the TransformDefn object at the specified position in the collection.
| ||||||||||
abstract void |
remove(String name, boolean removeStyles)
Removes the TransformDefn object with the specified name from the collection.
| ||||||||||
abstract void |
remove(String name)
Removes the TransformDefn object with the specified name from the collection.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Removes all of the TransformDefn objects from the collection
UnsupportedOperationException | thrown if the collection is read-only. |
---|
Returns the number of TransformDefn objects in the collection.
Retrives a specific TransformDefn object by its name.
name | the name of the TransformDefn object. |
---|
TransformDefn
object in the collection with the given name.IllegalArgumentException | thrown if no transform definition has the given name in the collection. |
---|
Retrieves a specific TransformDefn object by its numeric index.
index | the index of the TransformDefn object in collection. |
---|
TransformDefn
object in the collection with the given index.IndexOutOfBoundsException | thrown if the index is invalid. |
---|
Creates a new TransformDefn object and adds it to the collection.
transformName | the name of the new TransformDefn object. |
---|
TransformDefn
object just created.IllegalArgumentException | thrown if the transform definition name is used by another TransformDefn object in the collection or if the style name is empty. |
---|---|
UnsupportedOperationException | thrown if the collection is read-only. |
Removes the TransformDefn object at the specified position in the collection. This method will not remove the associations made to the object deleted in a Style object.
index | the index of the TransformDefn object to remove. |
---|
thrown if the specified index is out of range. | |
UnsupportedOperationException | thrown if the collection is read-only. |
IndexOutOfBoundsException |
Removes the TransformDefn object at the specified position in the collection.
index | the index of the TransformDefn object to remove. |
---|---|
removeStyles | whether you want to remove the styles associated with the TransformDefn object deleted or not. |
thrown if the specified index is out of range. | |
UnsupportedOperationException | thrown if the collection is read-only. |
IndexOutOfBoundsException |
Removes the TransformDefn object with the specified name from the collection.
name | the name of the TransformDefn object to remove. |
---|---|
removeStyles | whether you want to remove the styles associated with the TransformDefn object deleted or not. |
IllegalArgumentException | thrown if no transform definition has the given name in the collection. |
---|---|
UnsupportedOperationException | thrown if the collection is read-only. |
Removes the TransformDefn object with the specified name from the collection. This method will not remove the associations made to the object deleted in a Style object.
name | the name of the TransformDefn object to remove. |
---|
IllegalArgumentException | thrown if no transform definition has the given name in the collection. |
---|---|
UnsupportedOperationException | thrown if the collection is read-only. |