Package org.compiere.model
Class X_AD_AttachmentFile
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_AD_AttachmentFile
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,I_AD_AttachmentFile,I_Persistent,Evaluatee
- Direct Known Subclasses:
MAttachmentFile
Generated Model for AD_AttachmentFile
- Version:
- Release 13 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_IDFields inherited from interface org.compiere.model.I_AD_AttachmentFile
accessLevel, COLUMNNAME_AD_Attachment_ID, COLUMNNAME_AD_AttachmentFile_UU, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_FileName, COLUMNNAME_FilePath, COLUMNNAME_FileSize, COLUMNNAME_IsActive, COLUMNNAME_MIMEType, COLUMNNAME_SeqNo, COLUMNNAME_SHA256Checksum, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name -
Constructor Summary
ConstructorsConstructorDescriptionX_AD_AttachmentFile(Properties ctx, String AD_AttachmentFile_UU, String trxName) Standard ConstructorX_AD_AttachmentFile(Properties ctx, String AD_AttachmentFile_UU, String trxName, String... virtualColumns) Standard ConstructorX_AD_AttachmentFile(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected intAccessLevelDeprecated.intGet Attachment.Get AD_AttachmentFile_UU.Get File Name.Get File Path.Get File Size.Get MIME Type.intgetSeqNo()Get Sequence.Get SHA256 Checksum.protected POInfoinitPO(Properties ctx) Load Meta DatavoidsetAD_Attachment_ID(int AD_Attachment_ID) Set Attachment.voidsetAD_AttachmentFile_UU(String AD_AttachmentFile_UU) Set AD_AttachmentFile_UU.voidsetFileName(String FileName) Set File Name.voidsetFilePath(String FilePath) Set File Path.voidsetFileSize(BigDecimal FileSize) Set File Size.voidsetMIMEType(String MIMEType) Set MIME Type.voidsetSeqNo(int SeqNo) Set Sequence.voidsetSHA256Checksum(String SHA256Checksum) Set SHA256 Checksum.toString()String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, buildUUIDSubquery, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_QueryTimeout, get_Table_ID, get_TableAttribute, get_TableAttributeAsBoolean, get_TableAttributeAsInt, get_TableAttributes, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_ColumnLoaded, is_Immutable, is_new, is_Partial, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnLoaded, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_Partial, set_QueryTimeout, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, toInsertSQL, unlock, update_Tree, validForeignKeys, validForeignKeysExMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.compiere.model.I_AD_AttachmentFile
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods inherited from interface org.compiere.model.I_Persistent
save
-
Constructor Details
-
X_AD_AttachmentFile
Standard Constructor -
X_AD_AttachmentFile
public X_AD_AttachmentFile(Properties ctx, String AD_AttachmentFile_UU, String trxName, String... virtualColumns) Standard Constructor -
X_AD_AttachmentFile
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevelin classPO- Returns:
- 6 - System - Client
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
setAD_AttachmentFile_UU
Set AD_AttachmentFile_UU.- Specified by:
setAD_AttachmentFile_UUin interfaceI_AD_AttachmentFile- Parameters:
AD_AttachmentFile_UU- AD_AttachmentFile_UU
-
getAD_AttachmentFile_UU
Get AD_AttachmentFile_UU.- Specified by:
getAD_AttachmentFile_UUin interfaceI_AD_AttachmentFile- Returns:
- AD_AttachmentFile_UU
-
getAD_Attachment
Deprecated.- Specified by:
getAD_Attachmentin interfaceI_AD_AttachmentFile- Throws:
RuntimeException
-
setAD_Attachment_ID
public void setAD_Attachment_ID(int AD_Attachment_ID) Set Attachment.- Specified by:
setAD_Attachment_IDin interfaceI_AD_AttachmentFile- Parameters:
AD_Attachment_ID- Attachment for the document
-
getAD_Attachment_ID
public int getAD_Attachment_ID()Get Attachment.- Specified by:
getAD_Attachment_IDin interfaceI_AD_AttachmentFile- Returns:
- Attachment for the document
-
setFileName
Set File Name.- Specified by:
setFileNamein interfaceI_AD_AttachmentFile- Parameters:
FileName- Name of the local file or URL
-
getFileName
Get File Name.- Specified by:
getFileNamein interfaceI_AD_AttachmentFile- Returns:
- Name of the local file or URL
-
setFilePath
Set File Path.- Specified by:
setFilePathin interfaceI_AD_AttachmentFile- Parameters:
FilePath- Path where the file can be found
-
getFilePath
Get File Path.- Specified by:
getFilePathin interfaceI_AD_AttachmentFile- Returns:
- Path where the file can be found
-
setFileSize
Set File Size.- Specified by:
setFileSizein interfaceI_AD_AttachmentFile- Parameters:
FileSize- Size of the File in bytes
-
getFileSize
Get File Size.- Specified by:
getFileSizein interfaceI_AD_AttachmentFile- Returns:
- Size of the File in bytes
-
setMIMEType
Set MIME Type.- Specified by:
setMIMETypein interfaceI_AD_AttachmentFile- Parameters:
MIMEType- MIME Type
-
getMIMEType
Get MIME Type.- Specified by:
getMIMETypein interfaceI_AD_AttachmentFile- Returns:
- MIME Type
-
setSHA256Checksum
Set SHA256 Checksum.- Specified by:
setSHA256Checksumin interfaceI_AD_AttachmentFile- Parameters:
SHA256Checksum- SHA256 Checksum
-
getSHA256Checksum
Get SHA256 Checksum.- Specified by:
getSHA256Checksumin interfaceI_AD_AttachmentFile- Returns:
- SHA256 Checksum
-
setSeqNo
public void setSeqNo(int SeqNo) Set Sequence.- Specified by:
setSeqNoin interfaceI_AD_AttachmentFile- Parameters:
SeqNo- Method of ordering records; lowest number comes first
-
getSeqNo
public int getSeqNo()Get Sequence.- Specified by:
getSeqNoin interfaceI_AD_AttachmentFile- Returns:
- Method of ordering records; lowest number comes first
-