public class ContentManagedFile
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
Define the CLASSNAME.
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
ContentManagedFile(java.lang.String astrFilePath,
byte[] abaFileContent)
Default constructor for ContentManagedFile
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getFileContent()
Returns the content of the file.
|
java.lang.String |
getFilePath()
Returns the full path of the content managed file, including the file name.
|
boolean |
getFilePromotion()
Returns the file promotion indicator.
|
int |
getMarkForDelete()
Returns the mark for delete flag.
|
short |
getPublished()
Returns the published flag.
|
java.sql.Timestamp |
getUploadTimestamp()
Gets the upload timestamp of the content managed file
|
void |
setFileContent(byte[] abaFileContent)
This method sets the content of the file.
|
void |
setFilePromotion(boolean aboolFilePromotion)
Sets the file promotion indicator to indicate whether or not the content managed file should be promoted to the file system.
|
void |
setMarkForDelete(int anMarkForDelete)
Sets the mark for delete flag for the content managed file.
|
void |
setPublished(short anPublished)
Sets the published flag for the content managed file.
|
void |
setUploadTimestamp(java.sql.Timestamp tsUploadTimestamp)
Sets the upload timestamp of the content managed file
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public ContentManagedFile(java.lang.String astrFilePath, byte[] abaFileContent)
astrFilePath
- The file path of the content managed fileabaFileContent
- The content of the content managed filepublic byte[] getFileContent()
public void setFileContent(byte[] abaFileContent)
abaFileContent
- The content of the filepublic java.lang.String getFilePath()
public boolean getFilePromotion()
public int getMarkForDelete()
public short getPublished()
public void setFilePromotion(boolean aboolFilePromotion)
aboolFilePromotion
- Set to indicate that content managed file is promoted to the file system.public void setMarkForDelete(int anMarkForDelete)
anMarkForDelete
- Set the mark for delete flag for the content managed file.public void setPublished(short anPublished)
anPublished
- Set the published flag for the content managed file.public java.sql.Timestamp getUploadTimestamp()
public void setUploadTimestamp(java.sql.Timestamp tsUploadTimestamp)
tsUploadTimestamp
- The upload timestamp