public interface WriteManagedFileCmd extends TaskCommand
WriteManagedFile
. The Commerce implementation for the command is
WriteManagedFileCmdImpl
. WriteManagedFile
can:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
Define the CLASSNAME.
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getFile()
Gets the content of the file.
|
java.lang.Long |
getFileId()
Gets the file ID.
|
java.lang.String |
getFilePath()
Gets the file path.
|
void |
setAssociation(java.lang.Boolean aboolAssociation)
Sets the association option of the managed file.
|
void |
setFile(byte[] abaFile)
Sets the content of the file.
|
void |
setFileId(java.lang.Long anFileId)
Sets the file ID.
|
void |
setFilePath(java.lang.String astrFilePath)
Sets the file path.
|
void |
setStoreentId(java.lang.Integer anStoreentId)
Sets the store entity ID that owns the managed file.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String CLASSNAME
java.lang.String getFilePath()
byte[] getFile()
void setFileId(java.lang.Long anFileId)
anFileId
- The file IDjava.lang.Long getFileId()
void setFilePath(java.lang.String astrFilePath)
astrFilePath
- The file pathvoid setFile(byte[] abaFile)
abaFile
- The file contentvoid setAssociation(java.lang.Boolean aboolAssociation)
aboolAssociation
- The option to set an association with the managed filevoid setStoreentId(java.lang.Integer anStoreentId)
anStoreentId
- The store entity ID