public class ManagedFileEntityCreationData
extends java.lang.Object
implements com.ibm.commerce.context.content.objects.EntityCreationData
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ManagedFileEntityCreationData()
Creates the managed file entity creation data object.
|
Modifier and Type | Method and Description |
---|---|
void | copyFields(com.ibm.commerce.base.objects.ECEntityBean entitybeanBase)
Copy the fields of the entity creation data to the given entity bean.
|
java.lang.Short | getAssociated()
Returns whether the file is already associated with a business object.
|
java.lang.String | getContentWorkspace()
Returns the workspace name of the modification.
|
byte[] | getFile()
Returns the file contents of the managed file.
|
java.lang.Long | getFileDirId()
Gets the file directory ID.
|
java.lang.Long | getFileId()
Returns the file identifier that represents the internal business object key of the file.
|
java.lang.String | getFilePath()
Returns the location that the managed file will represent.
|
void | setAssociated(java.lang.Short associated)
Sets whether the managed file is associated with a business object.
|
void | setContentWorkspace(java.lang.String workspace)
Sets the workspace name of the modification.
|
void | setFile(byte[] file)
Sets the file contents of the managed file.
|
void | setFileDirId(java.lang.Long aFileDirId)
Sets the File Directory ID.
|
void | setFileId(java.lang.Long id)
Sets the internal business object key of the managed file.
|
void | setFilePath(java.lang.String filepath)
Sets the URL location of the file.
|
java.lang.String | toString()
Returns the string representation of the object.
|
public static final java.lang.String COPYRIGHT
public ManagedFileEntityCreationData()
public void copyFields(com.ibm.commerce.base.objects.ECEntityBean entitybeanBase) throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException
public java.lang.Long getFileId()
public java.lang.String getFilePath()
public void setFileId(java.lang.Long id)
public void setFilePath(java.lang.String filepath)
public java.lang.Short getAssociated()
public byte[] getFile()
public java.lang.Long getFileDirId()
public void setAssociated(java.lang.Short associated)
public void setFile(byte[] file)
public java.lang.String getContentWorkspace()
public void setContentWorkspace(java.lang.String workspace)
public void setFileDirId(java.lang.Long aFileDirId)
public java.lang.String toString()