<< Click to Display Table of Contents >>
IOZRepositoryAuthUserItem
This interface provides functions to set item permissions per user.
Method Detail
getAccessTypeAuthUserItem
public int getAccessTypeAuthUserItem()
Gets the methods with access to the AuthUserItem Interface as numbers.
•int ACCESS_TYPE_AUTH_USER_ITEM_NOT = 0x00000000
•int ACCESS_TYPE_MODIFY_ITEM_USERAUTH = 0x00001000
•int ACCESS_TYPE_GET_USERAUTH_TO_ITEM = 0x00002000
•int ACCESS_TYPE_GET_USERLIST_AUTH_TO_ITEM = 0x00004000
•int ACCESS_TYPE_GET_ITEMLIST_AUTH_TO_USER = 0x00008000
getOZRepository
public IOZRepository getOZRepository() throws OZRepositoryException
Gets the class where the OZRepository Interface is implemented.
modifyItemUserAuth
public boolean modifyItemUserAuth(Object sessionID, String userID, String itemID, int perm) throws OZRepositoryException
Modifies the permission information of the designated user.
Parameters:
sessionID - Session ID
userID - User ID
itemID - Item ID
perm - Permission information
getUserAuthToItem
public int getUserAuthToItem(Object sessionID, String userID, String itemID) throws OZRepositoryException
Gets the permission information of a user for the item.
Parameters:
sessionID - Session ID
userID - User ID
itemID - Permission information
getUserListAuthToItem
public IOZUserInfoList getUserListAuthToItem(Object sessionID, String itemID, int perm) throws OZRepositoryException
Gets the information of all items for which the AuthToItem is or higher than Perm.
Parameters:
sessionID - Session ID
itemID - Item ID
perm - Permission information
getItemListAuthToUser
public IOZItemInfoList getItemListAuthToUser(Object sessionID, String userID, int perm) throws OZRepositoryException
Gets the information of all items of which the AuthToUser is or higher than Perm.
Parameters:
sessionID - Session ID
userID - Item ID
perm - Permission information