NAME

ContentUtil - Utility library returning strings representing Rest queries that perform content operations in the system.

ABSTRACT

ContentUtil perl library essentially provides the request strings needed to interact with content functionality exposed over the system rest interfaces.

Each interaction has a setup and eval method. setup provides the request, whilst eval interprets the response to give further information about the result of performing the request.

add_setup

Returns a textual representation of the request needed to add content to the system.

add_eval

Check result of adding content.

copy_setup

Returns a textual representation of the request needed to copy content within the system.

copy_eval

Inspects the result returned from issuing the request generated in copy_setup returning true if the result indicates the content was copied successfully, else false.

delete_setup

Returns a textual representation of the request needed to delete content from the system.

delete_eval

Inspects the result returned from issuing the request generated in delete_setup returning true if the result indicates the content was deleted successfully, else false.

exists_setup

Returns a textual representation of the request needed to test whether content exists in the system.

exists_eval

Inspects the result returned from issuing the request generated in exists_setup returning true if the result indicates the content does exist in the system, else false.

move_setup

Returns a textual representation of the request needed to move content within the system.

move_eval

Inspects the result returned from issuing the request generated in move_setup returning true if the result indicates the content was moved successfully, else false.

upload_file_setup

Returns a textual representation of the request needed to upload a file to the system.

upload_file_eval

Check result of system upload_file.