-
Notifications
You must be signed in to change notification settings - Fork 0
Collections
Collections are actually a list of predefined search queries. The administrator of Comète has the privilege to create such a list and make it available to the users. This is very convenient for groups of resources that are frequently accessed.
The Collections page looks like this:

The user can choose a collection among the list of available collections and click the Search button to get the associated resources.
At the moment, the support for managing collections is minimal.
For now, only the administrator is allowed to add collections to the system.
In order to do so, he must authenticate himself. Thereafter, whenever he performs a search query, a Save as collection button is made available. It's located above the list of found resources on the right side.

Clicking this button will invoke a Dialog Window where the name of the collection can be typed. The collection will be added at the end of the list of collections.
There is no facilities yet to properly manage the list of collections. Eventually, an administrative tool will be developed to this end. Meanwhile, if the administrator wants to edit the collections, he has to do so by editing the file where the collections are declared. This file is located at ${comete.home}/conf/collections/collections.ini. Except for the comments at the top, each line contains a collection declaration with its name and its encoded query. The collections can be reordered, renamed, and deleted. To prevent errors, it is strongly suggested to use the Save as collection button to add new collections. An error in the query part of the collection's declaration line could cause a system malfunction.