Package com.axemble.vdoc.sdk.impl
Class EzsContentComponent
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.PortalElement
com.axemble.vdoc.sdk.impl.EzsContentComponent
- All Implemented Interfaces:
IContentComponent,IElement,Serializable
- Direct Known Subclasses:
EzsBlock,EzsComponent
- Author:
- vlygeros
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.axemble.easysite.dao.domain.impl.ContentNodeImplFields inherited from class com.axemble.vdoc.sdk.impl.PortalElement
path, storageKeyFields inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
module -
Constructor Summary
ConstructorsConstructorDescriptionEzsContentComponent(IModule module, com.axemble.easysite.dao.domain.impl.ContentNodeImpl contentNodeImpl) -
Method Summary
Modifier and TypeMethodDescriptionGets the CSS class.Gets the description of theIContentComponentobject.Gets the label of theIContentComponentobject.Gets the name of theIContentComponentobject.Gets the native object underneath.Gets the parent block.Get the system name of the componentGets the value of a property.Gets the value of a property.booleanChecks if the block is nullable.booleanChecks if the block is replaceable.voidHides a property.voidsetInnerCssClass(String cssClass) Sets the CSS classvoidsetInnerDescription(String description) voidsetInnerLabel(String label) voidsetInnerName(String name) voidsetInnerNullable(boolean nullable) Allows to specify the block is nullable.voidsetInnerReplaceable(boolean replaceable) Allows to specify the block is replaceable.voidsetSysName(String sysName) Get the system name of the componentvoidSets a value to a propertyMethods 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
getModule
-
Field Details
-
contentNodeImpl
protected com.axemble.easysite.dao.domain.impl.ContentNodeImpl contentNodeImpl
-
-
Constructor Details
-
EzsContentComponent
public EzsContentComponent(IModule module, com.axemble.easysite.dao.domain.impl.ContentNodeImpl contentNodeImpl) - Parameters:
module-
-
-
Method Details
-
getNativeObject
Description copied from interface:IElementGets the native object underneath.- Specified by:
getNativeObjectin interfaceIElement- Returns:
- an object.
-
getParentBlock
Description copied from interface:IContentComponentGets the parent block.- Specified by:
getParentBlockin interfaceIContentComponent- Returns:
- A
IBlockobject.
-
getInnerName
Description copied from interface:IContentComponentGets the name of theIContentComponentobject.- Specified by:
getInnerNamein interfaceIContentComponent- Returns:
- The system name of the content component.
-
setInnerName
-
getInnerLabel
Description copied from interface:IContentComponentGets the label of theIContentComponentobject.- Specified by:
getInnerLabelin interfaceIContentComponent- Returns:
- The label of the content component.
-
setInnerLabel
-
getInnerDescription
Description copied from interface:IContentComponentGets the description of theIContentComponentobject.- Specified by:
getInnerDescriptionin interfaceIContentComponent- Returns:
- The description of the content component.
-
setInnerDescription
-
isInnerNullable
public boolean isInnerNullable()Description copied from interface:IContentComponentChecks if the block is nullable.- Specified by:
isInnerNullablein interfaceIContentComponent- Returns:
- true if the block is nullable, false otherwise.
-
setInnerNullable
public void setInnerNullable(boolean nullable) Description copied from interface:IContentComponentAllows to specify the block is nullable.- Specified by:
setInnerNullablein interfaceIContentComponent- Parameters:
nullable- The flag to set.
-
isInnerReplaceable
public boolean isInnerReplaceable()Description copied from interface:IContentComponentChecks if the block is replaceable.- Specified by:
isInnerReplaceablein interfaceIContentComponent- Returns:
- true if the block is replaceable, false otherwise.
-
setInnerReplaceable
public void setInnerReplaceable(boolean replaceable) Description copied from interface:IContentComponentAllows to specify the block is replaceable.- Specified by:
setInnerReplaceablein interfaceIContentComponent- Parameters:
replaceable- The flag to set.
-
getValue
Description copied from interface:IContentComponentGets the value of a property.- Specified by:
getValuein interfaceIContentComponent- Parameters:
propertyName- The system name of the property.- Returns:
- A
Objectobject.
-
getValue
Description copied from interface:IContentComponentGets the value of a property. Allows to specify a default value, if the internale value is null.- Specified by:
getValuein interfaceIContentComponent- Parameters:
propertyName- The system name of the property.defaultValue-- Returns:
- A
Objectobject.
-
setValue
Description copied from interface:IContentComponentSets a value to a property- Specified by:
setValuein interfaceIContentComponent- Parameters:
propertyName- The system name of the property.value- The value object to set.
-
setHidden
Description copied from interface:IContentComponentHides a property.- Specified by:
setHiddenin interfaceIContentComponent- Parameters:
propertyName- The system name of the property.
-
getInnerCssClass
Description copied from interface:IContentComponentGets the CSS class.- Specified by:
getInnerCssClassin interfaceIContentComponent- Returns:
- A java.lang.String representing the class name used by the block.
-
setInnerCssClass
Description copied from interface:IContentComponentSets the CSS class- Specified by:
setInnerCssClassin interfaceIContentComponent- Parameters:
cssClass-
-
getSysName
Description copied from interface:IContentComponentGet the system name of the component- Specified by:
getSysNamein interfaceIContentComponent- Returns:
- the system name
-
setSysName
Description copied from interface:IContentComponentGet the system name of the component- Specified by:
setSysNamein interfaceIContentComponent- Parameters:
sysName- the system name
-