com.silverpeas.crm.control
Interface CrmDataManager

All Known Implementing Classes:
SimpleCrmDataManager

public interface CrmDataManager

Interface declaration

Author:

Method Summary
 void createCrm(Crm crm)
          Create a new CRM.
 void createCrmContact(CrmContact contact)
           
 void createCrmDelivery(CrmDelivery delivery)
           
 void createCrmEvent(CrmEvent event)
           
 void createCrmParticipant(CrmParticipant participant)
           
 Crm createDefaultCrm(String spaceId, String componentId)
          create a default CRM during instanciation.
 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)
           
 CrmDelivery getCrmDelivery(com.stratelia.webactiv.util.WAPrimaryKey deliveryPK)
           
 CrmEvent getCrmEvent(com.stratelia.webactiv.util.WAPrimaryKey eventPK)
           
 CrmParticipant getCrmParticipant(com.stratelia.webactiv.util.WAPrimaryKey participantPK)
           
 List<Crm> listAllCrms(String instanceId)
           
 List<CrmContact> listContactsOfCrm(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
           
 List<CrmParticipant> listCrmParticipantsOfCrm(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
           
 List<CrmDelivery> listDeliveriesOfCrm(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
           
 List<CrmEvent> listEventsOfCrm(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
           
 void updateCrm(Crm crm)
           
 void updateCrmContact(CrmContact contact)
           
 void updateCrmDelivery(CrmDelivery delivery)
           
 void updateCrmEvent(CrmEvent event)
           
 void updateCrmParticipant(CrmParticipant participant)
           
 

Method Detail

createDefaultCrm

Crm createDefaultCrm(String spaceId,
                     String componentId)
create a default CRM during instanciation.

Parameters:
spaceId -
componentId -
Returns:

createCrm

void createCrm(Crm crm)
Create a new CRM.

Parameters:
crm - the crm to store.

deleteCrm

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

updateCrm

void updateCrm(Crm crm)

getCrm

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

listAllCrms

List<Crm> listAllCrms(String instanceId)

listContactsOfCrm

List<CrmContact> listContactsOfCrm(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)

listCrmParticipantsOfCrm

List<CrmParticipant> listCrmParticipantsOfCrm(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)

listDeliveriesOfCrm

List<CrmDelivery> listDeliveriesOfCrm(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)

listEventsOfCrm

List<CrmEvent> listEventsOfCrm(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.