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
Modifier and TypeFieldDescriptionprotected com.axemble.easysite.dao.domain.impl.ContentNodeImpl
Fields inherited from class com.axemble.vdoc.sdk.impl.PortalElement
path, storageKey
Fields inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
module
-
Constructor Summary
ConstructorDescriptionEzsContentComponent
(IModule module, com.axemble.easysite.dao.domain.impl.ContentNodeImpl contentNodeImpl) -
Method Summary
Modifier and TypeMethodDescriptionGets the CSS class.Gets the description of theIContentComponent
object.Gets the label of theIContentComponent
object.Gets the name of theIContentComponent
object.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.boolean
Checks if the block is nullable.boolean
Checks if the block is replaceable.void
Hides a property.void
setInnerCssClass
(String cssClass) Sets the CSS classvoid
setInnerDescription
(String description) void
setInnerLabel
(String label) void
setInnerName
(String name) void
setInnerNullable
(boolean nullable) Allows to specify the block is nullable.void
setInnerReplaceable
(boolean replaceable) Allows to specify the block is replaceable.void
setSysName
(String sysName) Get the system name of the componentvoid
Sets a value to a propertyMethods inherited from class com.axemble.vdoc.sdk.impl.PortalElement
equals, getId, getPath, getProtocolURI, getProtocolURI, hashCode, replaceBackSlash, replaceSlash, save, setId
Methods 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:IElement
Gets the native object underneath.- Specified by:
getNativeObject
in interfaceIElement
- Returns:
- an object.
-
getParentBlock
Description copied from interface:IContentComponent
Gets the parent block.- Specified by:
getParentBlock
in interfaceIContentComponent
- Returns:
- A
IBlock
object.
-
getInnerName
Description copied from interface:IContentComponent
Gets the name of theIContentComponent
object.- Specified by:
getInnerName
in interfaceIContentComponent
- Returns:
- The system name of the content component.
-
setInnerName
-
getInnerLabel
Description copied from interface:IContentComponent
Gets the label of theIContentComponent
object.- Specified by:
getInnerLabel
in interfaceIContentComponent
- Returns:
- The label of the content component.
-
setInnerLabel
-
getInnerDescription
Description copied from interface:IContentComponent
Gets the description of theIContentComponent
object.- Specified by:
getInnerDescription
in interfaceIContentComponent
- Returns:
- The description of the content component.
-
setInnerDescription
-
isInnerNullable
public boolean isInnerNullable()Description copied from interface:IContentComponent
Checks if the block is nullable.- Specified by:
isInnerNullable
in interfaceIContentComponent
- Returns:
- true if the block is nullable, false otherwise.
-
setInnerNullable
public void setInnerNullable(boolean nullable) Description copied from interface:IContentComponent
Allows to specify the block is nullable.- Specified by:
setInnerNullable
in interfaceIContentComponent
- Parameters:
nullable
- The flag to set.
-
isInnerReplaceable
public boolean isInnerReplaceable()Description copied from interface:IContentComponent
Checks if the block is replaceable.- Specified by:
isInnerReplaceable
in interfaceIContentComponent
- Returns:
- true if the block is replaceable, false otherwise.
-
setInnerReplaceable
public void setInnerReplaceable(boolean replaceable) Description copied from interface:IContentComponent
Allows to specify the block is replaceable.- Specified by:
setInnerReplaceable
in interfaceIContentComponent
- Parameters:
replaceable
- The flag to set.
-
getValue
Description copied from interface:IContentComponent
Gets the value of a property.- Specified by:
getValue
in interfaceIContentComponent
- Parameters:
propertyName
- The system name of the property.- Returns:
- A
Object
object.
-
getValue
Description copied from interface:IContentComponent
Gets the value of a property. Allows to specify a default value, if the internale value is null.- Specified by:
getValue
in interfaceIContentComponent
- Parameters:
propertyName
- The system name of the property.defaultValue
-- Returns:
- A
Object
object.
-
setValue
Description copied from interface:IContentComponent
Sets a value to a property- Specified by:
setValue
in interfaceIContentComponent
- Parameters:
propertyName
- The system name of the property.value
- The value object to set.
-
setHidden
Description copied from interface:IContentComponent
Hides a property.- Specified by:
setHidden
in interfaceIContentComponent
- Parameters:
propertyName
- The system name of the property.
-
getInnerCssClass
Description copied from interface:IContentComponent
Gets the CSS class.- Specified by:
getInnerCssClass
in interfaceIContentComponent
- Returns:
- A java.lang.String representing the class name used by the block.
-
setInnerCssClass
Description copied from interface:IContentComponent
Sets the CSS class- Specified by:
setInnerCssClass
in interfaceIContentComponent
- Parameters:
cssClass
-
-
getSysName
Description copied from interface:IContentComponent
Get the system name of the component- Specified by:
getSysName
in interfaceIContentComponent
- Returns:
- the system name
-
setSysName
Description copied from interface:IContentComponent
Get the system name of the component- Specified by:
setSysName
in interfaceIContentComponent
- Parameters:
sysName
- the system name
-