Uses of Class
shared.UserVerification

Packages that use UserVerification
client includes the classes to start the client program and handle the functionality. 
interfaces includes the interfaces for the client and the server. 
server includes the classes to realize the server side functionality. 
 

Uses of UserVerification in client
 

Methods in client that return UserVerification
 UserVerification WSIDOClientMain.getUserVerification()
          returns the verification object for RMI transactions
 

Methods in client with parameters of type UserVerification
 void WSIDOClientMain.replaceUserVerification(UserVerification userver)
          replaces the user verification object (f.e. after changing preferences)
 

Constructors in client with parameters of type UserVerification
WSIDOClientMain(WSIDOClientImpl chatObject, WSIDOInterface serverObject, StandardUser curUser, UserVerification userver, java.util.ResourceBundle messages, org.w3c.dom.Document doc)
          constructor to start main program. gets all the needed objects from the login screen.
 

Uses of UserVerification in interfaces
 

Methods in interfaces with parameters of type UserVerification
 boolean WSIDOInterface.addToContactList(UserVerification userver, long addUserId)
           
 boolean WSIDOInterfaceAdmin.addUser(UserVerification userver, StandardUser user)
          add a new User
 boolean WSIDOInterface.changePreferences(UserVerification userver, StandardUser user)
          sends the user object to the server to update user preferences
 boolean WSIDOInterface.createModule(UserVerification userver, java.lang.String name, java.lang.String language, java.lang.String description, java.lang.String question)
          create a new module
 boolean WSIDOInterface.deleteContact(UserVerification userver, long addUserId)
           
 boolean WSIDOInterfaceAdmin.deleteModule(UserVerification userver, long moduleId)
          delete a module
 boolean WSIDOInterface.deleteOwnModule(UserVerification userver, long moduleId)
           
 boolean WSIDOInterfaceAdmin.deleteUser(UserVerification userver, long userId)
          deletes a user
 boolean WSIDOInterfaceAdmin.editModule(UserVerification userver, java.lang.String name, java.lang.String question, java.lang.String description)
          edit module details for owner
 boolean WSIDOInterface.editOwnModule(UserVerification userver, long moduleId, java.lang.String name, java.lang.String language, java.lang.String description, java.lang.String question)
          edit module details for owner
 boolean WSIDOInterfaceAdmin.editUser(UserVerification userver, long userId, StandardUser user)
          sends the user object to the server to update user preferences
 java.util.Vector<Item> WSIDOInterface.getAllModuleItems(UserVerification userver, long moduleId)
          get all items for a module in alphabetical order, even if not voted for them
 java.util.Vector<Module> WSIDOInterface.getChoicableModules(UserVerification userver)
          get modules, for which the user can choose an item (if not already chosen --> one per day)
 java.util.Vector<StandardUserExtended> WSIDOInterface.getContactList(UserVerification userver)
          returns contactlist users
 java.util.Vector<StandardUserExtended> WSIDOInterface.getInteractionUsers(UserVerification userver, Item item)
          returns possible users for interaction
 java.util.Vector<Module> WSIDOInterface.getModules(UserVerification userver, java.lang.String language)
          returns available modules, allow user to choose modules depending on language
 java.util.Vector<Module> WSIDOInterface.getOwnModules(UserVerification userver)
          returns modules, that this user has created
 java.util.Vector<Item> WSIDOInterface.getPersonalizedToplist(UserVerification userver, long moduleId)
          simple toplist like the getToplist method with the following difference this toplist is only for PowerUsers. the ranking of the items of the toplist is different it will be checked if the PowerUser who requests the PersonalizedToplist has interacted with another user who has voted for this item. if this condition is true the item will be ranked higher.
 java.util.Vector<Item> WSIDOInterface.getToplist(UserVerification userver, long moduleId)
          returns top list for a module
 java.util.Vector<Item> WSIDOInterface.getToplistDuration(UserVerification userver, int days, long moduleId)
          returns top list depending on specified duration (weekly, monthly lists)
 boolean WSIDOInterface.interact(UserVerification userver, long userId)
          starts the interaction with a client
 StandardUser WSIDOInterface.login(UserVerification userver, WSIDOClientInterface clientApp)
          logs in and passes own reference for later interactions
 boolean WSIDOInterface.logout(UserVerification userver)
          user logout (delete remote object, statistic references)
 boolean WSIDOInterface.sendMsg(UserVerification userver, long receiverId, java.lang.String message)
          send message to a User id receiverId
 boolean WSIDOInterface.setChoice(UserVerification userver, long itemId)
          set a choice for a module
 boolean WSIDOInterface.setChoice(UserVerification userver, long moduleId, java.lang.String newItemName, java.lang.String url)
          create a choice for a module
 

