Uses of Class
org.salespointframework.useraccount.UserAccount
| Package | Description |
|---|---|
| org.salespointframework.accountancy |
Accountancy subsystem.
|
| org.salespointframework.order |
The order subsystem.
|
| org.salespointframework.useraccount |
User account management.
|
-
Uses of UserAccount in org.salespointframework.accountancy
Methods in org.salespointframework.accountancy that return UserAccount Modifier and Type Method Description UserAccountProductPaymentEntry. getUserAccount()TheUserAccountwhich thisProductPaymentEntryrefers to.Constructors in org.salespointframework.accountancy with parameters of type UserAccount Constructor Description ProductPaymentEntry(OrderIdentifier orderIdentifier, UserAccount userAccount, javax.money.MonetaryAmount amount, String description, PaymentMethod paymentMethod)AProductPaymentEntryis constructed for a specificOrderIdentifierattached to it. -
Uses of UserAccount in org.salespointframework.order
Methods in org.salespointframework.order that return UserAccount Modifier and Type Method Description UserAccountOrder. getUserAccount()Methods in org.salespointframework.order with parameters of type UserAccount Modifier and Type Method Description OrderCart. createOrderFor(UserAccount user)Creates a new Order for the givenUserAccountfrom the currentCart.Streamable<T>OrderManagement. findBy(UserAccount userAccount)Returns allOrders of the givenUserAccount.Streamable<T>OrderManagement. findBy(UserAccount userAccount, Interval interval)Returns allOrders from the givenUserAccountin between the datesfromandto, including from and to.Constructors in org.salespointframework.order with parameters of type UserAccount Constructor Description Order(UserAccount userAccount)Creates a new OrderOrder(UserAccount userAccount, PaymentMethod paymentMethod) -
Uses of UserAccount in org.salespointframework.useraccount
Methods in org.salespointframework.useraccount that return UserAccount Modifier and Type Method Description UserAccountUserAccountManagement. create(String userName, Password.UnencryptedPassword password, String emailAddress, Role... roles)Creates a newUserAccountfrom the given username,Password.UnencryptedPassword, email address and roles.UserAccountUserAccountManagement. create(String userName, Password.UnencryptedPassword password, Role... roles)Creates a newUserAccountfrom the given username,Password.UnencryptedPasswordand roles.UserAccountUserAccountManagement. delete(UserAccount account)Deletes the givenUserAccount.UserAccountUserAccount.UserAccountCreated. getAccount()UserAccountUserAccountManagement. save(UserAccount userAccount)Saves theUserAccountUserAccountUserAccount. setEmail(String email)UserAccountUserAccount. setEnabled(boolean enabled)UserAccountUserAccount. setFirstname(String firstname)UserAccountUserAccount. setLastname(String lastname)Methods in org.salespointframework.useraccount that return types with arguments of type UserAccount Modifier and Type Method Description Streamable<UserAccount>UserAccountManagement. findAll()Finds allUserAccounts.Optional<UserAccount>UserAccountManagement. findByUsername(String username)Returns the user with the given user name.Streamable<UserAccount>UserAccountManagement. findDisabled()Finds only disabledUserAccounts.Streamable<UserAccount>UserAccountManagement. findEnabled()Finds only enabledUserAccounts.Optional<UserAccount>UserAccountManagement. get(UserAccountIdentifier userAccountIdentifier)Returns anUserAccountfor a given identifier.Optional<UserAccount>AuthenticationManagement. getCurrentUser()Returns theUserAccountof the currently logged in user orOptional.empty()if no-one is currently logged in.Methods in org.salespointframework.useraccount with parameters of type UserAccount Modifier and Type Method Description voidUserAccountManagement. changePassword(UserAccount userAccount, Password.UnencryptedPassword password)Changes the password of theUserAccount.UserAccountUserAccountManagement. delete(UserAccount account)Deletes the givenUserAccount.static UserAccount.UserAccountCreatedUserAccount.UserAccountCreated. of(UserAccount account)UserAccountUserAccountManagement. save(UserAccount userAccount)Saves theUserAccount