public class WriteManagedFileCmdImpl extends TaskCommandImpl implements WriteManagedFileCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
Define the CLASSNAME.
|
static java.lang.String | FILE_ASSOCIATED
The constant to indicate that a file is associated.
|
static java.lang.String | FILE_DISASSOCIATED
The constant to indicate that the file is not associated.
|
static java.lang.String | FILE_NOT_PROMOTED_TO_FS
The constant to indicate that the file is not yet promoted to the file system.
|
static java.lang.String | FILE_NOT_PUBLISHED
The constant to indicate that the file is not yet published.
|
Constructor and Description |
---|
WriteManagedFileCmdImpl() |
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.
|
AccessVector | getResources()
Gets the access vector accessed by this command.
|
void | performExecute()
Main execution for WriteManageFile
|
void | reset()
Resets all the parameters
|
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.
|
void | validateParameters()
Validates the parameters.
|
public static final java.lang.String CLASSNAME
public static final java.lang.String FILE_ASSOCIATED
public static final java.lang.String FILE_DISASSOCIATED
public static final java.lang.String FILE_NOT_PROMOTED_TO_FS
public static final java.lang.String FILE_NOT_PUBLISHED
public java.lang.String getFilePath()
public byte[] getFile()
public AccessVector getResources() throws ECException
public void performExecute() throws ECException
public void reset()
public void setFileId(java.lang.Long anFileId)
public java.lang.Long getFileId()
public void setFilePath(java.lang.String astrFilePath)
public void setFile(byte[] abaFile)
public void setAssociation(java.lang.Boolean aboolAssociation)
public void setStoreentId(java.lang.Integer anStoreentId)
public void validateParameters() throws ECException