com.silverpeas.crm.model
Interface CrmDataInterface

All Known Implementing Classes:
CrmDataManager

public interface CrmDataInterface

Interface declaration

Author:

Method Summary
 void createCrm(Crm crm)
           
 void createCrmContact(CrmContact contact)
           
 void createCrmDelivery(CrmDelivery delivery)
           
 void createCrmEvent(CrmEvent event)
           
 void createCrmParticipant(CrmParticipant participant)
           
 Crm createDefaultCrm(String spaceId, String componentId)
           
 void deleteCrm(com.stratelia.webactiv.util.WAPrimaryKey pk)
           
 void deleteCrmContact(com.stratelia.webactiv.util.WAPrimaryKey pk, String componentId)
           
 void deleteCrmDelivery(com.stratelia.webactiv.util.WAPrimaryKey deliveryPK, String componentId)
           
 void deleteCrmEvent(com.stratelia.webactiv.util.WAPrimaryKey eventPK, String componentId)
           
 void deleteCrmParticipant(com.stratelia.webactiv.util.WAPrimaryKey participantPK, String componentId)
           
 Crm getCrm(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
           
 CrmContact getCrmContact(com.stratelia.webactiv.util.WAPrimaryKey contactPK)
           
 ArrayList<CrmContact> getCrmContacts(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
           
 CrmDelivery getCrmDelivery(com.stratelia.webactiv.util.WAPrimaryKey deliveryPK)
           
 ArrayList<CrmDelivery> getCrmDeliverys(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
           
 CrmEvent getCrmEvent(com.stratelia.webactiv.util.WAPrimaryKey eventPK)
           
 ArrayList<CrmEvent> getCrmEvents(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
           
 CrmParticipant getCrmParticipant(com.stratelia.webactiv.util.WAPrimaryKey participantPK)
           
 ArrayList<CrmParticipant> getCrmParticipants(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
           
 ArrayList<Crm> getCrms(String instanceId)
           
 Connection openConnection()
          Ouverture de la connection vers la source de donnees
 void updateCrm(Crm crm)
           
 void updateCrmContact(CrmContact contact)
           
 void updateCrmDelivery(CrmDelivery delivery)
           
 void updateCrmEvent(CrmEvent event)
           
 void updateCrmParticipant(CrmParticipant participant)
           
 

Method Detail

openConnection

Connection openConnection()
                          throws CrmException
Ouverture de la connection vers la source de donnees

Returns:
Connection la connection
Throws:
CrmException

createDefaultCrm

Crm createDefaultCrm(String spaceId,
                     String componentId)

createCrm

void createCrm(Crm crm)

deleteCrm

void deleteCrm(com.stratelia.webactiv.util.WAPrimaryKey pk)

updateCrm

void updateCrm(Crm crm)

getCrm

Crm getCrm(com.stratelia.webactiv.util.WAPrimaryKey crmPK)

getCrms

ArrayList<Crm> getCrms(String instanceId)

getCrmContacts

ArrayList<CrmContact> getCrmContacts(com.stratelia.webactiv.util.WAPrimaryKey crmPK)

createCrmContact

void createCrmContact(CrmContact contact)

deleteCrmContact

void deleteCrmContact(com.stratelia.webactiv.util.WAPrimaryKey pk,
                      String componentId)

updateCrmContact

void updateCrmContact(CrmContact contact)

getCrmContact

CrmContact getCrmContact(com.stratelia.webactiv.util.WAPrimaryKey contactPK)

getCrmParticipants

ArrayList<CrmParticipant> getCrmParticipants(com.stratelia.webactiv.util.WAPrimaryKey crmPK)

getCrmParticipant

CrmParticipant getCrmParticipant(com.stratelia.webactiv.util.WAPrimaryKey participantPK)

createCrmParticipant

void createCrmParticipant(CrmParticipant participant)

deleteCrmParticipant

void deleteCrmParticipant(com.stratelia.webactiv.util.WAPrimaryKey participantPK,
                          String componentId)

updateCrmParticipant

void updateCrmParticipant(CrmParticipant participant)

getCrmDelivery

CrmDelivery getCrmDelivery(com.stratelia.webactiv.util.WAPrimaryKey deliveryPK)

getCrmDeliverys

ArrayList<CrmDelivery> getCrmDeliverys(com.stratelia.webactiv.util.WAPrimaryKey crmPK)

createCrmDelivery

void createCrmDelivery(CrmDelivery delivery)

deleteCrmDelivery

void deleteCrmDelivery(com.stratelia.webactiv.util.WAPrimaryKey deliveryPK,
                       String componentId)

updateCrmDelivery

void updateCrmDelivery(CrmDelivery delivery)

getCrmEvent

CrmEvent getCrmEvent(com.stratelia.webactiv.util.WAPrimaryKey eventPK)

getCrmEvents

ArrayList<CrmEvent> getCrmEvents(com.stratelia.webactiv.util.WAPrimaryKey crmPK)

createCrmEvent

void createCrmEvent(CrmEvent event)

deleteCrmEvent

void deleteCrmEvent(com.stratelia.webactiv.util.WAPrimaryKey eventPK,
                    String componentId)

updateCrmEvent

void updateCrmEvent(CrmEvent event)


Copyright © 2016 Silverpeas. All Rights Reserved.