com.ibm.btt.bc.ac.dao
Interface ISecurityUserDAO
- All Known Implementing Classes:
- SecurityUserDAODBImpl, SecurityUserDAOXMLImpl
public interface ISecurityUserDAO
addUser
java.lang.String addUser(SecurityUser user)
throws DAOException
- Throws:
DAOException
updateUser
java.lang.String updateUser(SecurityUser user)
throws DAOException
- Throws:
DAOException
deleteUser
java.lang.String deleteUser(java.lang.String userId)
throws DAOException
- Throws:
DAOException
getAllUsers
java.util.List<SecurityUser> getAllUsers()
throws DAOException
- Throws:
DAOException
findUserWithId
SecurityUser findUserWithId(java.lang.String userId)
throws DAOException
- Throws:
DAOException
findUser
java.util.List<SecurityUser> findUser(QueryConditions queryConditions)
throws DAOException
- Throws:
DAOException
assignRoleToUser
java.lang.String assignRoleToUser(java.lang.String user,
java.lang.String roleName,
java.util.Calendar startDate,
java.util.Calendar endDate)
throws DAOException
- Throws:
DAOException
removeRoleFromUser
java.lang.String removeRoleFromUser(java.lang.String userId,
java.lang.String roleName)
throws DAOException
- Throws:
DAOException
updateAssignedRole
java.lang.String updateAssignedRole(java.lang.String userId,
java.lang.String roleName,
java.util.Calendar startDate,
java.util.Calendar endDate)
throws DAOException
- Throws:
DAOException
getAllAssignedRolesForUser
java.util.List<AssignedRole> getAllAssignedRolesForUser(java.lang.String userId)
throws DAOException
- Throws:
DAOException
getAssignedRoleForUser
AssignedRole getAssignedRoleForUser(java.lang.String userId,
java.lang.String roleName)
throws DAOException
- Throws:
DAOException
(c) Copyright IBM Corporation 1998, 2011