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 Summary
Fields inherited from class com.axemble.vdoc.sdk.impl.EzsContentComponent
contentNodeImplFields inherited from class com.axemble.vdoc.sdk.impl.PortalElement
path, storageKeyFields inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
module -
Constructor Summary
Constructors -
Method Summary
Modifier 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.EzsContentComponent
getInnerCssClass, 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.PortalElement
equals, getId, getPath, getProtocolURI, getProtocolURI, hashCode, replaceBackSlash, replaceSlash, save, setIdMethods inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
getModuleMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IContentComponent
getInnerCssClass, getInnerDescription, getInnerLabel, getInnerName, getParentBlock, getSysName, getValue, getValue, isInnerNullable, isInnerReplaceable, setHidden, setInnerCssClass, setInnerNullable, setInnerReplaceable, setSysName, setValue
-
Constructor Details
-
EzsBlock
- Parameters:
module-
-
-
Method Details
-
getInternalObject
protected final com.axemble.easysite.dao.domain.impl.BlockImpl getInternalObject() -
addBlock
Description copied from interface:IBlockAdds a block. -
addBlock
Description copied from interface:IBlockAdds a block. -
replaceBlock
Description copied from interface:IBlockReplaces a block.- Specified by:
replaceBlockin interfaceIBlock- Parameters:
block- TheIBlockobject to replace.path- The path of the component to replace.
-
addComponent
Description copied from interface:IBlockAdds a component.- Specified by:
addComponentin interfaceIBlock- Parameters:
component- TheIComponentobject to add.
-
addFirstComponent
Description copied from interface:IBlockAdds a component in the first position in the block.- Specified by:
addFirstComponentin interfaceIBlock- Parameters:
component- TheIComponentobject to add.
-
addComponent
Description copied from interface:IBlockAdds a component.- Specified by:
addComponentin interfaceIBlock- Parameters:
component- TheIComponentobject to add.path- The path of the component to replace.
-
replaceComponent
Description copied from interface:IBlockReplaces a component.- Specified by:
replaceComponentin interfaceIBlock- Parameters:
component- TheIComponentobject to replace.path- The path of the component to replace.
-
getContentComponents
Description copied from interface:IBlockGets all the content components (IBlockorIComponentelements).- Specified by:
getContentComponentsin interfaceIBlock- Returns:
- A java.util.Collection of
IContentComponentobjects.
-
removeBlock
Description copied from interface:IBlockRemoves a block.- Specified by:
removeBlockin interfaceIBlock- Parameters:
block- TheIBlockobject to remove.
-
removeComponent
Description copied from interface:IBlockRemoves a component.- Specified by:
removeComponentin interfaceIBlock- Parameters:
component- TheIComponentobject to remove.
-
getBlockTemplateContainer
Description copied from interface:IBlockGets the inherited block.- Specified by:
getBlockTemplateContainerin interfaceIBlock- Returns:
- A
IBlockTemplateContainerobject.
-
setBlockTemplateContainer
Description copied from interface:IBlockSets the block template container.- Specified by:
setBlockTemplateContainerin interfaceIBlock- Parameters:
blockTemplateContainer- TheIBlockTemplateContainerto set.
-
findContentComponentById
Description copied from interface:IBlockSearches aIContentComponentobject by its identifier.- Specified by:
findContentComponentByIdin interfaceIBlock- Parameters:
storageKey- TheIStorageKeyobject to search with.- Returns:
- A
IContentComponentobject.
-
findContentComponentById
Description copied from interface:IBlockSearches aIContentComponentobject by its identifier, recursively.- Specified by:
findContentComponentByIdin interfaceIBlock- Parameters:
storageKey- TheIStorageKeyobject to search with.recursive- Specify if recursive.- Returns:
- A
IContentComponentobject.
-
findBlockBySystemName
Description copied from interface:IBlockSearches aIBlockobject by its system name.- Specified by:
findBlockBySystemNamein interfaceIBlock- Parameters:
name- The system name of the child block.- Returns:
- A
IBlockobject.
-
findBlockBySystemName
Description copied from interface:IBlockSearches aIBlockobject by its system name, recursively.- Specified by:
findBlockBySystemNamein interfaceIBlock- Parameters:
name- The system name of the child block.recursive- Specify if recursive.- Returns:
- A
IBlockobject.
-
findComponentBySystemName
Description copied from interface:IBlockSearches aIComponentobject by its system name.- Specified by:
findComponentBySystemNamein interfaceIBlock- Parameters:
name- The system name of the child component.- Returns:
- A
IComponentobject.
-
findComponentBySystemName
Description copied from interface:IBlockSearches aIComponentobject by its system name, recursively.- Specified by:
findComponentBySystemNamein interfaceIBlock- Parameters:
name- The system name of the child component.recursive- Specify if recursive.- Returns:
- A
IComponentobject.
-
findContentComponentBySystemName
Description copied from interface:IBlockSearches aIContentComponentobject by its system name.- Specified by:
findContentComponentBySystemNamein interfaceIBlock- Parameters:
name- The system name of the child content component.- Returns:
- A
IContentComponentobject.
-
findContentComponentBySystemName
Description copied from interface:IBlockSearches aIContentComponentobject by its system name, recursively.- Specified by:
findContentComponentBySystemNamein interfaceIBlock- Parameters:
name- The system name of the child content component.recursive- Specify if recursive.- Returns:
- A
IContentComponentobject.
-
isRebuilt
public boolean isRebuilt()Description copied from interface:IBlockChecks if the block has been rebuilt.
-