The following is the requirement summary for building a new centralized file management system (FMS):
1. After merging the central FMS, each individual system will use web service to connect to it. And all files and related information will be put in a central place.
2. The central should have the following functions:
- Upload (with all related information, such as file name, version number and category)
- Update (reversion)
- ListFile (all versions of a file)
3. Each system should be changed as little as possible when merging the central FMS.
To issustrate the situation, please read the following diagram.
<pre><code> String foo = "bar"; </code></pre>