com.adobe.icc.dbforms.obj
Class ImageModule

java.lang.Object
  extended by com.adobe.icc.dbforms.obj.Asset
      extended by com.adobe.icc.dbforms.obj.DataModule
          extended by com.adobe.icc.dbforms.obj.ImageModule
All Implemented Interfaces:
ILocalizable, ILocalizationResourceContainer, java.io.Serializable

public class ImageModule
extends DataModule

POJO representation of an Image module.
Extends basic attributes from Asset, and contains the image content, mime type, file name, etc.

See Also:
Serialized Form

Field Summary
static java.lang.String ASSOCIATION_CUTPOINT
          For internal use.
static java.lang.String FIRST_LEVEL_CUTPOINT
          For internal use.
static java.lang.String HIERARCHY_CUTPOINT
          For internal use.
static java.lang.String IM_CLASS
          For internal use.
 
Fields inherited from class com.adobe.icc.dbforms.obj.DataModule
DM_CLASS
 
Fields inherited from class com.adobe.icc.dbforms.obj.Asset
ASSET_CLASS, FIRST_LEVEL_WITH_CAT_NAMES_CUTPOINT
 
Constructor Summary
ImageModule()
          Default constructor.
 
Method Summary
 java.lang.String getCaption()
          Get the caption of the Image.
 java.lang.String getFileName()
          Get the file name of the Image.
 byte[] getImageBlob()
          Get the image content (byte array) of the Image.
 MimeType getMimeType()
          Get the MimeType of the Image.
 java.lang.String getServerFilePath()
          For internal use.
 void setCaption(java.lang.String caption)
          Sets the caption of the Image.
 void setFileName(java.lang.String fileName)
          Sets the file name of the Image.
 void setImageBlob(byte[] imageBlob)
          Sets the image content (byte array) of the Image.
 void setMimeType(MimeType mimeType)
          Sets the MimeType of the Image.
 void setServerFilePath(java.lang.String filePath)
          For internal use.
 
Methods inherited from class com.adobe.icc.dbforms.obj.DataModule
addVariable, getDataDictionaryRef, getDataDictionaryRefs, getVariableList, removeVariable, setDataDictionaryRef, setDataDictionaryRefs, setVariableList
 
Methods inherited from class com.adobe.icc.dbforms.obj.Asset
getActiveEndDate, getActiveStartDate, getComment, getCrxVersion, getDesc, getExtendedProperties, getId, getLastChangeBy, getLastPublishDate, getLastUpdateDate, getLcat, getLocalizationPrefix, getLocalizationResourceInfoList, getName, getState, getUcat, getUpdatedBy, getVersion, setActiveEndDate, setActiveStartDate, setComment, setCrxVersion, setDesc, setExtendedProperties, setId, setLastChangeBy, setLastPublishDate, setLastUpdateDate, setLcat, setLocalizationPrefix, setLocalizationResourceInfoList, setName, setState, setUcat, setUpdatedBy, setVersion
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IM_CLASS

public static final java.lang.String IM_CLASS
For internal use.


ASSOCIATION_CUTPOINT

public static final java.lang.String ASSOCIATION_CUTPOINT
For internal use.


HIERARCHY_CUTPOINT

public static final java.lang.String HIERARCHY_CUTPOINT
For internal use.


FIRST_LEVEL_CUTPOINT

public static final java.lang.String FIRST_LEVEL_CUTPOINT
For internal use.

Constructor Detail

ImageModule

public ImageModule()
Default constructor.

Method Detail

setFileName

public void setFileName(java.lang.String fileName)
Sets the file name of the Image.

Parameters:
fileName - The file name of the Image.

getFileName

public java.lang.String getFileName()
Get the file name of the Image.

Returns:
The file name of the Image.

setImageBlob

public void setImageBlob(byte[] imageBlob)
Sets the image content (byte array) of the Image.

Parameters:
imageBlob - The image content (byte array) of the Image.

getImageBlob

public byte[] getImageBlob()
Get the image content (byte array) of the Image.

Returns:
The image content (byte array) of the Image.

getMimeType

public MimeType getMimeType()
Get the MimeType of the Image.

Returns:
The MimeType of the Image.

setMimeType

public void setMimeType(MimeType mimeType)
Sets the MimeType of the Image.

Parameters:
mimeType - The MimeType of the Image.

setCaption

public void setCaption(java.lang.String caption)
Sets the caption of the Image.

Parameters:
caption - The caption of the Image.

getCaption

public java.lang.String getCaption()
Get the caption of the Image.

Returns:
The caption of the Image.

setServerFilePath

public void setServerFilePath(java.lang.String filePath)
For internal use.


getServerFilePath

public java.lang.String getServerFilePath()
For internal use.



[an error occurred while processing this directive] [an error occurred while processing this directive]