<< Click to Display Table of Contents >>

IOZRepositoryAuthUserCategory

This interface provides functions to set category permissions per user.


Method Detail

getAccessTypeAuthUserCategory

public int getAccessTypeAuthUserCategory()

Gets the methods with access to the AuthUserCategory Interface as numbers.

getOZRepository

public IOZRepository getOZRepository() throws OZRepositoryException

Gets the class where the OZRepository Interface is implemented.

modifyCategoryUserAuth

public boolean modifyCategoryUserAuth(Object sessionID, String userID, String categoryID, int perm) throws OZRepositoryException

Modifies the permission information of the designated user ID for the designated category ID.

Parameters:

sessionID - Session ID

userID - User ID

categoryID - Category ID

perm - Permission information

getUserAuthToCategory

public int getUserAuthToCategory(Object sessionID, String userID, String categoryID) throws OZRepositoryException

Gets the permission information of the user ID for the designated category ID.

Parameters:

sessionID - Session ID

userID - User ID

categoryID - Category ID

getUserListAuthToCategory

public IOZUserInfoList getUserListAuthToCategory(Object sessionID, String categoryID, int perm) throws OZRepositoryException

Gets the user information of all users with permission of or higher than Perm for the designated category ID.

Parameters:

sessionID - Session ID

categoryID - Category ID

perm - Permission information

getItemListAuthToUserInCategory

public IOZItemInfoList getItemListAuthToUserInCategory(Object sessionID, String userID, String categoryID, int perm) throws OZRepositoryException

Gets the list of all items in the designated category for which the designated user has permission of or higher than Perm.

Parameters:

sessionID - Session ID

userID - User ID

categoryID - Category ID

perm - Permission information

getCategoryListAuthToUserInCategory

public IOZCategoryInfoList getCategoryListAuthToUserInCategory(Object sessionID, String userID, String categoryID, int perm) throws OZRepositoryException

Gets the list of all categories in the sub category of the designated category for which the designated user has permission of or higher than Perm.

Parameters:

sessionID - Session ID

userID - User ID

categoryID - Category ID

perm - Permission information