public class UserPermsetDAO extends UserDAO
con, dateFormat_DDMMYYYY, dateFormat_DDMMYYYY_HHMM, log, SQL_AND, SQL_DELETE, SQL_DESC, SQL_FROM, SQL_GROUP_BY, SQL_INNER_JOIN, SQL_INSERT, SQL_LEFT_JOIN, SQL_LIMIT, SQL_ORDER_BY, SQL_REPLACE, SQL_SELECT, SQL_SELECT_ALL_FROM, SQL_SELECT_COUNT_ROWS, SQL_SET, SQL_UPDATE, SQL_WHERE
Constructor and Description |
---|
UserPermsetDAO(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
void |
deletePermset(int id) |
java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,ParameterMap>> |
getAllPermsets() |
java.util.Map<java.lang.String,ParameterMap> |
getPermissions(int permsetId) |
Permset |
getPermsetById(int id) |
java.util.List<Permset> |
getPermsetList() |
void |
replacePermissions(int fromPermsetId,
int toPermsetId) |
void |
searchPermset(SearchResult<Permset> searchResult) |
void |
updatePermissions(java.util.Set<java.lang.String> action,
java.util.Set<java.lang.String> config,
int permsetId) |
void |
updatePermset(Permset userGroup) |
addUserGroup, closeUserGroupPeriod, deleteUser, getAllPermissions, getAllUserGroupIds, getAllUserGroupLinks, getAllUserPerm, getAllUserPermsetIds, getAllUserQueueIds, getMySQLLimit, getUser, getUserByLogin, getUserGroupIds, getUserList, getUserList, getUserList, getUserPermsetIds, getUserQueueIds, removeUserGroup, searchUser, searchUser, searchUser, updatePersonalization, updateUser, updateUser
addLikeSql, convertDateToSqlDate, convertDateToTimestamp, deleteById, getFoundRows, getGroupedIds, getGroupedIds, getIds, getIds, getLikePattern, getPeriodSql, lastInsertId, setPeriodParamValue, setRecordCount, sqlToBgException, updateColumn, updateIds, updateIds
public void searchPermset(SearchResult<Permset> searchResult) throws BGException
BGException
public java.util.List<Permset> getPermsetList() throws BGException
BGException
public Permset getPermsetById(int id) throws BGException
BGException
public void deletePermset(int id) throws BGException
BGException
public void updatePermset(Permset userGroup) throws BGException
BGException
public java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,ParameterMap>> getAllPermsets() throws BGException
BGException
public void updatePermissions(java.util.Set<java.lang.String> action, java.util.Set<java.lang.String> config, int permsetId) throws BGException
updatePermissions
in class UserDAO
BGException
public java.util.Map<java.lang.String,ParameterMap> getPermissions(int permsetId) throws BGException
getPermissions
in class UserDAO
BGException
public void replacePermissions(int fromPermsetId, int toPermsetId) throws BGException
BGException