|
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_A_Asset
org.compiere.model.MAsset
public class MAsset
Asset Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_A_Asset |
|---|
A_PARENT_ASSET_ID_AD_Reference_ID, C_BPARTNERSR_ID_AD_Reference_ID, LEASE_BPARTNER_ID_AD_Reference_ID |
| 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 |
| Constructor Summary | |
|---|---|
MAsset(MInOut shipment,
MInOutLine shipLine,
int deliveryCount)
Shipment Constructor |
|
MAsset(Properties ctx,
int A_Asset_ID)
Discontinued Asset Constructor - DO NOT USE (but don't delete either) |
|
MAsset(Properties ctx,
int A_Asset_ID,
String trxName)
Asset Constructor |
|
MAsset(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
void |
addDescription(String description)
Add to Description |
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
MAssetDelivery |
confirmDelivery(EMail email,
int AD_User_ID)
Confirm Asset EMail Delivery |
MAssetDelivery |
confirmDelivery(HttpServletRequest request,
int AD_User_ID)
Confirm Asset Download Delivery |
MAssetDelivery[] |
getDeliveries()
Get Deliveries |
int |
getDeliveryCount()
Get Delivery count |
String[] |
getDownloadNames()
Get Additional Download Names |
String[] |
getDownloadURLs()
Get Additional Download URLs |
static MAsset |
getFromShipment(Properties ctx,
int M_InOutLine_ID,
String trxName)
Get Asset From Shipment |
MProductDownload[] |
getProductDownloads()
Get Active Addl. |
int |
getProductR_MailText_ID()
Get Product R_MailText_ID |
String |
getProductVersionNo()
Get Product Version No |
BigDecimal |
getQty()
Get Qty |
boolean |
isDownloadable()
Can we download. |
void |
setValueNameDescription(MInOut shipment,
int deliveryCount,
MProduct product,
MBPartner partner)
Set Value, Name, Description |
void |
setValueNameDescription(MInOut shipment,
MInOutLine line,
int deliveryCount)
Set Value Name Description |
String |
toString()
String representation |
| 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 MAsset(Properties ctx,
int A_Asset_ID,
String trxName)
ctx - contextA_Asset_ID - assettrxName - transaction name
public MAsset(Properties ctx,
int A_Asset_ID)
ctx - contextA_Asset_ID - asset
public MAsset(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result set recordtrxName - transaction
public MAsset(MInOut shipment,
MInOutLine shipLine,
int deliveryCount)
shipment - shipmentshipLine - shipment linedeliveryCount - 0 or number of delivery| Method Detail |
|---|
public static MAsset getFromShipment(Properties ctx,
int M_InOutLine_ID,
String trxName)
ctx - contextM_InOutLine_ID - shipment linetrxName - transaction
public void setValueNameDescription(MInOut shipment,
MInOutLine line,
int deliveryCount)
shipment - shipmentline - linedeliveryCount -
public void setValueNameDescription(MInOut shipment,
int deliveryCount,
MProduct product,
MBPartner partner)
shipment - shipmentdeliveryCount - countproduct - productpartner - partnerpublic void addDescription(String description)
description - textpublic BigDecimal getQty()
getQty in interface I_A_AssetgetQty in class X_A_Assetpublic String toString()
toString in class X_A_Assetpublic MAssetDelivery[] getDeliveries()
public int getDeliveryCount()
public boolean isDownloadable()
public String getProductVersionNo()
public int getProductR_MailText_ID()
public MProductDownload[] getProductDownloads()
public String[] getDownloadNames()
public String[] getDownloadURLs()
protected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - newsuccess - success
public MAssetDelivery confirmDelivery(EMail email,
int AD_User_ID)
email - email sentAD_User_ID - recipient
public MAssetDelivery confirmDelivery(HttpServletRequest request,
int AD_User_ID)
request - requestAD_User_ID - recipient
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||