| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.crm.implementation.CrmDataManager
public class CrmDataManager
Class declaration
| Constructor Summary | |
|---|---|
CrmDataManager()
 | 
|
| Method Summary | |
|---|---|
 void | 
createCrm(Crm crm)
Create a 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)
Delete a CRM.  | 
 void | 
deleteCrmContact(com.stratelia.webactiv.util.WAPrimaryKey pk,
                 String componentId)
 | 
 void | 
deleteCrmDelivery(com.stratelia.webactiv.util.WAPrimaryKey pk,
                  String componentId)
 | 
 void | 
deleteCrmEvent(com.stratelia.webactiv.util.WAPrimaryKey pk,
               String componentId)
 | 
 void | 
deleteCrmParticipant(com.stratelia.webactiv.util.WAPrimaryKey pk,
                     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)
Update a CRM  | 
 void | 
updateCrmContact(CrmContact contact)
 | 
 void | 
updateCrmDelivery(CrmDelivery delivery)
 | 
 void | 
updateCrmEvent(CrmEvent event)
 | 
 void | 
updateCrmParticipant(CrmParticipant participant)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public CrmDataManager()
| Method Detail | 
|---|
public void createCrm(Crm crm)
createCrm in interface CrmDataInterfacepublic void deleteCrm(com.stratelia.webactiv.util.WAPrimaryKey pk)
deleteCrm in interface CrmDataInterfacepublic void updateCrm(Crm crm)
updateCrm in interface CrmDataInterfacepublic ArrayList<Crm> getCrms(String instanceId)
getCrms in interface CrmDataInterfacepublic ArrayList<CrmContact> getCrmContacts(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
getCrmContacts in interface CrmDataInterfacepublic void createCrmContact(CrmContact contact)
createCrmContact in interface CrmDataInterface
public void deleteCrmContact(com.stratelia.webactiv.util.WAPrimaryKey pk,
                             String componentId)
deleteCrmContact in interface CrmDataInterfacepublic void updateCrmContact(CrmContact contact)
updateCrmContact in interface CrmDataInterfacepublic Crm getCrm(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
getCrm in interface CrmDataInterfacepublic CrmContact getCrmContact(com.stratelia.webactiv.util.WAPrimaryKey contactPK)
getCrmContact in interface CrmDataInterface
public Crm createDefaultCrm(String spaceId,
                            String componentId)
createDefaultCrm in interface CrmDataInterfacepublic CrmParticipant getCrmParticipant(com.stratelia.webactiv.util.WAPrimaryKey participantPK)
getCrmParticipant in interface CrmDataInterfacepublic ArrayList<CrmParticipant> getCrmParticipants(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
getCrmParticipants in interface CrmDataInterfacepublic void createCrmParticipant(CrmParticipant participant)
createCrmParticipant in interface CrmDataInterface
public void deleteCrmParticipant(com.stratelia.webactiv.util.WAPrimaryKey pk,
                                 String componentId)
deleteCrmParticipant in interface CrmDataInterfacepublic void updateCrmParticipant(CrmParticipant participant)
updateCrmParticipant in interface CrmDataInterfacepublic CrmEvent getCrmEvent(com.stratelia.webactiv.util.WAPrimaryKey eventPK)
getCrmEvent in interface CrmDataInterfacepublic ArrayList<CrmEvent> getCrmEvents(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
getCrmEvents in interface CrmDataInterfacepublic void createCrmEvent(CrmEvent event)
createCrmEvent in interface CrmDataInterface
public void deleteCrmEvent(com.stratelia.webactiv.util.WAPrimaryKey pk,
                           String componentId)
deleteCrmEvent in interface CrmDataInterfacepublic void updateCrmEvent(CrmEvent event)
updateCrmEvent in interface CrmDataInterfacepublic CrmDelivery getCrmDelivery(com.stratelia.webactiv.util.WAPrimaryKey deliveryPK)
getCrmDelivery in interface CrmDataInterfacepublic ArrayList<CrmDelivery> getCrmDeliverys(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
getCrmDeliverys in interface CrmDataInterfacepublic void createCrmDelivery(CrmDelivery delivery)
createCrmDelivery in interface CrmDataInterface
public void deleteCrmDelivery(com.stratelia.webactiv.util.WAPrimaryKey pk,
                              String componentId)
deleteCrmDelivery in interface CrmDataInterfacepublic void updateCrmDelivery(CrmDelivery delivery)
updateCrmDelivery in interface CrmDataInterface
public Connection openConnection()
                          throws CrmException
openConnection in interface CrmDataInterfaceCrmException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||