|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.PO
org.compiere.model.X_M_ProductDownload
org.compiere.model.MProductDownload
public class MProductDownload
Product Download Model
| 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, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Fields inherited from interface org.compiere.model.I_M_ProductDownload |
|---|
accessLevel, COLUMNNAME_DownloadURL, COLUMNNAME_M_Product_ID, COLUMNNAME_M_ProductDownload_ID, COLUMNNAME_Name, Model, Table_ID, Table_Name |
| Constructor Summary | |
|---|---|
MProductDownload(Properties ctx,
int M_ProductDownload_ID,
String trxName)
Standard Constructor |
|
MProductDownload(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
File |
getDownloadFile(String directory)
Find download url |
String |
getDownloadName()
Get Download Name |
InputStream |
getDownloadStream(String directory)
Get Download Stream |
URL |
getDownloadURL(String directory)
Get Download URL |
static void |
migrateDownloads(Properties ctx)
Migrate Download URLs (2.5.2c) |
String |
toString()
String Representation |
| Methods inherited from class org.compiere.model.X_M_ProductDownload |
|---|
get_AccessLevel, getDownloadURL, getKeyNamePair, getM_Product_ID, getM_Product, getM_ProductDownload_ID, getName, initPO, setDownloadURL, setM_Product_ID, setM_ProductDownload_ID, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Constructor Detail |
|---|
public MProductDownload(Properties ctx,
int M_ProductDownload_ID,
String trxName)
ctx - contextM_ProductDownload_ID - idtrxName - trx
public MProductDownload(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - trx| Method Detail |
|---|
public static void migrateDownloads(Properties ctx)
ctx - contextpublic String toString()
toString in class X_M_ProductDownloadpublic String getDownloadName()
public URL getDownloadURL(String directory)
directory - optional directory
public File getDownloadFile(String directory)
directory - optional directory
public InputStream getDownloadStream(String directory)
directory - optional directory
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||