com.silverpeas.socialnetwork.myContactProfil.control
Class MyContactProfilSessionController
java.lang.Object
com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
com.silverpeas.socialnetwork.myContactProfil.control.MyContactProfilSessionController
- All Implemented Interfaces:
- ComponentSessionController
public class MyContactProfilSessionController
- extends AbstractComponentSessionController
- Author:
- Bensalem Nabil
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 |
MyContactProfilSessionController
public MyContactProfilSessionController(MainSessionController mainSessionCtrl,
ComponentContext componentContext)
- Parameters:
mainSessionCtrl
- componentContext
-
getUserFull
public UserFull getUserFull(String userId)
- get this user with full information
- Parameters:
userId
-
- Returns:
- UserFull
isInMyContact
public boolean isInMyContact(String userId)
throws SocialNetworkException
- this userId is in my Contacts
- Returns:
- true if this user in my Contacts
- Throws:
SocialNetworkException
getContactsIdsForUser
public List<String> getContactsIdsForUser(String userId)
- get all RelationShips ids for this user
getCommonContactsIdsForUser
public List<String> getCommonContactsIdsForUser(String userId)
- get all RelationShips ids for this user
Copyright © 2016 Silverpeas. All Rights Reserved.