You are on page 1of 5

1.1.1.

Replace an object using a WebDAV client

Primary Actor:
User

Brief Description of Context and Goal:


Replaces an existing object object on ILIAS.
Triggers: The user wants to replace an existing file object on ILIAS

Preconditions:
The user has an active webfolder session with ILIAS. The webfolder already contains a file object with
the same name.

Known issues:
A new version is not always created, because some WebDAV clients may choose to perform this use
case in a different way: instead of replacing an existing object, the WebDAV client may choose to
explicitly delete the file object first, before sending a put request for the new version.

If such a feature is going to be implemented, then users must have the ability to turn the feature on and off
in their personal profile, because it is not always desired, that filename extensions are interpreted by
ILIAS.
Postconditions:
A object object has been replaced.
Main Success Scenario:
1. The user opens a context menu at the desired location in the webfolder.
2. The user stores a file object in the webfolder,
3. The WebdAV client sends a lock request to ILIAS.
4. ILIAS locks the object.
5. The WebDAV client sends a put request to ILIAS.
6. ILIAS creates a new version of the file.
7. ILIAS transfers the ownership of the file to the user.
8. The WebdAV client sends a unlock request to ILIAS.
9. ILIAS unlocks the file.

1.1.3. Create an object using a WebDAV Client

Primary Actor:
User

Brief Description of Context and Goal:


Creates a new object on ILIAS.

Triggers:
The user wants to create a new object on ILIAS

Preconditions:
The user has an active webfolder session with ILIAS.

Postconditions:
An object has been created.

Main Success Scenario:


10. The user opens a context menu at the desired location in the webfolder.
11. The user clicks at the "New Folder" menu item or the "New File" menu item.
12. The WebDAV client sends a lock request for the name of the new object to ILIAS.
13. ILIAS creates a null object for the lock.
14. The WebdAV client sends a put request to ILIAS.
15. ILIAS converts the null object into a suitable object type.
16. The WebDAV client sends a unlock request to ILIAS.
17. ILIAS frees the lock.

Known issues:
The WebDAV client of Mac OS X 10.5 sends more than one put request. This causes ILIAS to create
multiple versions, if the object is a file object.
ILIAS may create a different kind of object depending on the type of the parent object.
For example, if the parent object is a category, creating a new folder using the WebDAV interface results
in the creation of a category object. If the parent object is a course, a group or a folder, then ILIAS creates
a folder object.
This may confuse users. Thus ILIAS has been changed, so that folder objects are also supported within
categories. Therefore, ILIAS always creates a folder object, regardless of the current location in the
repository.

Future ideas for this use case:


In a future version, ILIAS may create a different kind of object, depending on the filename extension of
an object.
For example, creating an object with the filename extension .scorm.zip could cause ILIAS to create a
SCORM learning module, and to interpret the content of the file as a SCORM Content Package.
For example, creating an object with the filename extension .lnk could cause ILIAS to create a web -link
ob-ject, and interpret the content of the file as a web address.

1.1.4. Duplicate an object using a WebDAV client

Primary Actor:
User

Brief Description of Context and Goal:


The user duplicates an existing object object in ILIAS, or he/she copies an existing object in ILI AS to
another location on ILIAS.

Triggers:
The user wants to duplicate an existing file/folder object in ILIAS, the user wants to copy an exist -ing
file/folder object in ILIAS to another location.

Preconditions:
The user is logged into ILIAS.

Postconditions:
A object in the repository has been copied.

Main Success Scenario 1:


18. The user opens the Repository of ILIAS as a webfolder.
19. The user clicks at the "Duplicate" menu item of the WebDAV client.
20. The WebDAV client sends a lock request to ILIAS.
21. ILIAS locks the object.
22. The WebDAV client sends a copy request to ILIAS. *
23. ILIAS copies the object. If the object is a folder, ILIAS also copies all contained objects.
24. The WebdAV client sends an unlock request to ILIAS.
25. ILIAS unlocks the object.

Main Success Scenario 2:


1. The user opens the Repository of ILIAS as a webfolder.
2. The user copy-drags a object in the webfolder to another location
3. The WebDAV client sends a lock request to ILIAS.
4. .LIAS locks the object.
5. The WebDAV client sends a copy request to ILIAS. *
6. ILIAS copies the object. If the object is a folder, ILIAS also copies all contained objects.
7. The WebdAV client sends an unlock request to ILIAS.
8. ILIAS unlocks the object.

Resolved Issues:
Copying an ILIAS object A which has dependencies to object B yields to the following results:
If both objects A and B are copied, then the copy A' depends on the copy B'.
If only A is copied, then the copy A' depends on object B.
If only B is copied, then B' is a copy of B, without having a dependency from A to B'.

Known issues:
Some WebDAV client's don't send a copy request. Instead, they download the object, and create a new
object at the target location. This may cause heavy network traffic.

1.1.5. Move an object using a WebDAV client

Primary Actor:
User

Brief Description of Context and Goal:


The user renames an existing object object in ILIAS, or he/she moves an existing object object in ILIAS
to another location on ILIAS.

Triggers:
The user wants to rename an existing file/folder object in ILIAS, the user wants to move an ex ist-ing
file/folder object in ILIAS to another location.

Preconditions:
The user has an active webfolder session with ILIAS.

Postconditions:
A object in the repository has been moved.

Main Success Scenario 1:


9. The user opens a context menu at the desired object in the webfolder.
10. The user either renames the object.
11. The WebDAV client sends a lock request to ILIAS.
12. ILIAS locks the object.
13. The WebDAV client sends a move request to ILIAS.
14. ILIAS moves the object. If the object is a folder, ILIAS also moves all contained objects.
15. The WebdAV client sends an unlock request to ILIAS.
16. ILIAS unlocks the object.

Main Success Scenario 2:


17. The user drags the object to another folder.
18. The WebDAV client sends a lock request to ILIAS.
19. ILIAS locks the object.
20. The WebDAV client sends a move request to ILIAS.
21. ILIAS moves the object. If the object is a folder, ILIAS also moves all contained objects.
22. The WebdAV client sends an unlock request to ILIAS.
23. ILIAS unlocks the object.

Known issues:
Some WebDAV clients, such as Mac OS X 10.5 client, don't send a move request. Instead, they
download the object, and create a new object at the target location, then they delete the old object. This
results in loss of meta data in ILIAS, and may cause heavy network traffic.

You might also like