<< 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.

int ACCESS_TYPE_AUTH_USER_CATEGORY_NOT = 0x00000000

int ACCESS_TYPE_MODIFY_CATEGORY_USERAUTH = 0x00000100

int ACCESS_TYPE_GET_USERAUTH_TO_CATEGORY = 0x00000200

int ACCESS_TYPE_GET_USERLIST_AUTH_TO_CATEGORY = 0x00000400

int ACCESS_TYPE_GET_ITEMLIST_AUTH_TO_USER_IN_CATEGORY= 0x00000800

int ACCESS_TYPE_GET_CATEGORYLIST_AUTH_TO_USER_IN_CATEGORY = 0x00020000

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