|
|
|
|
|
|
|
|
|
Re: Saving users table customisation [message #1405485 is a reply to message #1405472] |
Thu, 07 August 2014 12:59 |
Matthias Nick Messages: 197 Registered: August 2013 |
Senior Member |
|
|
Hi Lukas,
I did not try but I suppose the following.
The preferences are stored by using the IUserPreferencesStorageService .
Currently, the FileSystemUserPreferencesStorageService implements IUserPreferencesStorageService will be used. If you wanted to save it in a Database, you would need to create your own implementation like this:
DatabaseUserPreferencesStorageService implements IUserPreferenceStorageService
Accordingly, when you call IUserPreferencesStorageService your DataBaseService will be used instead
[Updated on: Thu, 07 August 2014 13:00] Report message to a moderator
|
|
|
Re: Saving users table customisation [message #1822885 is a reply to message #1401314] |
Mon, 16 March 2020 11:24 |
Krzysztof Leja Messages: 55 Registered: April 2019 |
Member |
|
|
I hook up to the topic of creating custom class that stores user settings (in Scout 9) with these questions:
- Where store my custom class: in client, shared or server module?
- Simple creating new class that implements IUserPreferencesStorageService or extends FileSystemUserPreferencesStorageService do not work.
It not replace default FileSystemUserPreferencesStorageService.
So how is substitution supported here?
EDIT: I was able to solve the above problem. I used the @Replace annotation in the my class inheriting from FileSystemUserPreferencesStorageService in the client module and it worked.
[Updated on: Tue, 17 March 2020 08:15] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03573 seconds