Folder contents
The folderSearchCatalog
bean is used to modify the display of data for documents, folders and virtual folders contained in a folder. It is made up of 3 properties:
documents
, which lets you configure the display of children documentsfolders
, which lets you configure the display of children foldersvirtualFolders
, which configures the display of children virtual folders
These 3 properties work in the same way:
- a
request
request - a
hiddenColumns
list of hidden columns
By default, document identifiers are retrieved and then hidden in order to retrieve only the data requested during the search
By default in the flower-docs-gui-client.xml
file, the folderSearchRequest
catalog is used to display document names, classes, creation date and last modification date.
Example:
<bean id="folderSearchCatalog" class="com.flower.docs.gui.client.search.folder.FolderChildrenTableCatalog" scope="prototype">
<property name="documents">
<bean class="com.flower.docs.gui.client.search.document.DocumentTablePresenter">
<property name="request" ref="folderSearchRequest" />
<property name="hiddenColumns">
<list>
<value>id_value</value>
<value>status</value>
</list>
</property>
</bean>
</property>
<property name="folders">
<bean class="com.flower.docs.gui.client.search.folder.FolderTablePresenter">
<property name="request" ref="folderSearchRequest" />
<property name="hiddenColumns">
<list>
<value>id_value</value>
<value>status</value>
</list>
</property>
</bean>
</property>
<property name="virtualFolders">
<bean class="com.flower.docs.gui.client.search.virtualfolder.VirtualFolderTablePresenter">
<property name="request" ref="folderSearchRequest" />
<property name="hiddenColumns">
<list>
<value>id_value</value>
<value>status</value>
</list>
</property>
</bean>
</property>
</bean>
<bean name="folderSearchRequest" class="com.flower.docs.domain.search.SearchRequest">
<property name="selectClause">
<bean class="com.flower.docs.domain.search.SelectClause">
<property name="fields">
<list>
<value>name</value>
<value>classid</value>
<value>creationDate</value>
<value>lastUpdateDate</value>
</list>
</property>
</bean>
</property>
</bean>