jp.go.nict.langrid.management.logic
クラス AccessRightLogic

java.lang.Object
  上位を拡張 jp.go.nict.langrid.management.logic.AbstractLogic
      上位を拡張 jp.go.nict.langrid.management.logic.AccessRightLogic

public class AccessRightLogic
extends AbstractLogic

アクセス権に関するロジックを提供する。

バージョン:
$Revision:4384 $
作成者:
Takao Nakaguchi, $Author:nakaguchi $

コンストラクタの概要
AccessRightLogic()
          コンストラクタ。
 
メソッドの概要
 void clear()
           
 void deleteAccessRight(String serviceGridId, String serviceId, String userGridId, String userId)
           
 AccessRight getAccessRight(String serviceGridId, String serviceId, String userGridId, String userId)
           
 void moveToForAllUsers(String serviceGridId, String serviceId)
           
 void moveToMembersOnly(String serviceGridId, String serviceId)
           
 AccessRightSearchResult searchAccessRights(String ownerUserId, int startIndex, int maxCount, String serviceGridId, String serviceId, String userGridId, Order[] orders)
           
 void setAccessRight(String serviceOwnerUserId, String serviceGridId, String serviceId, String userGridId, String userId, boolean permitted)
           
 
クラス jp.go.nict.langrid.management.logic.AbstractLogic から継承されたメソッド
getAccessLimitDao, getAccessLogDao, getAccessRightDao, getAccessStateDao, getDaoContext, getDaoFactory, getDomainDao, getFederationDao, getGridDao, getInvocationDao, getNewsDao, getNodeDao, getOperationRequestDao, getOverUseLimitDao, getOverUseStateDao, getProtocolDao, getResourceDao, getResourceTypeDao, getScheduleDao, getServiceDao, getServiceDeploymentDao, getServiceTypeDao, getSubscriptionDao, getSystemPropertyDao, getTemporaryUserDao, getUserDao
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

AccessRightLogic

public AccessRightLogic()
                 throws DaoException
コンストラクタ。

例外:
DaoException
メソッドの詳細

clear

public void clear()
           throws DaoException
例外:
DaoException

searchAccessRights

public AccessRightSearchResult searchAccessRights(String ownerUserId,
                                                  int startIndex,
                                                  int maxCount,
                                                  String serviceGridId,
                                                  String serviceId,
                                                  String userGridId,
                                                  Order[] orders)
                                           throws DaoException
例外:
DaoException

getAccessRight

public AccessRight getAccessRight(String serviceGridId,
                                  String serviceId,
                                  String userGridId,
                                  String userId)
                           throws DaoException,
                                  ServiceNotFoundException,
                                  UserNotFoundException
例外:
DaoException
ServiceNotFoundException
UserNotFoundException

setAccessRight

public void setAccessRight(String serviceOwnerUserId,
                           String serviceGridId,
                           String serviceId,
                           String userGridId,
                           String userId,
                           boolean permitted)
                    throws DaoException,
                           UserNotFoundException
例外:
DaoException
UserNotFoundException

moveToMembersOnly

public void moveToMembersOnly(String serviceGridId,
                              String serviceId)
                       throws DaoException
例外:
DaoException

moveToForAllUsers

public void moveToForAllUsers(String serviceGridId,
                              String serviceId)
                       throws DaoException
例外:
DaoException

deleteAccessRight

public void deleteAccessRight(String serviceGridId,
                              String serviceId,
                              String userGridId,
                              String userId)
                       throws DaoException,
                              AccessRightNotFoundException
例外:
DaoException
AccessRightNotFoundException