Package lumis.content.source.field.type
Class TagDataType.Data
- java.lang.Object
-
- lumis.content.source.field.type.TagDataType.Data
-
- All Implemented Interfaces:
IRenderable
- Enclosing class:
- TagDataType
public static class TagDataType.Data extends Object implements IRenderable
Data object for a field with data type tag.- Since:
- 9.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TagDataType.Data.Tag
Represents a content tag.
-
Constructor Summary
Constructors Constructor Description Data()
TagDataType.Data
constructor.Data(Collection<TagDataType.Data.Tag> tags)
TagDataType.Data
constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagDataType.Data
addTags(Collection<TagDataType.Data.Tag> tags)
Add the given tags in this data.TagDataType.Data
addTags(TagDataType.Data.Tag... tags)
Add the given tags in this data.String
getDisplayString(IRenderer renderer)
Returns the string to be displayed for representing this instance, when a short display is required.String
getRenderData(IRenderer renderer)
Returns the data of this object in a standard xml format.Set<TagDataType.Data.Tag>
getTags()
Returns the list of tags ordered by name.
-
-
-
Constructor Detail
-
Data
public Data(Collection<TagDataType.Data.Tag> tags)
TagDataType.Data
constructor.- Parameters:
tags
- , Collection of Tags.- Since:
- 9.0.0
- See Also:
TagDataType.Data.Tag
-
Data
public Data()
TagDataType.Data
constructor.- Since:
- 9.0.0
-
-
Method Detail
-
getTags
public Set<TagDataType.Data.Tag> getTags()
Returns the list of tags ordered by name.- Returns:
- the list of tags ordered by name.
- Since:
- 9.0.0
-
addTags
public TagDataType.Data addTags(TagDataType.Data.Tag... tags)
Add the given tags in this data.- Parameters:
tags
- the tags- Returns:
- this data.
- Since:
- 9.0.0
-
addTags
public TagDataType.Data addTags(Collection<TagDataType.Data.Tag> tags)
Add the given tags in this data.- Parameters:
tags
- the tags- Returns:
- this data.
- Since:
- 9.0.0
-
getRenderData
public String getRenderData(IRenderer renderer) throws PortalException
Description copied from interface:IRenderable
Returns the data of this object in a standard xml format.- Specified by:
getRenderData
in interfaceIRenderable
- Parameters:
renderer
- the renderer object that will use the returned render data.- Returns:
- the xml data for this object.
- Throws:
PortalException
-
getDisplayString
public String getDisplayString(IRenderer renderer) throws PortalException
Description copied from interface:IRenderable
Returns the string to be displayed for representing this instance, when a short display is required.- Specified by:
getDisplayString
in interfaceIRenderable
- Parameters:
renderer
- the renderer object that will use the returned render data.- Returns:
- the string to be used to friendly display this instance.
- Throws:
PortalException
-
-