Package com.axemble.vdoc.sdk.interfaces
Interface IBlock
- All Superinterfaces:
- IContentComponent,- IElement,- Serializable
- All Known Implementing Classes:
- EzsBlock
This interface represents a block element.
- Since:
- 2.1
- Version:
- 1.0, 16/06/2009
- Author:
- vlygeros
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds a block.voidAdds a block.voidaddComponent(IComponent component) Adds a component.voidaddComponent(IComponent component, String path) Adds a component.voidaddFirstComponent(IComponent component) Adds a component in the first position in the block.findBlockBySystemName(String name) Searches aIBlockobject by its system name.findBlockBySystemName(String name, boolean recursive) Searches aIBlockobject by its system name, recursively.Searches aIComponentobject by its system name.findComponentBySystemName(String name, boolean recursive) Searches aIComponentobject by its system name, recursively.findContentComponentById(IStorageKey storageKey) Searches aIContentComponentobject by its identifier.findContentComponentById(IStorageKey storageKey, boolean recursive) Searches aIContentComponentobject by its identifier, recursively.Searches aIContentComponentobject by its system name.findContentComponentBySystemName(String name, boolean recursive) Searches aIContentComponentobject by its system name, recursively.Gets the inherited block.Gets all the content components (IBlockorIComponentelements).booleanChecks if the block has been rebuilt.voidremoveBlock(IBlock block) Removes a block.voidremoveComponent(IComponent component) Removes a component.voidreplaceBlock(IBlock block, String path) Replaces a block.voidreplaceComponent(IComponent component, String path) Replaces a component.voidsetBlockTemplateContainer(IBlockTemplateContainer blockTemplateContainer) Sets the block template container.Methods inherited from interface com.axemble.vdoc.sdk.interfaces.IContentComponentgetInnerCssClass, getInnerDescription, getInnerLabel, getInnerName, getParentBlock, getSysName, getValue, getValue, isInnerNullable, isInnerReplaceable, setHidden, setInnerCssClass, setInnerNullable, setInnerReplaceable, setSysName, setValue
- 
Method Details- 
addBlockAdds a block.- Parameters:
- block- The- IBlockobject to add.
 
- 
addBlockAdds a block.- Parameters:
- block- The- IBlockobject to add.
- path- The path of the component to replace.
 
- 
addComponentAdds a component.- Parameters:
- component- The- IComponentobject to add.
 
- 
addFirstComponentAdds a component in the first position in the block.- Parameters:
- component- The- IComponentobject to add.
 
- 
addComponentAdds a component.- Parameters:
- component- The- IComponentobject to add.
- path- The path of the component to replace.
 
- 
replaceBlockReplaces a block.- Parameters:
- block- The- IBlockobject to replace.
- path- The path of the component to replace.
 
- 
replaceComponentReplaces a component.- Parameters:
- component- The- IComponentobject to replace.
- path- The path of the component to replace.
 
- 
getContentComponentsCollection<IContentComponent> getContentComponents()Gets all the content components (IBlockorIComponentelements).- Returns:
- A java.util.Collection of IContentComponentobjects.
 
- 
removeBlockRemoves a block.- Parameters:
- block- The- IBlockobject to remove.
 
- 
removeComponentRemoves a component.- Parameters:
- component- The- IComponentobject to remove.
 
- 
getBlockTemplateContainerIBlockTemplateContainer getBlockTemplateContainer()Gets the inherited block.- Returns:
- A IBlockTemplateContainerobject.
 
- 
setBlockTemplateContainerSets the block template container.- Parameters:
- blockTemplateContainer- The- IBlockTemplateContainerto set.
 
- 
findContentComponentByIdSearches aIContentComponentobject by its identifier.- Parameters:
- storageKey- The- IStorageKeyobject to search with.
- Returns:
- A IContentComponentobject.
 
- 
findContentComponentByIdSearches aIContentComponentobject by its identifier, recursively.- Parameters:
- storageKey- The- IStorageKeyobject to search with.
- recursive- Specify if recursive.
- Returns:
- A IContentComponentobject.
 
- 
findContentComponentBySystemNameSearches aIContentComponentobject by its system name.- Parameters:
- name- The system name of the child content component.
- Returns:
- A IContentComponentobject.
 
- 
findContentComponentBySystemNameSearches aIContentComponentobject by its system name, recursively.- Parameters:
- name- The system name of the child content component.
- recursive- Specify if recursive.
- Returns:
- A IContentComponentobject.
 
- 
findComponentBySystemNameSearches aIComponentobject by its system name.- Parameters:
- name- The system name of the child component.
- Returns:
- A IComponentobject.
 
- 
findComponentBySystemNameSearches aIComponentobject by its system name, recursively.- Parameters:
- name- The system name of the child component.
- recursive- Specify if recursive.
- Returns:
- A IComponentobject.
 
- 
findBlockBySystemNameSearches aIBlockobject by its system name.- Parameters:
- name- The system name of the child block.
- Returns:
- A IBlockobject.
 
- 
findBlockBySystemNameSearches aIBlockobject by its system name, recursively.- Parameters:
- name- The system name of the child block.
- recursive- Specify if recursive.
- Returns:
- A IBlockobject.
 
- 
isRebuiltboolean isRebuilt()Checks if the block has been rebuilt.- Returns:
- true if the block has been rebuilt, false otherwise.
 
 
-