com.silverpeas.whitePages.control
Class WhitePagesSessionController
java.lang.Object
  
com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
      
com.silverpeas.whitePages.control.WhitePagesSessionController
- All Implemented Interfaces: 
 - com.stratelia.silverpeas.peasCore.ComponentSessionController
 
public class WhitePagesSessionController
- extends com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
 
 
| Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController | 
CHARACTER_ENCODING, context | 
 
| 
Constructor Summary | 
WhitePagesSessionController(com.stratelia.silverpeas.peasCore.MainSessionController mainSessionCtrl,
                            com.stratelia.silverpeas.peasCore.ComponentContext context)
 
            | 
 
 
| 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 | 
 
WhitePagesSessionController
public WhitePagesSessionController(com.stratelia.silverpeas.peasCore.MainSessionController mainSessionCtrl,
                                   com.stratelia.silverpeas.peasCore.ComponentContext context)
isAdmin
public boolean isAdmin()
 
getCard
public Card getCard(long userCardId)
             throws WhitePagesException
- Throws:
 WhitePagesException
 
getCardReadOnly
public Card getCardReadOnly(long userCardId)
                     throws WhitePagesException
- Throws:
 WhitePagesException
 
getUserCard
public Card getUserCard(String userId)
                 throws WhitePagesException
- Throws:
 WhitePagesException
 
createCard
public Card createCard(com.stratelia.webactiv.beans.admin.UserDetail userDetail)
                throws WhitePagesException
- Throws:
 WhitePagesException
 
setCardRecord
public Card setCardRecord()
                   throws WhitePagesException
- Throws:
 WhitePagesException
 
createCard
public void createCard(javax.servlet.http.HttpServletRequest request)
                throws WhitePagesException,
                       JAXBException
- Throws:
 WhitePagesException
JAXBException
 
updateCardRecord
public void updateCardRecord(javax.servlet.http.HttpServletRequest request)
                      throws WhitePagesException
- Throws:
 WhitePagesException
 
saveCard
public void saveCard()
              throws WhitePagesException
- Throws:
 WhitePagesException
 
getCards
public Collection<Card> getCards()
                          throws WhitePagesException
- Throws:
 WhitePagesException
 
getVisibleCards
public Collection<Card> getVisibleCards()
                                 throws WhitePagesException
- Throws:
 WhitePagesException
 
indexVisibleCards
public void indexVisibleCards()
                       throws WhitePagesException
- Throws:
 WhitePagesException
 
delete
public void delete(Collection<String> userCardIds)
            throws WhitePagesException
- Throws:
 WhitePagesException
 
hide
public void hide(Collection<String> userCardIds)
          throws WhitePagesException
- Throws:
 WhitePagesException
 
unHide
public void unHide(Collection<String> userCardIds)
            throws WhitePagesException
- Throws:
 WhitePagesException
 
reverseHide
public void reverseHide(Collection<String> userCardIds)
                 throws WhitePagesException
- Throws:
 WhitePagesException
 
existCard
public boolean existCard(String userId)
                  throws WhitePagesException
- Throws:
 WhitePagesException
 
initUserPanel
public String initUserPanel()
 
getUserDetailSelected
public com.stratelia.webactiv.beans.admin.UserDetail getUserDetailSelected()
 
initCurrentUserCards
public void initCurrentUserCards()
 
getCurrentCard
public Card getCurrentCard()
 
getCurrentCreateCard
public Card getCurrentCreateCard()
 
getCurrentUserCards
public Collection<WhitePagesCard> getCurrentUserCards()
 
setHostParameters
public void setHostParameters(String hostSpaceName,
                              String hostComponentName,
                              String hostUrl,
                              String hostPath)
 
getHostParameters
public String[] getHostParameters()
 
getSilverObjectId
public int getSilverObjectId(String objectId)
 
getCurrentCardContentId
public String getCurrentCardContentId()
 
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()
 
setNotifiedUserCard
public void setNotifiedUserCard(Card card)
 
sendNotification
public void sendNotification(String bodyMessage)
                      throws com.stratelia.silverpeas.notificationManager.NotificationManagerException
- Throws:
 com.stratelia.silverpeas.notificationManager.NotificationManagerException
 
isCardClassifiedOnPdc
public boolean isCardClassifiedOnPdc()
                              throws WhitePagesException,
                                     com.stratelia.silverpeas.contentManager.ContentManagerException,
                                     com.stratelia.silverpeas.pdc.model.PdcException
- Throws:
 WhitePagesException
com.stratelia.silverpeas.contentManager.ContentManagerException
com.stratelia.silverpeas.pdc.model.PdcException
 
isEmailHidden
public Boolean isEmailHidden()
 
isFicheVisible
public Boolean isFicheVisible()
 
getDomainId
public int getDomainId()
 
getAllXmlFieldsForSearch
public List<com.silverpeas.form.FieldTemplate> getAllXmlFieldsForSearch()
                                                                 throws WhitePagesException,
                                                                        com.silverpeas.publicationTemplate.PublicationTemplateException
- Throws:
 WhitePagesException
com.silverpeas.publicationTemplate.PublicationTemplateException
 
getUsedAxisList
public List<com.stratelia.silverpeas.pdc.model.SearchAxis> getUsedAxisList(com.stratelia.silverpeas.pdc.model.SearchContext searchContext,
                                                                           String axisType)
                                                                    throws com.stratelia.silverpeas.pdc.model.PdcException
- Throws:
 com.stratelia.silverpeas.pdc.model.PdcException
 
getLdapAttributesList
public List<SearchField> getLdapAttributesList()
                                        throws Exception
- Throws:
 Exception
 
confirmFieldsChoice
public void confirmFieldsChoice(String[] fields)
                         throws com.stratelia.webactiv.util.exception.UtilException
- Throws:
 com.stratelia.webactiv.util.exception.UtilException
 
getSearchFields
public SortedSet<SearchField> getSearchFields()
                                       throws com.stratelia.webactiv.util.exception.UtilException,
                                              WhitePagesException
- Throws:
 com.stratelia.webactiv.util.exception.UtilException
WhitePagesException
 
getSearchFieldIds
public Set<String> getSearchFieldIds()
                              throws com.stratelia.webactiv.util.exception.UtilException,
                                     WhitePagesException
- Throws:
 com.stratelia.webactiv.util.exception.UtilException
WhitePagesException
 
getSearchResult
public List<Card> getSearchResult(String query,
                                  com.stratelia.silverpeas.pdc.model.SearchContext pdcContext,
                                  Map<String,String> xmlFields,
                                  List<org.silverpeas.search.indexEngine.model.FieldDescription> fieldsQuery)
 
getPdcPositions
public HashMap<String,Set<com.stratelia.silverpeas.pdc.model.ClassifyValue>> getPdcPositions(int cardId)
                                                                                      throws com.stratelia.silverpeas.pdc.model.PdcException
- Throws:
 com.stratelia.silverpeas.pdc.model.PdcException
 
Copyright © 2016 Silverpeas. All Rights Reserved.