|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.framework.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.framework.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
MRequest(Ctx ctx,
int SalesRep_ID,
int R_RequestType_ID,
String Summary,
boolean isSelfService,
String trxName)
SelfService Constructor |
|
MRequest(Ctx ctx,
int R_Request_ID,
String trxName)
Constructor |
|
MRequest(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
MRequest(X_I_Request imp)
Import 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()
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 |
protected void |
sendNotices(ArrayList<String> list)
Send Update EMail/Notices |
void |
setAD_User_ID(String oldAD_User_ID,
String newAD_User_ID,
int windowNo)
Set Business Partner - Callout |
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_MailText_ID(String oldR_MailText_ID,
String newR_MailText_ID,
int windowNo)
Set MailText - Callout |
void |
setR_RequestType_ID()
Set Default Request Type. |
void |
setR_RequestType_ID(String oldR_RequestType_ID,
String newR_RequestType_ID,
int windowNo)
Set Request Type - Callout |
void |
setR_StandardResponse_ID(String oldR_StandardResponse_ID,
String newR_StandardResponse_ID,
int windowNo)
Set Standard Response - Callout |
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, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String SEPARATOR
| Constructor Detail |
|---|
public MRequest(Ctx ctx,
int R_Request_ID,
String trxName)
ctx - contextR_Request_ID - request or 0 for newtrxName - transaction
public MRequest(Ctx 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(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transactionpublic MRequest(X_I_Request imp)
imp - import| 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()
@UICallout
public void setAD_User_ID(String oldAD_User_ID,
String newAD_User_ID,
int windowNo)
throws Exception
oldAD_User_ID - old valuenewAD_User_ID - new valuewindowNo - window
Exceptionpublic MBPartner getBPartner()
public boolean isWebCanUpdate()
public void setConfidentialTypeEntry(String ConfidentialTypeEntry)
setConfidentialTypeEntry 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 class X_R_RequestSalesRep_ID - id
@UICallout
public void setR_MailText_ID(String oldR_MailText_ID,
String newR_MailText_ID,
int windowNo)
throws Exception
oldR_MailText_ID - old valuenewR_MailText_ID - new valuewindowNo - window
Exception
@UICallout
public void setR_StandardResponse_ID(String oldR_StandardResponse_ID,
String newR_StandardResponse_ID,
int windowNo)
throws Exception
oldR_StandardResponse_ID - old valuenewR_StandardResponse_ID - new valuewindowNo - window
Exception
@UICallout
public void setR_RequestType_ID(String oldR_RequestType_ID,
String newR_RequestType_ID,
int windowNo)
throws Exception
oldR_RequestType_ID - old valuenewR_RequestType_ID - new valuewindowNo - window
Exception
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - newsuccess - success
protected void sendNotices(ArrayList<String> list)
list - list of changespublic String getMailTrailer()
serverAddress - server address
public String getMailTag()
public void doClose()
public void doEscalate(boolean user)
user - true if user escalated - otherwise system
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||