public class UserLogic extends AbstractLogic
Constructor and Description |
---|
UserLogic() |
Modifier and Type | Method and Description |
---|---|
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,
jp.go.nict.langrid.commons.lang.block.BlockPR<User,T> userBlock) |
<T> T |
transactRead(String userGridId,
String userId,
jp.go.nict.langrid.commons.lang.block.BlockPR<User,T> userBlock,
jp.go.nict.langrid.commons.lang.block.BlockR<T> userNotExistBlock) |
void |
transactUpdate(String userGridId,
String userId,
jp.go.nict.langrid.commons.lang.block.BlockP<User> userBlock) |
getAccessLimitDao, getAccessLogDao, getAccessRightDao, getAccessStateDao, getDaoContext, getDaoFactory, getDomainDao, getFederationDao, getGridDao, getInvocationDao, getNewsDao, getNodeDao, getOperationRequestDao, getOverUseLimitDao, getOverUseStateDao, getProtocolDao, getResourceDao, getResourceTypeDao, getScheduleDao, getServiceDao, getServiceDeploymentDao, getServiceTypeDao, getSystemPropertyDao, getTemporaryUserDao, getUserDao
public UserLogic() throws DaoException
DaoException
public void clear() throws DaoException
DaoException
public void initialize() throws DaoException
DaoException
public UserSearchResult searchUsers(int startIndex, int maxCount, String userGridId, MatchingCondition[] conditions, Order[] orders) throws DaoException
DaoException
public UserSearchResult searchUsersShouldChangePassword(int startIndex, int maxCount, String userGridId, int days, Order[] orders) throws DaoException
DaoException
public User getUser(String gridId, String userId) throws DaoException
DaoException
public void addUser(User user) throws UserAlreadyExistsException, DaoException
public void deleteUser(String userGridId, String userId) throws DaoException
DaoException
public <T> T transactRead(String userGridId, String userId, jp.go.nict.langrid.commons.lang.block.BlockPR<User,T> userBlock) throws UserNotFoundException, DaoException
UserNotFoundException
DaoException
public <T> T transactRead(String userGridId, String userId, jp.go.nict.langrid.commons.lang.block.BlockPR<User,T> userBlock, jp.go.nict.langrid.commons.lang.block.BlockR<T> userNotExistBlock) throws UserNotFoundException, DaoException
UserNotFoundException
DaoException
public void transactUpdate(String userGridId, String userId, jp.go.nict.langrid.commons.lang.block.BlockP<User> userBlock) throws UserNotFoundException, DaoException
UserNotFoundException
DaoException
public void setUserPassword(String userGridId, String userId, String password) throws UserNotFoundException, DaoException
UserNotFoundException
DaoException