Library Access List Samples

In this section:

The Library Access List sample folder contains Java applications that show how to create and manipulate ReportCaster Access Lists using the API. As with all of the samples, it uses the ReportCaster authentication and context information contained in the samples.properties directory. These sample Java applications are presented as examples for learning purposes and are not represented as production quality applications.


Top of page

x
AL_Add_AccessList.java

This application adds a new access list containing a single user to the WebFOCUS repository. It accepts four arguments: owner, access list name, access list description, and the user on the list.

Usage: java AL_Add_AccessList <owner> <name> <description> <user>


Top of page

x
AL_Add_AccessElement.java

This application adds a user to an existing access list in the WebFOCUS repository. It accepts four arguments: owner, access list name, access list description, and the user on the list.

Usage: java AL_Add_AccessElement <owner> <name> <description> <user>


Top of page

x
AL_Update_AccessList.java

This application replaces an existing user and burst value in an existing access list. It accepts three arguments: the access list name, the new user, and the new burst value.

Usage: AL_Update_AccessList <name> <user> <burst value>


Top of page

x
AL_Update_AccessElement.java

This application adds a user and burst value to an existing access list. It accepts three arguments: the access list name, the new user, and the new burst value.

Usage: AL_Update_AccessElement <name> <user> <burst value>


Top of page

x
AL_Get_AccessList.java

This application prints the name, description, and owner of an existing access list. It accepts one argument: the access list name.

Usage: java AL_Get_AccessList <name>


Top of page

x
AL_Get_AccessElement.java

This application prints the name, description and owner of an existing access list and lists the user and burst values in the access list. It accepts one argument: the access list name.

Usage: java AL_Get_AccessElement <name>


Top of page

x
AL_Delete_AccessList.java

This application deletes an existing access list from the WebFOCUS repository. It accepts one argument: the access list name.

Usage: java AL_Delete_AccessList <name>


Top of page

x
AL_Delete_AccessElement.java

This application deletes a member from an existing access list in the WebFOCUS repository. It accepts two arguments: the access list name and the member to be deleted.

Usage: java AL_Delete_AccessElement <name> <member>


WebFOCUS