com.silverpeas.crm.control
Class CrmSessionController
java.lang.Object
com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
com.silverpeas.crm.control.CrmSessionController
- All Implemented Interfaces:
- com.stratelia.silverpeas.peasCore.ComponentSessionController
public class CrmSessionController
- extends com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController |
CHARACTER_ENCODING, context |
Constructor Summary |
CrmSessionController(com.stratelia.silverpeas.peasCore.MainSessionController mainSessionCtrl,
com.stratelia.silverpeas.peasCore.ComponentContext componentContext)
|
Methods inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController |
addClipboardSelection, clipboardPasteDone, close, getAlertUser, getClipboardCount, getClipboardErrorMessage, getClipboardExceptionError, getClipboardName, getClipboardObjects, getClipboardSelectedObjects, getClipboardSize, getComponentAccessController, getComponentId, getComponentLabel, getComponentName, getComponentParameters, getComponentParameterValue, getComponentParameterValue, getComponentRootName, getComponentUrl, getFavoriteSpace, getGenericPanel, getHighestSilverpeasUserRole, getIcon, getLanguage, getLastResults, getLook, getMultilang, getOrganisationController, getPersonalization, getRSSUrl, getSelection, getServerNameAndPort, getSettings, getSilverpeasUserRoles, getSpaceId, getSpaceLabel, getString, getSubscriptionContext, getUrlEncodedParameter, getUserAccessLevel, getUserAvailComponentIds, getUserAvailSpaceIds, getUserDetail, getUserDetail, getUserId, getUserManageableGroupIds, getUserManageableSpaceIds, getUserRoleLevel, getUserRoles, isAppInMaintenance, isGroupManager, isPasswordChangeAllowed, isSpaceInMaintenance, removeClipboardElement, setAppModeMaintenance, setClipboardError, setClipboardSelectedElement, setComponentRootName, setFavoriteSpaceToMainSessionController, setGenericPanel, setIconFileName, setLastResults, setMultilangFileName, setResourceFileName, setSpaceModeMaintenance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrmSessionController
public CrmSessionController(com.stratelia.silverpeas.peasCore.MainSessionController mainSessionCtrl,
com.stratelia.silverpeas.peasCore.ComponentContext componentContext)
getResouces
public com.stratelia.silverpeas.util.ResourcesWrapper getResouces()
setContainerContext
public void setContainerContext(com.stratelia.silverpeas.containerManager.ContainerContext containerContext)
getContainerContext
public com.stratelia.silverpeas.containerManager.ContainerContext getContainerContext()
setReturnURL
public void setReturnURL(String returnURL)
getReturnURL
public String getReturnURL()
createCrm
public void createCrm(Crm crm)
deleteCrm
public void deleteCrm(com.stratelia.webactiv.util.WAPrimaryKey pk)
updateCrm
public void updateCrm(Crm crm)
getCrms
public List<Crm> getCrms()
getCrmContacts
public List<CrmContact> getCrmContacts(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
createCrmContact
public void createCrmContact(CrmContact contact)
deleteCrmContact
public void deleteCrmContact(com.stratelia.webactiv.util.WAPrimaryKey pk)
updateCrmContact
public void updateCrmContact(CrmContact contact)
getCrmContact
public CrmContact getCrmContact(com.stratelia.webactiv.util.WAPrimaryKey contactPK)
createIndex
public void createIndex(CrmContact contact)
createIndex
public void createIndex(Crm crm)
getCrmParticipants
public List<CrmParticipant> getCrmParticipants(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
createCrmParticipant
public void createCrmParticipant(CrmParticipant participant)
deleteCrmParticipant
public void deleteCrmParticipant(com.stratelia.webactiv.util.WAPrimaryKey pk)
updateCrmParticipant
public void updateCrmParticipant(CrmParticipant participant)
getCrmParticipant
public CrmParticipant getCrmParticipant(com.stratelia.webactiv.util.WAPrimaryKey participantPK)
createIndex
public void createIndex(CrmParticipant participant)
getCrmEvents
public List<CrmEvent> getCrmEvents(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
getEventVOs
public List<EventVO> getEventVOs()
getContactVOs
public List<ContactVO> getContactVOs()
getParticipantVOs
public List<ParticipantVO> getParticipantVOs()
getDeliveryVOs
public List<DeliveryVO> getDeliveryVOs()
createCrmEvent
public void createCrmEvent(CrmEvent event)
deleteCrmEvent
public void deleteCrmEvent(com.stratelia.webactiv.util.WAPrimaryKey pk)
updateCrmEvent
public void updateCrmEvent(CrmEvent event)
getCrmEvent
public CrmEvent getCrmEvent(com.stratelia.webactiv.util.WAPrimaryKey eventPK)
createIndex
public void createIndex(CrmEvent event)
getCrmDeliverys
public List<CrmDelivery> getCrmDeliverys(com.stratelia.webactiv.util.WAPrimaryKey crmPK)
createCrmDelivery
public void createCrmDelivery(CrmDelivery delivery)
deleteCrmDelivery
public void deleteCrmDelivery(com.stratelia.webactiv.util.WAPrimaryKey pk)
updateCrmDelivery
public void updateCrmDelivery(CrmDelivery delivery)
getCrmDelivery
public CrmDelivery getCrmDelivery(com.stratelia.webactiv.util.WAPrimaryKey deliveryPK)
createIndex
public void createIndex(CrmDelivery delivery)
communInitUserPanel
protected com.stratelia.silverpeas.selection.Selection communInitUserPanel(String compoName,
String operation)
initUserPanelParticipant
public String initUserPanelParticipant()
initUserPanelEvent
public String initUserPanelEvent()
initUserPanelDelivery
public String initUserPanelDelivery()
userPanelReturn
public void userPanelReturn()
setParticipantId
public void setParticipantId(String participantId)
setParticipantEmail
public void setParticipantEmail(String participantEmail)
setParticipantActif
public void setParticipantActif(String participantActif)
setEventId
public void setEventId(String eventId)
setEventState
public void setEventState(String eventState)
setEventLib
public void setEventLib(String eventLib)
setEventDate
public void setEventDate(String eventDate)
setActionDate
public void setActionDate(String actionDate)
setActionTodo
public void setActionTodo(String actionTodo)
setFilterLib
public void setFilterLib(String filterLib)
setFilterId
public void setFilterId(String filterId)
setFunction
public void setFunction(String function)
getFilterLib
public String getFilterLib()
getFilterId
public String getFilterId()
getFunction
public String getFunction()
getParticipantId
public String getParticipantId()
getParticipantEmail
public String getParticipantEmail()
getParticipantActif
public String getParticipantActif()
getEventId
public String getEventId()
getEventState
public String getEventState()
getEventLib
public String getEventLib()
getEventDate
public String getEventDate()
getActionDate
public String getActionDate()
getActionTodo
public String getActionTodo()
setDeliveryId
public void setDeliveryId(String deliveryId)
setDeliveryDate
public void setDeliveryDate(String deliveryDate)
setDeliveryElement
public void setDeliveryElement(String deliveryElement)
setDeliveryVersion
public void setDeliveryVersion(String deliveryVersion)
setDeliveryContact
public void setDeliveryContact(int deliveryContact)
setDeliveryMedia
public void setDeliveryMedia(String deliveryMedia)
getDeliveryId
public String getDeliveryId()
getDeliveryDate
public String getDeliveryDate()
getDeliveryElement
public String getDeliveryElement()
getDeliveryVersion
public String getDeliveryVersion()
getDeliveryContact
public int getDeliveryContact()
getDeliveryMedia
public String getDeliveryMedia()
getContactName
public String getContactName(com.stratelia.webactiv.util.WAPrimaryKey crmPK,
int contactId)
getLibMedia
public String getLibMedia(String media)
getLibState
public String getLibState(String eventState)
getLibFunction
public String getLibFunction(String participantFunction)
getFunctions
public Collection<String[]> getFunctions()
getStates
public Collection<String[]> getStates()
getMedias
public Collection<String[]> getMedias()
getValue
public String getValue(String index,
String[] tabContents)
getContacts
public Collection<String[]> getContacts()
getDate
public String getDate(String date)
- Parameters:
date
- The date corresponding to the user's language (dd/mm/yyyy or mm/dd/yyyy)
- Returns:
- The equivalent yyyy/mm/dd date
getDisplayDate
public String getDisplayDate(String date)
- Parameters:
date
- a yyyy/mm/dd date
- Returns:
- The formatted date corresponding to the user's language (dd/mm/yyyy or mm/dd/yyyy)
getCurrentCrm
public Crm getCurrentCrm()
Copyright © 2016 Silverpeas. All Rights Reserved.