|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.crm.modules.rest.rs.CRMRest
public class CRMRest
CRMRest
Constructor Summary | |
---|---|
CRMRest()
|
Method Summary | |
---|---|
String |
doCreateDemandByIdCRMUser(String strIdDemandType,
String strIdCRMUser,
String strIdStatusCRM,
String strStatusText,
String strData,
javax.servlet.http.HttpServletRequest request)
Create a new demand |
String |
doCreateDemandByUserGuid(String strIdDemandType,
String strUserGuid,
String strIdStatusCRM,
String strStatusText,
String strData,
javax.servlet.http.HttpServletRequest request)
Create a new demand |
String |
doDeleteDemand(String strIdDemand)
Delete a demand |
String |
doUpdateDemand(String strIdDemand,
String strIdStatusCRM,
String strStatusText,
String strData,
javax.servlet.http.HttpServletRequest request)
Update a demand |
String |
getDemandJson(String strIdDemand)
Get the Json of the demand |
String |
getDemandXML(String strIdDemand)
Get the XML of the demand |
String |
getUserGuidFromIdDemand(String strIdDemand)
Get the user guid from a given id demand |
String |
getWADL(javax.servlet.http.HttpServletRequest request)
Get the wadl.xml content |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CRMRest()
Method Detail |
---|
public String getWADL(@Context javax.servlet.http.HttpServletRequest request)
request
- HttpServletRequest
public String doCreateDemandByUserGuid(String strIdDemandType, String strUserGuid, String strIdStatusCRM, String strStatusText, String strData, @Context javax.servlet.http.HttpServletRequest request)
strIdDemandType
- the demand type idstrUserGuid
- the user guidstrIdStatusCRM
- the id status crmstrStatusText
- the status textstrData
- the datarequest
- HttpServletRequest
public String doCreateDemandByIdCRMUser(String strIdDemandType, String strIdCRMUser, String strIdStatusCRM, String strStatusText, String strData, @Context javax.servlet.http.HttpServletRequest request)
strIdDemandType
- the demand type idstrIdCRMUser
- the ID CRM userstrIdStatusCRM
- the id status crmstrStatusText
- the status textstrData
- the datarequest
- HttpServletRequest
public String doUpdateDemand(String strIdDemand, String strIdStatusCRM, String strStatusText, String strData, @Context javax.servlet.http.HttpServletRequest request)
strIdDemand
- the id demandstrIdStatusCRM
- the id status crmstrStatusText
- the status textstrData
- the datarequest
- HttpServletRequest
public String doDeleteDemand(String strIdDemand)
strIdDemand
- the id demand
public String getDemandXML(String strIdDemand)
strIdDemand
- the id demand
public String getDemandJson(String strIdDemand)
strIdDemand
- the id of the demand
public String getUserGuidFromIdDemand(String strIdDemand)
strIdDemand
- the id demand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |