Uses of Class
sc2002.FCS1.grp2.User
Packages that use User
-
Uses of User in sc2002.FCS1.grp2
Subclasses of User in sc2002.FCS1.grp2Modifier and TypeClassDescriptionclassRepresents an Applicant user.classThis represents a user that is of HDB Manager role.classThis represents a user that is of HDB Officer role.Fields in sc2002.FCS1.grp2 declared as UserModifier and TypeFieldDescriptionprivate UserBTOManagementSystem.activeUserprivate UserMessage.userUser involved in this message.Methods in sc2002.FCS1.grp2 with type parameters of type UserModifier and TypeMethodDescription<U extends User>
UBTOManagementSystem.getActiveUserForPermittedTask(Class<U> expectedType) Get the active user, and checks for access rights before returning.<U extends User>
booleanBTOManagementSystem.isActiveUserPermitted(Class<U> expectedType) Decide if the current active user should be permitted to do a certain task, based on access rights by type of user.Methods in sc2002.FCS1.grp2 that return UserModifier and TypeMethodDescriptionBTOManagementSystem.findUserByNRIC(String nric) Check if user existsBTOManagementSystem.getActiveUser()The logged in user.Message.getUser()Get the user.Methods in sc2002.FCS1.grp2 that return types with arguments of type UserModifier and TypeMethodDescriptionBTOManagementSystem.allUsers()CSVParser.retrieveAllUsers()Parse all users, regardless of user type.Methods in sc2002.FCS1.grp2 with parameters of type UserModifier and TypeMethodDescriptionbooleanBTOManagementSystem.attemptLogin(User user, String password) Try to login; if successful, it will set the user propertybooleanEnquiry.isUserInvolved(User user) Checks if the provided user is involved in this enquiry, as an enquirer.private voidCall this when login is successful.booleanUser.nameEquals(User user) Checks if name is equal between this and another user.Method parameters in sc2002.FCS1.grp2 with type arguments of type UserModifier and TypeMethodDescriptionvoidUse this to linkUserobjects to this Message.voidLink connected users to this object.Constructors in sc2002.FCS1.grp2 with parameters of type User