|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.doui.source.field.type.FileDataType.Data lumis.service.document.field.DocumentDataType.Data
public static class DocumentDataType.Data
Data object for a field with data type document.
Constructor Summary | |
---|---|
DocumentDataType.Data()
|
Method Summary | |
---|---|
String |
getDescription()
The document description. |
String |
getDisplayString(IRenderer renderer)
Returns the string to be displayed for representing this instance, when a short display is required. |
String |
getDocumentId()
|
protected Map<String,Object> |
getJSONData()
Returns the render data in JSON format. |
String |
getRenderData(IRenderer renderer)
Returns the data of this object in a standard xml format. |
Collection<SearchContentAttachment> |
getSearchContentAttachments()
Returns the search content attachments to be used for indexing this object. |
List<SearchContentField> |
getSearchContentFields()
Returns the search content fields to be used for indexing this object. |
String |
getTitle()
|
protected String |
getXMLFragmentData(boolean generateWithAbsoluteUrls)
Returns the render data XML fragment. |
void |
setDescription(String description)
The document description. |
void |
setDocumentId(String documentId)
|
void |
setTitle(String title)
|
Methods inherited from class lumis.doui.source.field.type.FileDataType.Data |
---|
getContentType, getFileId, getFileSize, getFullPath, getIcon, getMetadata, getName, setContentType, setFileId, setFileSize, setFullPath, setIcon, setMetadata, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentDataType.Data()
Method Detail |
---|
public String getDocumentId()
public void setDocumentId(String documentId)
public String getTitle()
public void setTitle(String title)
public String getDescription()
public void setDescription(String description)
description.
- public String getRenderData(IRenderer renderer) throws PortalException
IRenderable
getRenderData
in interface IRenderable
getRenderData
in class FileDataType.Data
renderer
- the renderer object that will use the returned render data.
PortalException
public String getDisplayString(IRenderer renderer) throws PortalException
IRenderable
getDisplayString
in interface IRenderable
getDisplayString
in class FileDataType.Data
renderer
- the renderer object that will use the returned render data.
PortalException
public List<SearchContentField> getSearchContentFields()
ISearchable
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.
getSearchContentFields
in interface ISearchable
getSearchContentFields
in class FileDataType.Data
null
.
May return an empty collection if no field is to be used for indexing
this object.public Collection<SearchContentAttachment> getSearchContentAttachments()
ISearchable
Must never return null
. May return an empty collection if
no attachment is to be used for indexing this object.
getSearchContentAttachments
in interface ISearchable
getSearchContentAttachments
in class FileDataType.Data
protected String getXMLFragmentData(boolean generateWithAbsoluteUrls) throws PortalException
getXMLFragmentData
in class FileDataType.Data
PortalException
protected Map<String,Object> getJSONData() throws PortalException
getJSONData
in class FileDataType.Data
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |