Class MyProfilSessionController

    • Method Detail

      • getContactsIdsForUser

        public List<String> getContactsIdsForUser()
        get all RelationShips ids for current user.
        Returns:
        :List
      • getUserFull

        public UserFull getUserFull​(String userId)
        get this user with full information
        Parameters:
        userId - the user identifier
        Returns:
        UserFull
      • isUserDomainRW

        public boolean isUserDomainRW()
      • isAdmin

        public boolean isAdmin()
      • getDomainActions

        public long getDomainActions()
      • savePreferences

        public void savePreferences​(UserPreferences preferences)
      • getAllMyInvitationsSent

        public List<InvitationUser> getAllMyInvitationsSent()
        return my invitation list sent
        Returns:
        List
      • getAllMyInvitationsReceived

        public List<InvitationUser> getAllMyInvitationsReceived()
        return my invitation list Received
        Returns:
        List
      • updatablePropertyExists

        public boolean updatablePropertyExists()
      • getAllMyNetworks

        public Map<SocialNetworkID,​ExternalAccount> getAllMyNetworks()
        Get all social networks linked to current user account
        Returns:
        a dictionary in which each social network is mapped to an account of this user in this social network.
      • unlinkSocialNetworkFromSilverpeas

        public void unlinkSocialNetworkFromSilverpeas​(SocialNetworkID networkId)
      • deleteMyAccount

        public boolean deleteMyAccount​(HttpRequest request)