public abstract class ManagedFileStorageBeanBase
extends com.ibm.commerce.base.objects.ECAbstractEntityBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ManagedFileStorageBeanBase()
Creates an instance of the managed file storage bean object.
|
Modifier and Type | Method and Description |
---|---|
ManagedFileStorageKey | ejbCreate(java.lang.Long fileId, java.lang.String contentWorkspace, java.lang.String contentOldWorkspace, byte[] file)
Creates the object that persists the file contents of the managed file.
|
void | ejbLoad()
Loads the managed file.
|
void | ejbPostCreate(java.lang.Long fileId, java.lang.String contentWorkspace, java.lang.String contentOldWorkspace, byte[] file)
Operations to perform after the object is created.
|
void | ejbStore()
Stores the managed file.
|
abstract java.lang.String | getContentOldWorkspace()
Returns the previous content workspace name associated with the file content.
|
abstract java.lang.String | getContentWorkspace()
Returns the current content workspace name associated with the file content.
|
abstract byte[] | getFile()
Returns the file contents for this particular managed file storage object.
|
abstract java.lang.Long | getFileId()
Returns the internal managed file identifier.
|
abstract void | setContentOldWorkspace(java.lang.String newContentOldWorkspace)
Sets the previous content workspace name associated with the file content.
|
abstract void | setContentWorkspace(java.lang.String newContentWorkspace)
Sets the current content workspace name associated with the file content.
|
abstract void | setFile(byte[] newFile)
Sets the file contents for the managed file.
|
abstract void | setFileId(java.lang.Long newFileId)
Sets the internal managed file identifier.
|
public static final java.lang.String COPYRIGHT
public ManagedFileStorageBeanBase()
public ManagedFileStorageKey ejbCreate(java.lang.Long fileId, java.lang.String contentWorkspace, java.lang.String contentOldWorkspace, byte[] file) throws javax.ejb.CreateException
public void ejbPostCreate(java.lang.Long fileId, java.lang.String contentWorkspace, java.lang.String contentOldWorkspace, byte[] file) throws javax.ejb.CreateException
public void ejbLoad()
public void ejbStore()
public abstract java.lang.Long getFileId()
public abstract void setFileId(java.lang.Long newFileId)
public abstract java.lang.String getContentWorkspace()
public abstract void setContentWorkspace(java.lang.String newContentWorkspace)
public abstract java.lang.String getContentOldWorkspace()
public abstract void setContentOldWorkspace(java.lang.String newContentOldWorkspace)
public abstract byte[] getFile()
public abstract void setFile(byte[] newFile)