Uses of UserVerification in server
 

Methods in server with parameters of type UserVerification
 boolean WSIDOServer.addToContactList(UserVerification userver, long addUserId)
          method which adds a user to another users contact list
 boolean WSIDOServer.addUser(UserVerification userver, StandardUser user)
          administrator method
 boolean WSIDOServer.changePreferences(UserVerification userver, StandardUser user)
          updating the user preferences like changing nickname, changing email ...
 boolean DatabaseConnect.changePreferences(UserVerification userver, StandardUser user)
          updating the user preferences like changing nickname, changing email ...
 boolean DatabaseConnect.checkLogin(UserVerification userver)
          method which checks if the userlogin (username and password) is correct
 boolean WSIDOServer.createModule(UserVerification userver, java.lang.String name, java.lang.String language, java.lang.String description, java.lang.String question)
          method to create a new module
 boolean WSIDOServer.deleteContact(UserVerification userver, long deleteUserId)
          Method to delete a contact from the PowerUser contactlist
 boolean WSIDOServer.deleteModule(UserVerification userver, long moduleId)
          Method for the Administrator to delete modules
 boolean WSIDOServer.deleteOwnModule(UserVerification userver, long moduleId)
          Method where a user can delete his own modules
 boolean WSIDOServer.deleteUser(UserVerification userver, long userId)
          administrator method Method to delete a user
 boolean WSIDOServer.editModule(UserVerification userver, java.lang.String name, java.lang.String question, java.lang.String description)
          administrator method
 boolean WSIDOServer.editOwnModule(UserVerification userver, long moduleId, java.lang.String name, java.lang.String language, java.lang.String description, java.lang.String question)
          method for a user to edit his own modules
 boolean WSIDOServer.editUser(UserVerification userver, long userId, StandardUser user)
          administrator method
 java.util.Vector<Item> WSIDOServer.getAllModuleItems(UserVerification userver, long moduleId)
          method returns all items of a module
 java.util.Vector<Module> WSIDOServer.getChoicableModules(UserVerification userver)
           
 java.util.Vector<StandardUserExtended> WSIDOServer.getContactList(UserVerification userver)
          returns the contactlist of a user
 java.util.Vector<StandardUserExtended> WSIDOServer.getInteractionUsers(UserVerification userver, Item item)
          returns possible users for interaction
 java.util.Vector<Module> WSIDOServer.getModules(UserVerification userver, java.lang.String language)
          get all modules of the same language
 java.util.Vector<Module> WSIDOServer.getOwnModules(UserVerification userver)
          returns modules that a specific user has created
 java.util.Vector<Item> WSIDOServer.getPersonalizedToplist(UserVerification userver, long moduleId)
          simple toplist like the getToplist method with the following difference this toplist is only for PowerUsers. the ranking of the items of the toplist is different it will be checked if the PowerUser who requests the PersonalizedToplist has interacted with another user who has voted for this item. if this condition is true the item will be ranked higher.
 PowerUser DatabaseConnect.getPowerUser(UserVerification userver)
          method which returns a PowerUser object if a user is a PowerUser
 StandardUser DatabaseConnect.getStandardUser(UserVerification userver)
           
 java.util.Vector<Item> WSIDOServer.getToplist(UserVerification userver, long moduleId)
          method which returns a vector with all items for a specified module sorted by votes (toplist) this toplist shows the DAILY ranking of the items!
 java.util.Vector<Item> WSIDOServer.getToplistDuration(UserVerification userver, int days, long moduleId)
          method which returns a vector with all items for a specified module sorted by votes (toplist) this toplist shows the ranking of the items in a specific time range (int days) including today
 int DatabaseConnect.getUserType(UserVerification userver)
          method which gets the user type
 boolean WSIDOServer.interact(UserVerification userver, long userId)
          the parameter long userId of this method is the userId from the possible chatPartner example request: i (requestingUser) want to chat with long userId (possible chatPartner)
 StandardUser WSIDOServer.login(UserVerification userver, WSIDOClientInterface clientApp)
          method to do a login in the WhatShallIDo network
 boolean WSIDOServer.logout(UserVerification userver)
          method for the user to logout from the WhatShallIDo Server
 boolean WSIDOServer.sendMsg(UserVerification userver, long userId, java.lang.String message)
          Method to send a chat message to another user
 boolean WSIDOServer.setChoice(UserVerification userver, long itemId)
          vote for items of a module
 boolean WSIDOServer.setChoice(UserVerification userver, long moduleId, java.lang.String newItemName, java.lang.String url)
          vote for items of a module while creating a new item