<< Click to Display Table of Contents >>
IOZRepositoryAuthGroupCategory
This interface provides functions to set category permissions per group.
Method Detail
getAccessTypeAuthGroupCategory
public int getAccessTypeAuthGroupCategory()
Gets the methods with access to the AuthGroupCategory Interface as numbers.
•int ACCESS_TYPE_AUTH_GROUP_CATEGORY_NOT = 0x00000000
•int ACCESS_TYPE_MODIFY_CATEGORY_GROUPAUTH = 0x00000001
•int ACCESS_TYPE_GET_GROUPAUTH_TO_CATEGORY = 0x00000002
•int ACCESS_TYPE_GET_GROUPLIST_AUTH_TO_CATEGORY = 0x00000004
•int ACCESS_TYPE_GET_ITEMLIST_AUTH_TO_GROUP_IN_CATEGORY = 0x00000008
•int ACCESS_TYPE_GET_CATEGORYLIST_AUTH_TO_GROUP_IN_CATEGORY = 0x00010000
getOZRepository
public IOZRepository getOZRepository() throws OZRepositoryException
Gets the class where the OZRepository Interface class is implemented.
modifyCategoryGroupAuth
public boolean modifyCategoryGroupAuth(Object sessionID, String categoryID, String groupID, int perm) throws OZRepositoryException
Modifies the Permission information of the designated category and group.
Parameters:
sessionID - Session ID
categoryID - Category ID to change its permission
groupID - Group ID to change its permission
perm - Permission information(1: VIEW, 2: READ, 4: WRITE)
getGroupAuthToCategory
public int getGroupAuthToCategory(Object sessionID, String categoryID, String groupID) throws OZRepositoryException
Gets permission of given group for given category.
Parameters:
sessionID - Session ID
categoryID - Category ID to get its permission
groupID - Group ID
getGroupListAuthToCategory
public IOZGroupInfoList getGroupListAuthToCategory(Object sessionID, String categoryID, int perm) throws OZRepositoryException
Gets the user information of all users with permission level of or higher than Perm for the designated category ID.
Parameters:
sessionID - Session ID
categoryID - Category ID
perm - Permission information
getItemListAuthToGroupInCategory
public IOZItemInfoList getItemListAuthToGroupInCategory(Object sessionID, String groupID, String categoryID, int perm) throws OZRepositoryException
Gets the list of all items in the designated category with permission level of or higher than Perm for the designated group.
Parameters:
sessionID - Session ID
groupID - Group ID
categoryID - Category ID
perm Permission information
getCategoryListAuthToGroupInCategory
public IOZCategoryInfoList getCategoryListAuthToGroupInCategory(Object sessionID, String groupID, String categoryID, int perm) throws OZRepositoryException
Gets the list of all categories among the sub categories in the designated category with permission level of or higher than Perm for the designated group.
Parameters:
sessionID - Session ID
groupID - Group ID
categoryID - Category ID
perm - Permission information