Package com.axemble.vdoc.sdk.impl
Class EzsBlock
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.PortalElement
com.axemble.vdoc.sdk.impl.EzsContentComponent
com.axemble.vdoc.sdk.impl.EzsBlock
- All Implemented Interfaces:
- IBlock,- IContentComponent,- IElement,- Serializable
- Author:
- vlygeros
- See Also:
- 
Field SummaryFields inherited from class com.axemble.vdoc.sdk.impl.EzsContentComponentcontentNodeImplFields inherited from class com.axemble.vdoc.sdk.impl.PortalElementpath, storageKeyFields inherited from class com.axemble.vdoc.sdk.impl.AbstractElementmodule
- 
Constructor SummaryConstructors
- 
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).protected final com.axemble.easysite.dao.domain.impl.BlockImplbooleanChecks 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 class com.axemble.vdoc.sdk.impl.EzsContentComponentgetInnerCssClass, getInnerDescription, getInnerLabel, getInnerName, getNativeObject, getParentBlock, getSysName, getValue, getValue, isInnerNullable, isInnerReplaceable, setHidden, setInnerCssClass, setInnerDescription, setInnerLabel, setInnerName, setInnerNullable, setInnerReplaceable, setSysName, setValueMethods inherited from class com.axemble.vdoc.sdk.impl.PortalElementequals, getId, getPath, getProtocolURI, getProtocolURI, hashCode, replaceBackSlash, replaceSlash, save, setIdMethods inherited from class com.axemble.vdoc.sdk.impl.AbstractElementgetModuleMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IContentComponentgetInnerCssClass, getInnerDescription, getInnerLabel, getInnerName, getParentBlock, getSysName, getValue, getValue, isInnerNullable, isInnerReplaceable, setHidden, setInnerCssClass, setInnerNullable, setInnerReplaceable, setSysName, setValue
- 
Constructor Details- 
EzsBlock- Parameters:
- module-
 
 
- 
- 
Method Details- 
getInternalObjectprotected final com.axemble.easysite.dao.domain.impl.BlockImpl getInternalObject()
- 
addBlockDescription copied from interface:IBlockAdds a block.
- 
addBlockDescription copied from interface:IBlockAdds a block.
- 
replaceBlockDescription copied from interface:IBlockReplaces a block.- Specified by:
- replaceBlockin interface- IBlock
- Parameters:
- block- The- IBlockobject to replace.
- path- The path of the component to replace.
 
- 
addComponentDescription copied from interface:IBlockAdds a component.- Specified by:
- addComponentin interface- IBlock
- Parameters:
- component- The- IComponentobject to add.
 
- 
addFirstComponentDescription copied from interface:IBlockAdds a component in the first position in the block.- Specified by:
- addFirstComponentin interface- IBlock
- Parameters:
- component- The- IComponentobject to add.
 
- 
addComponentDescription copied from interface:IBlockAdds a component.- Specified by:
- addComponentin interface- IBlock
- Parameters:
- component- The- IComponentobject to add.
- path- The path of the component to replace.
 
- 
replaceComponentDescription copied from interface:IBlockReplaces a component.- Specified by:
- replaceComponentin interface- IBlock
- Parameters:
- component- The- IComponentobject to replace.
- path- The path of the component to replace.
 
- 
getContentComponentsDescription copied from interface:IBlockGets all the content components (IBlockorIComponentelements).- Specified by:
- getContentComponentsin interface- IBlock
- Returns:
- A java.util.Collection of IContentComponentobjects.
 
- 
removeBlockDescription copied from interface:IBlockRemoves a block.- Specified by:
- removeBlockin interface- IBlock
- Parameters:
- block- The- IBlockobject to remove.
 
- 
removeComponentDescription copied from interface:IBlockRemoves a component.- Specified by:
- removeComponentin interface- IBlock
- Parameters:
- component- The- IComponentobject to remove.
 
- 
getBlockTemplateContainerDescription copied from interface:IBlockGets the inherited block.- Specified by:
- getBlockTemplateContainerin interface- IBlock
- Returns:
- A IBlockTemplateContainerobject.
 
- 
setBlockTemplateContainerDescription copied from interface:IBlockSets the block template container.- Specified by:
- setBlockTemplateContainerin interface- IBlock
- Parameters:
- blockTemplateContainer- The- IBlockTemplateContainerto set.
 
- 
findContentComponentByIdDescription copied from interface:IBlockSearches aIContentComponentobject by its identifier.- Specified by:
- findContentComponentByIdin interface- IBlock
- Parameters:
- storageKey- The- IStorageKeyobject to search with.
- Returns:
- A IContentComponentobject.
 
- 
findContentComponentByIdDescription copied from interface:IBlockSearches aIContentComponentobject by its identifier, recursively.- Specified by:
- findContentComponentByIdin interface- IBlock
- Parameters:
- storageKey- The- IStorageKeyobject to search with.
- recursive- Specify if recursive.
- Returns:
- A IContentComponentobject.
 
- 
findBlockBySystemNameDescription copied from interface:IBlockSearches aIBlockobject by its system name.- Specified by:
- findBlockBySystemNamein interface- IBlock
- Parameters:
- name- The system name of the child block.
- Returns:
- A IBlockobject.
 
- 
findBlockBySystemNameDescription copied from interface:IBlockSearches aIBlockobject by its system name, recursively.- Specified by:
- findBlockBySystemNamein interface- IBlock
- Parameters:
- name- The system name of the child block.
- recursive- Specify if recursive.
- Returns:
- A IBlockobject.
 
- 
findComponentBySystemNameDescription copied from interface:IBlockSearches aIComponentobject by its system name.- Specified by:
- findComponentBySystemNamein interface- IBlock
- Parameters:
- name- The system name of the child component.
- Returns:
- A IComponentobject.
 
- 
findComponentBySystemNameDescription copied from interface:IBlockSearches aIComponentobject by its system name, recursively.- Specified by:
- findComponentBySystemNamein interface- IBlock
- Parameters:
- name- The system name of the child component.
- recursive- Specify if recursive.
- Returns:
- A IComponentobject.
 
- 
findContentComponentBySystemNameDescription copied from interface:IBlockSearches aIContentComponentobject by its system name.- Specified by:
- findContentComponentBySystemNamein interface- IBlock
- Parameters:
- name- The system name of the child content component.
- Returns:
- A IContentComponentobject.
 
- 
findContentComponentBySystemNameDescription copied from interface:IBlockSearches aIContentComponentobject by its system name, recursively.- Specified by:
- findContentComponentBySystemNamein interface- IBlock
- Parameters:
- name- The system name of the child content component.
- recursive- Specify if recursive.
- Returns:
- A IContentComponentobject.
 
- 
isRebuiltpublic boolean isRebuilt()Description copied from interface:IBlockChecks if the block has been rebuilt.
 
-