Package com.microstrategy.web.transform
Class TransformDefnsImpl
- java.lang.Object
-
- com.microstrategy.utils.config.AbstractConfigurationElement
-
- com.microstrategy.utils.config.AbstractElementList
-
- com.microstrategy.web.transform.AbstractStyleCatalogList
-
- com.microstrategy.web.transform.TransformDefnsImpl
-
- All Implemented Interfaces:
ConfigurationElement,ConfigurationFile,TransformDefns,java.lang.Cloneable
public class TransformDefnsImpl extends AbstractStyleCatalogList implements TransformDefns
- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
AbstractConfigurationElement.FilteredList
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringNODE_TRANSFORM_DEFNS-
Fields inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
ATT_CONFIG_SRC, ATT_DELETED, ATT_POSITION, ATT_PROTOTYPE, ATT_USE_DEFAULT
-
-
Constructor Summary
Constructors Constructor Description TransformDefnsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTransformDefn(TransformDefn transform)protected java.lang.ClassgetListClass()Returns theClassitems beloging to this list will be instance of.protected java.lang.StringgetListNodeName()Returns the name of the node representing children of this list.TransformDefngetTransformDefn(int index)Retrieves a specific TransformDefn object by its numeric index.TransformDefngetTransformDefn(java.lang.String name)Retrives a specific TransformDefn object by its name.TransformDefnnewTransformDefn(java.lang.String transformName)Creates a new TransformDefn object and adds it to the collection.voidremove(int index)Removes an element from the collection.voidremove(int index, boolean removeStyles)Removes the TransformDefn object at the specified position in the collection.voidremove(java.lang.String name)Removes an element from the collectionvoidremove(java.lang.String name, boolean removeStyles)Removes the TransformDefn object with the specified name from the collection.-
Methods inherited from class com.microstrategy.web.transform.AbstractStyleCatalogList
clearCaches, getCount, getStyleCatalog, newItem, reload
-
Methods inherited from class com.microstrategy.utils.config.AbstractElementList
clear, containsKey, get, get, getKeyAttribute, getList, isEmpty, put, put, size
-
Methods inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
addFileSource, applyCustomization, applyCustomizations, cleanUpDeletedElements, clone, delete, deltas, deltas, equalAtts, equalElements, equalNodeValues, equals, equalsIncludingDeletedElements, exportAttributesToXML, exportElementsToXML, exportNodeValueToXML, getAttribute, getAttributes, getBoolAttribute, getChildKey, getConfigSrc, getDTDFileName, getElement, getElement, getElements, getFileLoader, getIntAttribute, getIntAttribute, getKey, getLineNumber, getList, getNextKey, getNodeName, getNodeValue, getNodeValue, getOrCreateElement, getParent, getPosition, getPrototype, getRegisteredClass, getSelfInitPath, getSource, getStrAttribute, getUseDefault, getXMLParserParameters, getXMLSerializerParameters, hashCode, hashCodeAtts, hashCodeElements, hashCodeNodeValues, hasRegisteredClass, initAttributesFromXML, initDefaultAttributes, initElementFromXML, initElementsFromXML, initFromFile, initFromResource, initFromXML, initFromXML, initNodeValueFromXML, initPrototype, isActive, isCustomized, isDeleted, isDirty, isInSource, isKeyAttribute, load, mergeChanges, newChildInstance, newSource, original, populate, printAttributes, printElements, printNodeValue, refreshLists, registerClass, registerElement, registerElement, registerElementList, reloadPrototype, removeAttribute, removeDefaults, replaceList, restore, save, save, saveChangesAs, saveConfig, saveFlatXML, saveNode, saveSource, setAttribute, setBoolAttribute, setChildOriginals, setConfigSrc, setCustomized, setElement, setFileLoader, setIntAttribute, setKey, setLineNumber, setNodeName, setNodeValue, setPosition, setPrototype, setSelfInitPath, setStrAttribute, setUseDefault, setUseValidation, throwConfigParseException, toString, toXML, toXML, toXML, toXML, useNodeValue, useValidation
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.microstrategy.utils.config.ConfigurationElement
getAttribute, getAttributes, getElement, getElements, getKey, getNodeName, getStrAttribute, initFromXML, reload, toXML
-
Methods inherited from interface com.microstrategy.web.transform.TransformDefns
clear, getCount
-
-
-
-
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
-
-
Method Detail
-
getTransformDefn
public TransformDefn getTransformDefn(int index) throws java.lang.IndexOutOfBoundsException
Description copied from interface:TransformDefnsRetrieves a specific TransformDefn object by its numeric index.- Specified by:
getTransformDefnin interfaceTransformDefns- Parameters:
index- the index of the TransformDefn object in collection.- Returns:
- the
TransformDefnobject 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:TransformDefnsRetrives a specific TransformDefn object by its name.- Specified by:
getTransformDefnin interfaceTransformDefns- Parameters:
name- the name of the TransformDefn object.- Returns:
- the
TransformDefnobject 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.UnsupportedOperationExceptionDescription copied from class:AbstractStyleCatalogListRemoves an element from the collection.- Specified by:
removein interfaceTransformDefns- Overrides:
removein classAbstractStyleCatalogList- 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.UnsupportedOperationExceptionDescription copied from interface:TransformDefnsRemoves the TransformDefn object at the specified position in the collection.- Specified by:
removein interfaceTransformDefns- 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.UnsupportedOperationExceptionDescription copied from class:AbstractStyleCatalogListRemoves an element from the collection- Specified by:
removein interfaceTransformDefns- Overrides:
removein classAbstractStyleCatalogList- 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.UnsupportedOperationExceptionDescription copied from interface:TransformDefnsRemoves the TransformDefn object with the specified name from the collection.- Specified by:
removein interfaceTransformDefns- 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:TransformDefnsCreates a new TransformDefn object and adds it to the collection.- Specified by:
newTransformDefnin interfaceTransformDefns- Parameters:
transformName- the name of the new TransformDefn object.- Returns:
- the
TransformDefnobject 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:AbstractElementListReturns theClassitems beloging to this list will be instance of.- Specified by:
getListClassin classAbstractElementList- Since:
- MicroStrategy Web 9.0.0
-
getListNodeName
protected java.lang.String getListNodeName()
Description copied from class:AbstractElementListReturns the name of the node representing children of this list.- Specified by:
getListNodeNamein classAbstractElementList- Since:
- MicroStrategy Web 9.0.0
-
addTransformDefn
public void addTransformDefn(TransformDefn transform)
-
-