public interface IBlock extends IContentComponent
| Modifier and Type | Method and Description | 
|---|---|
void | 
addBlock(IBlock block)
Adds a block. 
 | 
void | 
addBlock(IBlock block,
        String path)
Adds a block. 
 | 
void | 
addComponent(IComponent component)
Adds a component. 
 | 
void | 
addComponent(IComponent component,
            String path)
Adds a component. 
 | 
IBlock | 
findBlockBySystemName(String name)
Searches a  
IBlock object by its system name. | 
IBlock | 
findBlockBySystemName(String name,
                     boolean recursive)
Searches a  
IBlock object by its system name, recursively. | 
IComponent | 
findComponentBySystemName(String name)
Searches a  
IComponent object by its system name. | 
IComponent | 
findComponentBySystemName(String name,
                         boolean recursive)
Searches a  
IComponent object by its system name, recursively. | 
IContentComponent | 
findContentComponentById(IStorageKey storageKey)
Searches a  
IContentComponent object by its identifier. | 
IContentComponent | 
findContentComponentById(IStorageKey storageKey,
                        boolean recursive)
Searches a  
IContentComponent object by its identifier, recursively. | 
IContentComponent | 
findContentComponentBySystemName(String name)
Searches a  
IContentComponent object by its system name. | 
IContentComponent | 
findContentComponentBySystemName(String name,
                                boolean recursive)
Searches a  
IContentComponent object by its system name, recursively. | 
IBlockTemplateContainer | 
getBlockTemplateContainer()
Gets the inherited block. 
 | 
Collection | 
getContentComponents()
Gets all the content components ( 
IBlock or IComponent elements). | 
boolean | 
isRebuilt()
Checks if the block has been rebuilt. 
 | 
void | 
removeBlock(IBlock block)
Removes a block. 
 | 
void | 
removeComponent(IComponent component)
Removes a component. 
 | 
void | 
replaceBlock(IBlock block,
            String path)
Replaces a block. 
 | 
void | 
replaceComponent(IComponent component,
                String path)
Replaces a component. 
 | 
void | 
setBlockTemplateContainer(IBlockTemplateContainer blockTemplateContainer)
Sets the block template container. 
 | 
getInnerCssClass, getInnerDescription, getInnerLabel, getInnerName, getParentBlock, getValue, getValue, isInnerNullable, isInnerReplaceable, setHidden, setInnerCssClass, setInnerNullable, setInnerReplaceable, setValuevoid addBlock(IBlock block, String path)
block - The IBlock object to add.path - The path of the component to replace.void addComponent(IComponent component)
component - The IComponent object to add.void addComponent(IComponent component, String path)
path - The path of the component to replace.component - The IComponent object to add.void replaceBlock(IBlock block, String path)
block - The IBlock object to replace.path - The path of the component to replace.void replaceComponent(IComponent component, String path)
component - The IComponent object to replace.path - The path of the component to replace.Collection getContentComponents()
IBlock or IComponent elements).IContentComponent objects.void removeBlock(IBlock block)
block - The IBlock object to remove.void removeComponent(IComponent component)
component - The IComponent object to remove.IBlockTemplateContainer getBlockTemplateContainer()
IBlockTemplateContainer object.void setBlockTemplateContainer(IBlockTemplateContainer blockTemplateContainer)
blockTemplateContainer - The IBlockTemplateContainer to set.IContentComponent findContentComponentById(IStorageKey storageKey)
IContentComponent object by its identifier.storageKey - The IStorageKey object to search with.IContentComponent object.IContentComponent findContentComponentById(IStorageKey storageKey, boolean recursive)
IContentComponent object by its identifier, recursively.storageKey - The IStorageKey object to search with.recursive - Specify if recursive.IContentComponent object.IContentComponent findContentComponentBySystemName(String name)
IContentComponent object by its system name.name - The system name of the child content component.IContentComponent object.IContentComponent findContentComponentBySystemName(String name, boolean recursive)
IContentComponent object by its system name, recursively.name - The system name of the child content component.recursive - Specify if recursive.IContentComponent object.IComponent findComponentBySystemName(String name)
IComponent object by its system name.name - The system name of the child component.IComponent object.IComponent findComponentBySystemName(String name, boolean recursive)
IComponent object by its system name, recursively.name - The system name of the child component.recursive - Specify if recursive.IComponent object.IBlock findBlockBySystemName(String name)
IBlock object by its system name.name - The system name of the child block.IBlock object.IBlock findBlockBySystemName(String name, boolean recursive)
IBlock object by its system name, recursively.name - The system name of the child block.recursive - Specify if recursive.IBlock object.boolean isRebuilt()
Copyright © 2019 Visiativ Software. All rights reserved.