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

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

public class UserLogic
extends AbstractLogic

Userに関するロジックを提供する。

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

コンストラクタの概要
UserLogic()
          コンストラクタ。
 
メソッドの概要
 void addUser(User user)
           
 void clear()
           
 void deleteUser(String userGridId, String userId)
           
 User getUser(String gridId, String userId)
           
 void initialize()
           
 UserSearchResult searchUsers(int startIndex, int maxCount, String userGridId, MatchingCondition[] conditions, Order[] orders)
           
 UserSearchResult searchUsersShouldChangePassword(int startIndex, int maxCount, String userGridId, int days, Order[] orders)
           
 void setUserPassword(String userGridId, String userId, String password)
           
<T> T
transactRead(String userGridId, String userId, BlockPR<User,T> userBlock)
           
<T> T
transactRead(String userGridId, String userId, BlockPR<User,T> userBlock, BlockR<T> userNotExistBlock)
           
 void transactUpdate(String userGridId, String userId, BlockP<User> userBlock)
           
 
クラス 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
 

コンストラクタの詳細

UserLogic

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

例外:
DaoException
メソッドの詳細

clear

public void clear()
           throws DaoException
例外:
DaoException

initialize

public void initialize()
                throws DaoException
例外:
DaoException

searchUsers

public UserSearchResult searchUsers(int startIndex,
                                    int maxCount,
                                    String userGridId,
                                    MatchingCondition[] conditions,
                                    Order[] orders)
                             throws DaoException
例外:
DaoException

searchUsersShouldChangePassword

public UserSearchResult searchUsersShouldChangePassword(int startIndex,
                                                        int maxCount,
                                                        String userGridId,
                                                        int days,
                                                        Order[] orders)
                                                 throws DaoException
例外:
DaoException

getUser

public User getUser(String gridId,
                    String userId)
             throws DaoException
例外:
DaoException

addUser

public void addUser(User user)
             throws UserAlreadyExistsException,
                    DaoException
例外:
UserAlreadyExistsException
DaoException

deleteUser

public void deleteUser(String userGridId,
                       String userId)
                throws DaoException
例外:
DaoException

transactRead

public <T> T transactRead(String userGridId,
                          String userId,
                          BlockPR<User,T> userBlock)
               throws UserNotFoundException,
                      DaoException
例外:
UserNotFoundException
DaoException

transactRead

public <T> T transactRead(String userGridId,
                          String userId,
                          BlockPR<User,T> userBlock,
                          BlockR<T> userNotExistBlock)
               throws UserNotFoundException,
                      DaoException
例外:
UserNotFoundException
DaoException

transactUpdate

public void transactUpdate(String userGridId,
                           String userId,
                           BlockP<User> userBlock)
                    throws UserNotFoundException,
                           DaoException
例外:
UserNotFoundException
DaoException

setUserPassword

public void setUserPassword(String userGridId,
                            String userId,
                            String password)
                     throws UserNotFoundException,
                            DaoException
例外:
UserNotFoundException
DaoException