<< Click to Display Table of Contents >>
IOZRepositoryAuthGroupItem
This interface provides functions to set item permissions per group.
Method Detail
getAccessTypeAuthGroupItem
public int getAccessTypeAuthGroupItem()
Gets the methods with access to the AuthGroupItem Interface as numbers.
•int ACCESS_TYPE_AUTH_GROUP_ITEM_NOT = 0x00000000
•int ACCESS_TYPE_MODIFY_ITEM_GROUPAUTH = 0x00000010
•int ACCESS_TYPE_GET_GROUPAUTH_TO_ITEM = 0x00000020
•int ACCESS_TYPE_GET_GROUPLIST_AUTH_TO_ITEM = 0x00000040
•int ACCESS_TYPE_GET_ITEMLIST_AUTH_TO_GROUP = 0x00000080
getOZRepository
public IOZRepository getOZRepository() throws OZRepositoryException
Gets the class where the OZRepository Interface is implemented.
modifyItemGroupAuth
public boolean modifyItemGroupAuth(Object sessionID, String groupID, String itemID, int perm) throws OZRepositoryException
Modifies the permission information of the designated group ID for the item ID.
Parameters:
sessionID - Session ID
groupID - Group ID
itemID - Item ID
perm - Permission information
getGroupAuthToItem
public int getGroupAuthToItem(Object sessionID, String groupID, String itemID) throws OZRepositoryException
Gets the permission information of the designated group ID for the item ID.
Parameters:
sessionID - Session ID
groupID - Group ID
itemID - Item ID
getGroupListAuthToItem
public IOZGroupInfoList getGroupListAuthToItem(Object sessionID, String itemID, int perm) throws OZRepositoryException
Gets the information of all groups with permission level of or higher than Perm for the item ID.
Parameters:
sessionID - Session ID
itemID - Item ID
perm - Permission information
getItemListAuthToGroup
public IOZItemInfoList getItemListAuthToGroup(Object sessionID, String groupID, int perm) throws OZRepositoryException
Gets the information of all items with permission level of or higher than Perm for the group corresponding to the designated group ID.
Parameters:
sessionID - Session ID
groupID - Group ID
perm - Permission information