public abstract class DbUserHandlerImpl extends Object implements DbUserHandler
Constructor and Description |
---|
DbUserHandlerImpl() |
public final DbGroup getGroup(Connection c, long id) throws SQLException
getGroup
in interface DbUserHandler
SQLException
public final DbGroup getGroup(Connection c, String name) throws SQLException
getGroup
in interface DbUserHandler
SQLException
public final DbGroup[] getGroups(Connection c) throws SQLException
getGroups
in interface DbUserHandler
SQLException
public abstract DbGroup[] getGroups(Connection c, long[] ids) throws SQLException
getGroups
in interface DbUserHandler
SQLException
public abstract DbGroup[] getGroups(Connection c, String[] names) throws SQLException
getGroups
in interface DbUserHandler
SQLException
public final long[] getGroupIds(Connection c) throws SQLException
getGroupIds
in interface DbUserHandler
SQLException
public abstract long[] getGroupIds(Connection c, String[] names) throws SQLException
getGroupIds
in interface DbUserHandler
SQLException
public final String[] getGroupNames(Connection c) throws SQLException
getGroupNames
in interface DbUserHandler
SQLException
public abstract String[] getGroupNames(Connection c, long[] ids) throws SQLException
getGroupNames
in interface DbUserHandler
SQLException
public abstract Map<String,List<String>> getGroupPermissions(Connection c, long groupId) throws SQLException
getGroupPermissions
in interface DbUserHandler
SQLException
public final DbPermission getPermission(Connection c, long id) throws SQLException
getPermission
in interface DbUserHandler
SQLException
public final DbPermission getPermission(Connection c, long pluginId, String key) throws SQLException
getPermission
in interface DbUserHandler
SQLException
public final long[] getPermissionIds(Connection c) throws SQLException
getPermissionIds
in interface DbUserHandler
SQLException
public final long[] getPermissionIds(Connection c, long pluginId) throws SQLException
getPermissionIds
in interface DbUserHandler
SQLException
public abstract long[] getPermissionIds(Connection c, long pluginId, String[] keys) throws SQLException
getPermissionIds
in interface DbUserHandler
SQLException
public abstract String[] getPermissionKeys(Connection c, long pluginId) throws SQLException
getPermissionKeys
in interface DbUserHandler
SQLException
public final DbPermission[] getPermissions(Connection c) throws SQLException
getPermissions
in interface DbUserHandler
SQLException
public abstract DbPermission[] getPermissions(Connection c, long[] ids) throws SQLException
getPermissions
in interface DbUserHandler
SQLException
public final DbPermission[] getPermissions(Connection c, long pluginId) throws SQLException
getPermissions
in interface DbUserHandler
SQLException
public abstract DbPermission[] getPermissions(Connection c, long pluginId, String[] keys) throws SQLException
getPermissions
in interface DbUserHandler
SQLException
public final DbUser getUser(Connection c, long id) throws SQLException
getUser
in interface DbUserHandler
SQLException
public final DbUser getUser(Connection c, String login) throws SQLException
getUser
in interface DbUserHandler
SQLException
public final DbUser[] getUsers(Connection c) throws SQLException
getUsers
in interface DbUserHandler
SQLException
public abstract DbUser[] getUsers(Connection c, long[] ids) throws SQLException
getUsers
in interface DbUserHandler
SQLException
public abstract DbUser[] getUsers(Connection c, String[] logins) throws SQLException
getUsers
in interface DbUserHandler
SQLException
public final long getUserId(Connection c, String login) throws SQLException
getUserId
in interface DbUserHandler
SQLException
public final long[] getUserIds(Connection c) throws SQLException
getUserIds
in interface DbUserHandler
SQLException
public abstract long[] getUserIds(Connection c, String[] logins) throws SQLException
getUserIds
in interface DbUserHandler
SQLException
public abstract String[] getUserLogins(Connection c) throws SQLException
getUserLogins
in interface DbUserHandler
SQLException
public abstract Map<String,List<String>> getUserPermissions(Connection c, long userId) throws SQLException
getUserPermissions
in interface DbUserHandler
SQLException
public final void loadGroupPermissions(Connection c, DbGroup group) throws SQLException
loadGroupPermissions
in interface DbUserHandler
SQLException
public final void loadGroupUsers(Connection c, DbGroup group) throws SQLException
loadGroupUsers
in interface DbUserHandler
SQLException
public abstract void loadGroupUsers(Connection c, DbGroup[] groups) throws SQLException
loadGroupUsers
in interface DbUserHandler
SQLException
public final void loadUserEffectivePermissions(Connection c, DbUser user) throws SQLException
loadUserEffectivePermissions
in interface DbUserHandler
SQLException
public final void loadUserGroups(Connection c, DbUser user) throws SQLException
loadUserGroups
in interface DbUserHandler
SQLException
public abstract void loadUserGroups(Connection c, DbUser[] users) throws SQLException
loadUserGroups
in interface DbUserHandler
SQLException
public final void loadUserPermissions(Connection c, DbUser user) throws SQLException
loadUserPermissions
in interface DbUserHandler
SQLException
public final void loadUserSettings(Connection c, DbUser user) throws SQLException
loadUserSettings
in interface DbUserHandler
SQLException
public abstract void loadUserSettings(Connection c, DbUser[] users) throws SQLException
loadUserSettings
in interface DbUserHandler
SQLException
public final void removeGroup(Connection c, long id) throws SQLException
removeGroup
in interface DbUserHandler
SQLException
public final void removeGroup(Connection c, String name) throws SQLException
removeGroup
in interface DbUserHandler
SQLException
public final void removeGroups(Connection c, String[] names) throws SQLException
removeGroups
in interface DbUserHandler
SQLException
public abstract void removeGroups(Connection c, long[] ids) throws SQLException
removeGroups
in interface DbUserHandler
SQLException
public final void removePermission(Connection c, long id) throws SQLException
removePermission
in interface DbUserHandler
SQLException
public final void removePermission(Connection c, long pluginId, String key) throws SQLException
removePermission
in interface DbUserHandler
SQLException
public final void removePermissions(Connection c, long pluginId, String[] keys) throws SQLException
removePermissions
in interface DbUserHandler
SQLException
public abstract void removePermissions(Connection c, long[] ids) throws SQLException
removePermissions
in interface DbUserHandler
SQLException
public final void removeUser(Connection c, long id) throws SQLException
removeUser
in interface DbUserHandler
SQLException
public final void removeUser(Connection c, String login) throws SQLException
removeUser
in interface DbUserHandler
SQLException
public final void removeUsers(Connection c, String[] logins) throws SQLException
removeUsers
in interface DbUserHandler
SQLException
public abstract void removeUsers(Connection c, long[] ids) throws SQLException
removeUsers
in interface DbUserHandler
SQLException
public final void saveGroup(Connection c, DbGroup group) throws SQLException
saveGroup
in interface DbUserHandler
SQLException
public abstract void saveGroup(Connection c, DbPluginHandler pluginHandler, DbGroup group) throws SQLException
saveGroup
in interface DbUserHandler
SQLException
public abstract void savePermission(Connection c, DbPermission permission) throws SQLException
savePermission
in interface DbUserHandler
SQLException
public final void saveUserCompletely(Connection c, DbUser user) throws SQLException
saveUserCompletely
in interface DbUserHandler
SQLException
public abstract void saveUserCompletely(Connection c, DbPluginHandler pluginHandler, DbUser user) throws SQLException
saveUserCompletely
in interface DbUserHandler
SQLException
public final void saveUserProfile(Connection c, DbUser user) throws SQLException
saveUserProfile
in interface DbUserHandler
SQLException
public abstract void saveUserProfile(Connection c, DbPluginHandler pluginHandler, DbUser user) throws SQLException
saveUserProfile
in interface DbUserHandler
SQLException
public final void setUserLastLogin(Connection c, long userId) throws SQLException
setUserLastLogin
in interface DbUserHandler
SQLException
public abstract void setUserLastLogin(Connection c, long userId, Date lastLogin) throws SQLException
setUserLastLogin
in interface DbUserHandler
SQLException
Copyright © 2015 OpenEstate. All rights reserved.