Class TransformDefnsImpl

    • Field Detail

      • NODE_TRANSFORM_DEFNS

        protected static final java.lang.String NODE_TRANSFORM_DEFNS
        Since:
        MicroStrategy Web 9.0.0
        See Also:
        Constant Field Values
    • Constructor Detail

      • TransformDefnsImpl

        public TransformDefnsImpl()
        Since:
        MicroStrategy Web 9.0.0
    • Method Detail

      • getTransformDefn

        public TransformDefn getTransformDefn​(int index)
                                       throws java.lang.IndexOutOfBoundsException
        Description copied from interface: TransformDefns
        Retrieves a specific TransformDefn object by its numeric index.
        Specified by:
        getTransformDefn in interface TransformDefns
        Parameters:
        index - the index of the TransformDefn object in collection.
        Returns:
        the TransformDefn object in the collection with the given index.
        Throws:
        java.lang.IndexOutOfBoundsException - thrown if the index is invalid.
      • getTransformDefn

        public TransformDefn getTransformDefn​(java.lang.String name)
                                       throws java.lang.IllegalArgumentException
        Description copied from interface: TransformDefns
        Retrives a specific TransformDefn object by its name.
        Specified by:
        getTransformDefn in interface TransformDefns
        Parameters:
        name - the name of the TransformDefn object.
        Returns:
        the TransformDefn object in the collection with the given name.
        Throws:
        java.lang.IllegalArgumentException - thrown if no transform definition has the given name in the collection.
      • remove

        public void remove​(int index)
                    throws java.lang.IndexOutOfBoundsException,
                           java.lang.UnsupportedOperationException
        Description copied from class: AbstractStyleCatalogList
        Removes an element from the collection.
        Specified by:
        remove in interface TransformDefns
        Overrides:
        remove in class AbstractStyleCatalogList
        Parameters:
        index - The position within the valid elements of the element to remove.
        Throws:
        java.lang.UnsupportedOperationException - thrown if the collection is read-only.
        java.lang.IndexOutOfBoundsException
      • remove

        public void remove​(int index,
                           boolean removeStyles)
                    throws java.lang.IndexOutOfBoundsException,
                           java.lang.UnsupportedOperationException
        Description copied from interface: TransformDefns
        Removes the TransformDefn object at the specified position in the collection.
        Specified by:
        remove in interface TransformDefns
        Parameters:
        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.
        Throws:
        java.lang.UnsupportedOperationException - thrown if the collection is read-only.
        java.lang.IndexOutOfBoundsException
      • remove

        public void remove​(java.lang.String name)
                    throws java.lang.IllegalArgumentException,
                           java.lang.UnsupportedOperationException
        Description copied from class: AbstractStyleCatalogList
        Removes an element from the collection
        Specified by:
        remove in interface TransformDefns
        Overrides:
        remove in class AbstractStyleCatalogList
        Parameters:
        name - the key of the object to remove
        Throws:
        java.lang.IllegalArgumentException - thrown if no transform definition has the given name in the collection.
        java.lang.UnsupportedOperationException - thrown if the collection is read-only.
      • remove

        public void remove​(java.lang.String name,
                           boolean removeStyles)
                    throws java.lang.IllegalArgumentException,
                           java.lang.UnsupportedOperationException
        Description copied from interface: TransformDefns
        Removes the TransformDefn object with the specified name from the collection.
        Specified by:
        remove in interface TransformDefns
        Parameters:
        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.
        Throws:
        java.lang.IllegalArgumentException - thrown if no transform definition has the given name in the collection.
        java.lang.UnsupportedOperationException - thrown if the collection is read-only.
      • newTransformDefn

        public TransformDefn newTransformDefn​(java.lang.String transformName)
                                       throws java.lang.IllegalArgumentException,
                                              java.lang.UnsupportedOperationException
        Description copied from interface: TransformDefns
        Creates a new TransformDefn object and adds it to the collection.
        Specified by:
        newTransformDefn in interface TransformDefns
        Parameters:
        transformName - the name of the new TransformDefn object.
        Returns:
        the TransformDefn object just created.
        Throws:
        java.lang.IllegalArgumentException - thrown if the transform definition name is used by another TransformDefn object in the collection or if the style name is empty.
        java.lang.UnsupportedOperationException - thrown if the collection is read-only.
      • getListClass

        protected java.lang.Class getListClass()
        Description copied from class: AbstractElementList
        Returns the Class items beloging to this list will be instance of.
        Specified by:
        getListClass in class AbstractElementList
        Since:
        MicroStrategy Web 9.0.0
      • getListNodeName

        protected java.lang.String getListNodeName()
        Description copied from class: AbstractElementList
        Returns the name of the node representing children of this list.
        Specified by:
        getListNodeName in class AbstractElementList
        Since:
        MicroStrategy Web 9.0.0
      • addTransformDefn

        public void addTransformDefn​(TransformDefn transform)