Package lumis.doui.source.field.type
Class FilesDataType.Data
- java.lang.Object
-
- lumis.portal.file.FilesConfig
-
- lumis.doui.source.field.type.FilesDataType.Data
-
- All Implemented Interfaces:
IRenderable
,ISearchable
- Enclosing class:
- FilesDataType
public static class FilesDataType.Data extends FilesConfig implements IRenderable, ISearchable
Data object for a field with data type files.- Since:
- 4.0.8
-
-
Constructor Summary
Constructors Constructor Description Data(FilesConfig filesConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getDisplayString(IRenderer renderer)
Returns the display string, as defined inFileDataType.Data.getDisplayString(IRenderer)
, of each file in this files data, separated by comma.String
getRenderData(IRenderer renderer)
Returns the data of this object in a standard xml format.Collection<SearchContentAttachment>
getSearchContentAttachments()
Deprecated.List<SearchContentField>
getSearchContentFields()
Deprecated.-
Methods inherited from class lumis.portal.file.FilesConfig
getId, setId
-
-
-
-
Constructor Detail
-
Data
public Data(FilesConfig filesConfig)
-
-
Method Detail
-
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
Returns the display string, as defined inFileDataType.Data.getDisplayString(IRenderer)
, of each file in this files data, separated by comma.- 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
- Since:
- 4.0.8
-
getSearchContentAttachments
@Deprecated public Collection<SearchContentAttachment> getSearchContentAttachments()
Deprecated.Description copied from interface:ISearchable
Returns the search content attachments to be used for indexing this object.Must never return
null
. May return an empty collection if no attachment is to be used for indexing this object.- Specified by:
getSearchContentAttachments
in interfaceISearchable
- Returns:
- the search content attachments.
-
getSearchContentFields
@Deprecated public List<SearchContentField> getSearchContentFields()
Deprecated.Description copied from interface:ISearchable
Returns the search content fields to be used for indexing this object.Note that the actual search content fields used are decided by the
ISourceSearchContentFiller
implementation used in the source. It may or may not use the fields returned by this method. This method provides only the default recommended search fields for this data.- Specified by:
getSearchContentFields
in interfaceISearchable
- Returns:
- the search content fields. Never returns
null
. May return an empty collection if no field is to be used for indexing this object.
-
-