|
||||||||||
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
public static class FileDataType.Data
Data object for a field with data type file.
Constructor Summary | |
---|---|
FileDataType.Data()
|
|
FileDataType.Data(FileConfig fileConfig)
Deprecated. Since 4.0.8 replaced by #Data(FileConfig, String)
so icon value is also set. |
|
FileDataType.Data(FileConfig fileConfig,
FileMimeTypeConfig mimeTypeConfig)
Creates a new Data for the given fileConfig with the given mimeType. |
Method Summary | |
---|---|
String |
getContentType()
|
String |
getDisplayString(IRenderer renderer)
Returns the string to be displayed for representing this instance, when a short display is required. |
String |
getFileId()
|
long |
getFileSize()
|
String |
getFullPath()
|
String |
getIcon()
|
String |
getName()
|
String |
getRenderData(IRenderer renderer)
Returns the data of this object in a standard xml format. |
void |
setContentType(String contentType)
|
void |
setFileId(String fileId)
|
void |
setFileSize(long fileSize)
|
void |
setFullPath(String fullPath)
|
void |
setIcon(String icon)
|
void |
setName(String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileDataType.Data()
@Deprecated public FileDataType.Data(FileConfig fileConfig)
#Data(FileConfig, String)
so icon value is also set.
public FileDataType.Data(FileConfig fileConfig, FileMimeTypeConfig mimeTypeConfig)
fileConfig
- the fileConfig.mimeTypeConfig
- the mimeType information.Method Detail |
---|
public String getContentType()
public void setContentType(String contentType)
public String getFileId()
public void setFileId(String fileId)
public long getFileSize()
public void setFileSize(long fileSize)
public String getFullPath()
public void setFullPath(String fullPath)
public String getIcon()
public void setIcon(String icon)
public String getName()
public void setName(String name)
public String getRenderData(IRenderer renderer) throws PortalException
IRenderable
getRenderData
in interface IRenderable
renderer
- the renderer object that will use the returned render data.
PortalException
public String getDisplayString(IRenderer renderer) throws PortalException
IRenderable
getDisplayString
in interface IRenderable
renderer
- the renderer object that will use the returned render data.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |