fr.paris.lutece.plugins.workflow.modules.notifycrm.service
Class NotifyCRMWebService

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.notifycrm.service.NotifyCRMWebService

public final class NotifyCRMWebService
extends java.lang.Object

NotifyCRMWebService


Method Summary
static NotifyCRMWebService getService()
          Get the instance of the service
 void notify(java.lang.String strIdDemand, java.lang.String strObject, java.lang.String strMessage, java.lang.String strSender)
          Calls the CRM Notification REST WS to notify an user
 void sendUpdateDemand(java.lang.String strIdDemand, java.lang.String strStatusText)
          Calls the CRM Notification REST WS to update a demand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getService

public static NotifyCRMWebService getService()
Get the instance of the service

Returns:
the instance of the service

notify

public void notify(java.lang.String strIdDemand,
                   java.lang.String strObject,
                   java.lang.String strMessage,
                   java.lang.String strSender)
Calls the CRM Notification REST WS to notify an user

Parameters:
strIdDemand - the id demand
strObject - the object
strMessage - the message
strSender - the sender

sendUpdateDemand

public void sendUpdateDemand(java.lang.String strIdDemand,
                             java.lang.String strStatusText)
Calls the CRM Notification REST WS to update a demand

Parameters:
strIdDemand - the id demand
strStatusText - the status text


Copyright © 2011 Mairie de Paris. All Rights Reserved.