<%@ page language="java" buffer="100kb" errorPage="/common/error.jsp"%>

<%@ taglib uri="struts-html" prefix="html"%>
<%@ taglib uri="struts-bean" prefix="bean"%>
<%@ taglib uri="vkc-taglib"  prefix="vkc" %>

<html:html locale="true">
<head>
  <vkc:init/>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <meta http-equiv="expires" content="0">
  <meta name="description" content="VKC Help: Trash">

  <vkc:cssinclude />

  <title><vkc:message key="vkc" /></title>
  <script type="text/javascript" src="<vkc:rewrite page='/common/utils.js'/>"></script>

  <script type="text/javascript">

  window.name = "MAINVIEW";

  function init() {
  }
  
  function confirmation(){
    return confirm('<vkc:message javascript="true" filter="false" key="vkc.string.confirmation"/>');
  }

  </script>
</head>

<!-- ENGLISH VERSION ************************************************** -->

<!-- Version 20-Jun-2006 VKC 3.7/4.0 -->

<body onload="init();">
<a name="top"></a>

<h2>
<a name="trash"></a>
VKC Help: Trash</h2>

<p>
VKC provides a common trash to collect all documents and categories
deleted by all users.
Categories and documents can be restored from the trash to arbitrary
destination categories by the administrator.
The date of the deletion and the user account
have to be remembered to retrieve data from the trash.
The administrator is responsible for deleting categories and documents
from the trash definitely after some period of time.
</p>
<p>
Deleted documents can no longer be found in the search index or referenced
by the generate web URLs. During the process of restoring, documents will
be included in the search index again. After restoring, documents can be
referenced by the original web URL again.
</p>

<h3><a name="usetrash"></a>
Accessing the Trash Folder
</h3>
<p>
The trash folder is accessible by administrators only.
If a trash has been configured, a corresponding function tab will
be available, labeled "Trash" in the following example
(details about <a href="#createtrash">Configuration of the Trash Folder</a>).
</p>
<img src="pic3-adm-trash1.gif" width="386" height="251" border="1" 
alt="Function tab Trash">
<p>
Deleted data will be stored in a different folder for each day.
For every delete operation of the day a separate subfolder will
be created identifying the time of operation and the user account
performing the deletion.
</p>
<img src="pic3-adm-trash2.gif" width="462" height="228" border="1" 
alt="Delete operations on one day">
<p>
In the subfolder, the categories and documents are located that
have been deleted in one operation retaining their original names.
Document meta data will be shown in an abbreviated form but will
be saved completely.
Below the categories and documents, a function selection will be
provided.
</p>
<img src="pic3-adm-trash3.gif" width="609" height="286" border="1" 
alt="one delete operation">
<p>
You may select categories or documents by checking the box in front
of the name. Select the appropriate function and click on <b>Execute</b>
to perform the function.
</p>
<p>
Function <b>Move to clipboard</b> resembles the usual "Cut" function.
It can be used to restore the selected data.
Navigate to the desired destination category in the document storage and
perform the "Paste" function (either by icon or by function selection).
Data not retrieved from the clipboard will remain in the trash folder.
</p>
<p>
Function <b>Delete definitely</b> removes the selected data from the trash folder
permanently. They can not be restored anymore.
</p>
<p>
The functions are applicable for all levels of the trash folder:
for all delete operations of one day, for one complete delete operation,
or for selected categories or documents of one delete operation.
Please note, however, that the auxiliary subfolders of the trash folder
will be included in the restored structure when cutting/pasting data
from a whole day or from a complete delete operation.
Thus it is recommended to "clean up" the document storage afterwards.
</p>

<div align="right">
<a href="#top">
<img src="top-blue.gif" alt="to top of page" border="0"></a>
</div>

<h3><a name="createtrash"></a>
Configuration of the Trash Folder
</h3>
<p>
If no trash folder has been configured yet,
the administrator has to create a new category in the VKC root
which shall be used as the trash folder later on.
The name of that category, e.g. "Trash", will be used as the label
of the corresponding function tab after activation of the trash function.
This label will be used commonly for all supported menu languages.
</p>
<p>
Next, the administrator has to edit the <b>Configuration</b> in the
<b>Adminstration view</b>. Click on <b>Trash</b> in the menu on the left.
The ID number of the created trash category (can be found in the category's web URL)
has to be entered in field <b>Category ID</b>.
The check box for <b>Trash</b> has to be marked to enable the trash function at all.
</p>
<img src="pic3-adm-sysconf-trash.gif" border="1" 
alt="Configuration: trash">
<p>
Finalize your changes by clicking on <b>Save</b>.
</p>
<p>
When the adminstrator logs in again, the new function tab for the trash
folder will be visible in the menu. The corresponding category will be
excluded from the usual view of the document storage.
</p>

<div align="right">
<a href="#top">
<img src="top-blue.gif" alt="to top of page" border="0"></a>
</div>

<!-- DOCUMENT FOOTER ************************************************** -->

<hr>
<p>
<b>Attention:</b>
<br>
Please use the <b>back</b> button of your browser for returning
to the previous help page. 
</p>

<img src="vkc-versioninfo.gif" alt="Version information" border="0">

</body>
</html:html>