<< Click to Display Table of Contents >>

IOZRepositoryAuthUserCategory


Method Detail

getAccessTypeAuthUserCategory

public int getAccessTypeAuthUserCategory()

カテゴリーに対するユーザー権限インターフェースに接近可能なメソッドを数値でを取得します。

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

OZ Repostiroyインターフェースを実装したクラスを取得します。

modifyCategoryUserAuth

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

指定したカテゴリーIDに対する指定したユーザーIDの権限情報を変更して変更結果を返します。

Parameters:

sessionID : セッションID

userID : ユーザーID

categoryID : カテゴリーID

perm : 権限情報

getUserAuthToCategory

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

指定したカテゴリーIDに対する指定したユーザーIDの権限情報を取得します。

Parameters:

sessionID : セッションID

userID : ユーザーID

categoryID : カテゴリーID

getUserListAuthToCategory

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

指定したカテゴリーIDに対してperm以上の権限が付与された全てのユーザー情報を取得します。

Parameters:

sessionID : セッションID

categoryID : カテゴリーID

perm : 権限情報

getItemListAuthToUserInCategory

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

指定したカテゴリーのアイテム中で指定したユーザーの権限がperm以上の全てのアイテムリストを取得します。

Parameters:

sessionID : セッションID

userID : ユーザーID

categoryID : カテゴリーID

perm : 権限情報

getCategoryListAuthToUserInCategory

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

指定したカテゴリーの下位カテゴリー中で指定したユーザーの権限がperm以上の全てのカテゴリーリストを取得します。

Parameters:

sessionID : セッションID

userID : ユーザーID

categoryID : カテゴリーID

perm : 権限情報