|
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_R_Request
org.compiere.model.MRequest
public class MRequest
Request Model
| Field Summary | |
|---|---|
static String |
SEPARATOR
Separator line |
| 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 | |
|---|---|
MRequest(Properties ctx,
int SalesRep_ID,
int R_RequestType_ID,
String Summary,
boolean isSelfService,
String trxName)
SelfService Constructor |
|
MRequest(Properties ctx,
int R_Request_ID,
String trxName)
Constructor |
|
MRequest(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
void |
addToResult(String Result)
Add To Result |
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
File |
createPDF()
Create PDF |
File |
createPDF(File file)
Create PDF file |
void |
doClose()
(Soft) Close request. |
void |
doEscalate(boolean user)
Escalate request |
MRequestAction[] |
getActions()
Get Action History |
MBPartner |
getBPartner()
Get BPartner (may be not defined) |
MRequestCategory |
getCategory()
Get Request Category |
String |
getCategoryName()
Get Request Category Name |
String |
getConfidentialEntryText()
Get Confidential Entry Text (for jsp) |
String |
getConfidentialText()
Get Confidential Text (for jsp) |
String |
getCreatedByName()
Get Name of creator |
String |
getDueTypeText()
Get DueType Text (for jsp) |
MGroup |
getGroup()
Get Request Group |
String |
getGroupName()
Get Request Group Name |
String |
getMailTag()
Get Mail Tag |
String |
getMailTrailer(String serverAddress)
Get MailID |
String |
getPriorityText()
Get Priority Text (for jsp) |
String |
getPriorityUserText()
Get Importance Text (for jsp) |
static int |
getR_Request_ID(String mailText)
Get Request ID from mail text |
MRequestType |
getRequestType()
Get Request Type |
String |
getRequestTypeName()
Get Request Type Text (for jsp) |
MResolution |
getResolution()
Get Request Resolution |
String |
getResolutionName()
Get Request Resolution Name |
MUser |
getSalesRep()
Get Sales Rep |
String |
getSalesRepName()
Get Sales Rep Name |
MStatus |
getStatus()
Get Status |
String |
getStatusName()
Get Request Status Name |
MRequestUpdate[] |
getUpdates(String confidentialType)
Get Updates |
MRequestUpdate[] |
getUpdatesCustomer()
Get Customer Updates |
MRequestUpdate[] |
getUpdatesInternal()
Get Internal Updates |
MRequestUpdate[] |
getUpdatesPublic()
Get Public Updates |
MUser |
getUser()
Get Contact (may be not defined) |
boolean |
isDue()
Is due |
boolean |
isOverdue()
Is Overdue |
boolean |
isWebCanUpdate()
Web Can Update Request |
void |
sendNotices(ArrayList<String> list)
Send Update EMail/Notices |
void |
setConfidentialTypeEntry(String ConfidentialTypeEntry)
Set Confidential Type Entry |
void |
setDateLastAlert()
Set Date Last Alert to today |
void |
setDueType()
Set DueType based on Date Next Action |
void |
setR_RequestType_ID()
Set Default Request Type. |
void |
setR_Status_ID()
Set Default Request Status. |
void |
setSalesRep_ID(int SalesRep_ID)
Set SalesRep_ID |
String |
toString()
String Representation |
boolean |
webUpdate(String result)
Web Update |
| 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 |
| Field Detail |
|---|
public static final String SEPARATOR
| Constructor Detail |
|---|
public MRequest(Properties ctx,
int R_Request_ID,
String trxName)
ctx - contextR_Request_ID - request or 0 for newtrxName - transaction
public MRequest(Properties ctx,
int SalesRep_ID,
int R_RequestType_ID,
String Summary,
boolean isSelfService,
String trxName)
ctx - contextSalesRep_ID - SalesRepR_RequestType_ID - request typeSummary - summaryisSelfService - self servicetrxName - transaction
public MRequest(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public static int getR_Request_ID(String mailText)
mailText - mail text
public void setR_RequestType_ID()
public void setR_Status_ID()
public void addToResult(String Result)
Result - public void setDueType()
public MRequestAction[] getActions()
public MRequestUpdate[] getUpdates(String confidentialType)
confidentialType - maximum confidential type - null = all
public MRequestUpdate[] getUpdatesPublic()
public MRequestUpdate[] getUpdatesCustomer()
public MRequestUpdate[] getUpdatesInternal()
public MRequestType getRequestType()
public String getRequestTypeName()
public MRequestCategory getCategory()
public String getCategoryName()
public MGroup getGroup()
public String getGroupName()
public MStatus getStatus()
public String getStatusName()
public MResolution getResolution()
public String getResolutionName()
public boolean isOverdue()
public boolean isDue()
public String getDueTypeText()
public String getPriorityText()
public String getPriorityUserText()
public String getConfidentialText()
public String getConfidentialEntryText()
public void setDateLastAlert()
public MUser getSalesRep()
public String getSalesRepName()
public String getCreatedByName()
public MUser getUser()
public MBPartner getBPartner()
public boolean isWebCanUpdate()
public void setConfidentialTypeEntry(String ConfidentialTypeEntry)
setConfidentialTypeEntry in interface I_R_RequestsetConfidentialTypeEntry in class X_R_RequestConfidentialTypeEntry - confidentialitypublic boolean webUpdate(String result)
result - result
public String toString()
toString in class X_R_Requestpublic File createPDF()
public File createPDF(File file)
file - output file
protected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
public void setSalesRep_ID(int SalesRep_ID)
setSalesRep_ID in interface I_R_RequestsetSalesRep_ID in class X_R_RequestSalesRep_ID - id
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - newsuccess - success
public void sendNotices(ArrayList<String> list)
list - list of changespublic String getMailTrailer(String serverAddress)
serverAddress - server address
public String getMailTag()
public void doClose()
public void doEscalate(boolean user)
user - true if user escalated - otherwise system
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||