|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.crm.control.impl.SimpleCrmDataManager
public class SimpleCrmDataManager
Class declaration
Constructor Summary | |
---|---|
SimpleCrmDataManager()
|
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)
create a default CRM during instanciation. |
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)
|
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)
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 SimpleCrmDataManager()
Method Detail |
---|
public void createCrm(Crm crm)
createCrm
in interface CrmDataManager
crm
- the crm to store.public void deleteCrm(com.stratelia.webactiv.util.WAPrimaryKey pk)
deleteCrm
in interface CrmDataManager
public void updateCrm(Crm crm)
updateCrm
in interface CrmDataManager
public List<Crm> listAllCrms(String instanceId)
listAllCrms
in interface CrmDataManager
public List<CrmContact> listContactsOfCrm(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
listContactsOfCrm
in interface CrmDataManager
public void createCrmContact(CrmContact contact)
createCrmContact
in interface CrmDataManager
public void deleteCrmContact(com.stratelia.webactiv.util.WAPrimaryKey pk, String componentId)
deleteCrmContact
in interface CrmDataManager
public void updateCrmContact(CrmContact contact)
updateCrmContact
in interface CrmDataManager
public Crm getCrm(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
getCrm
in interface CrmDataManager
public CrmContact getCrmContact(com.stratelia.webactiv.util.WAPrimaryKey contactPK)
getCrmContact
in interface CrmDataManager
public Crm createDefaultCrm(String spaceId, String componentId)
CrmDataManager
createDefaultCrm
in interface CrmDataManager
public CrmParticipant getCrmParticipant(com.stratelia.webactiv.util.WAPrimaryKey participantPK)
getCrmParticipant
in interface CrmDataManager
public List<CrmParticipant> listCrmParticipantsOfCrm(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
listCrmParticipantsOfCrm
in interface CrmDataManager
public void createCrmParticipant(CrmParticipant participant)
createCrmParticipant
in interface CrmDataManager
public void deleteCrmParticipant(com.stratelia.webactiv.util.WAPrimaryKey pk, String componentId)
deleteCrmParticipant
in interface CrmDataManager
public void updateCrmParticipant(CrmParticipant participant)
updateCrmParticipant
in interface CrmDataManager
public CrmEvent getCrmEvent(com.stratelia.webactiv.util.WAPrimaryKey eventPK)
getCrmEvent
in interface CrmDataManager
public List<CrmEvent> listEventsOfCrm(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
listEventsOfCrm
in interface CrmDataManager
public void createCrmEvent(CrmEvent event)
createCrmEvent
in interface CrmDataManager
public void deleteCrmEvent(com.stratelia.webactiv.util.WAPrimaryKey pk, String componentId)
deleteCrmEvent
in interface CrmDataManager
public void updateCrmEvent(CrmEvent event)
updateCrmEvent
in interface CrmDataManager
public CrmDelivery getCrmDelivery(com.stratelia.webactiv.util.WAPrimaryKey deliveryPK)
getCrmDelivery
in interface CrmDataManager
public List<CrmDelivery> listDeliveriesOfCrm(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
listDeliveriesOfCrm
in interface CrmDataManager
public void createCrmDelivery(CrmDelivery delivery)
createCrmDelivery
in interface CrmDataManager
public void deleteCrmDelivery(com.stratelia.webactiv.util.WAPrimaryKey pk, String componentId)
deleteCrmDelivery
in interface CrmDataManager
public void updateCrmDelivery(CrmDelivery delivery)
updateCrmDelivery
in interface CrmDataManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |