public class LbrUserManagerImpl extends ImmUserManagerImpl implements LbrUserManager
IM共通マスタ ユーザマネージャ
に皆伝!勤務管理モジュールに特化したメソッドを追加しています。
AbstractGenericManager.KeywordsSearchFilterImpl
LbrUserManager.LbrSubordinateUserCriteriaDto, LbrUserManager.LbrUserManagerDto
修飾子とタイプ | フィールドと説明 |
---|---|
CompanyManagerHelper |
companyManagerHelper
CompanyManagerHelper.
|
CompanySettingsHelper |
companySettingsHelper
CompanySettingsHelper.
|
DateHelper |
dateHelper
DateHelper.
|
protected static String |
SELECT_LIST_LBR_KEYWORD_FILTER_BY_ATH_COMPANY
SQLファイル.
|
protected static String |
SELECT_USER_FOR_DEPARTMENT
SQLファイル.
|
immUserService, IS_ATH_MAIN
commonSqlManager, identifierHelper, kaidenSqlLoggingHelper
contextHelper, dtoClass, systemLocaleHelper
コンストラクタと説明 |
---|
LbrUserManagerImpl() |
entry, entryIgnoreAuthCompany, getCriteria4SqlParmitCompany, getDtoClass, getDuplicationCheckField, remove, removeIgnoreAuthCompany, removeNotExclude, removeNotExcludeIgnoreAuthCompany, renew, renewIgnoreAuthCompany, select, selectIgnoreAuthCompany, selectList, selectListByCompany, selectListByCompany, selectListByCompany, selectListByCompanyIgnoreAuthCompany, selectListByCompanyIgnoreAuthCompany, selectListByCompanyIgnoreAuthCompany, selectListByCompanyIgnoreAuthCompany4Filter, selectListByCompanyIgnoreAuthCompany4Filter, selectListByCompanyIgnoreAuthCompany4Filter, selectListIgnoreAuthCompany, selectListKeywordFilter, selectListKeywordFilterIgnoreAuthCompany, selectListWithDepartmentByKeywords, selectListWithDepartmentByKeywordsIgnoreAuthCompany, selectListWithReference, selectListWithReferenceIgnoreAuthCompany, selectLocales, selectLocalesIgnoreAuthCompany, toDisabled, toDisabledIgnoreAuthCompany, toEnabled, toEnabledIgnoreAuthCompany, validate4Entry, validate4Renew
complementEndDateForDB, complementEndDateForDB, complementEndDateForDB, complementEndDateForDB, complementEndDateForDB, complementEndDateForDisp, complementEndDateForDisp, complementEndDateForDisp, complementEndDateForDisp, complementEndDateForDisp, entry, entryIgnoreAuthCompany, getDuplicationCheckCriteria, isPeriodOverlap, isPeriodOverlap, iterateLogic, makeValidateExecuter, remove, removeIgnoreAuthCompany, removeNotExcludeIgnoreAuthCompany, renew, renewIgnoreAuthCompany, select, selectContainsPeriod, selectIgnoreAuthCompany, selectLocales, selectLocalesIgnoreAuthCompany, toDisabled, toDisabledIgnoreAuthCompany, toEnabled, toEnabledIgnoreAuthCompany
_getFilterTargetFields, delete, deleteBatch, getCount, getCount, getCount, getCountBySql, getCountBySql, getCountBySql, getCriteria4Sql, getCriteria4SqlParmitCompany, getPkCriteria4Sql, getPkCriteria4SqlParmitCompany, insert, insertBatch, parameterCheck, selectBeanMapListBySql, selectBeanMapListBySqlFilter, selectBeanMapListBySqlFilter, selectBeanMapListBySqlFilterIgnoreAuthority, selectBeanMapListBySqlIgnoreAuthority, selectByPk, selectByPk4Update, selectByPkIgnoreAuth4Update, selectByPkIgnoreAuthority, selectBySql, selectBySql, selectBySqlFilter, selectBySqlFilter, selectBySqlIgnoreAuthority, selectBySqlIgnoreAuthority, selectList, selectListByFilter, selectListByKeywords, selectListByKeywordsFilter, selectListByKeywordsIgnoreAuthority, selectListBySqlFilter, selectListBySqlFilterIgnoreAuthority, selectListIgnoreAuthority, setFilterTargetField, update, update, updateBatch, updateBatch, updateBySqlFile, updateBySqlFile, updateBySqlFile, updateIncludesBatch, validAccessAuthority, validAccessAuthority
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
selectListByCompany, selectListByCompany, selectListByCompany, selectListByCompanyIgnoreAuthCompany, selectListByCompanyIgnoreAuthCompany, selectListByCompanyIgnoreAuthCompany, selectListByCompanyIgnoreAuthCompany4Filter, selectListByCompanyIgnoreAuthCompany4Filter, selectListByCompanyIgnoreAuthCompany4Filter, selectListWithDepartmentByKeywords, selectListWithDepartmentByKeywordsIgnoreAuthCompany
entry, entryIgnoreAuthCompany, getDtoClass, remove, removeIgnoreAuthCompany, renew, renewIgnoreAuthCompany, select, selectIgnoreAuthCompany, selectList, selectListIgnoreAuthCompany, selectListKeywordFilter, selectListKeywordFilterIgnoreAuthCompany, selectListWithReference, selectListWithReferenceIgnoreAuthCompany, selectLocales, selectLocalesIgnoreAuthCompany, toDisabled, toDisabledIgnoreAuthCompany, toEnabled, toEnabledIgnoreAuthCompany, validate4Entry, validate4Renew
protected static final String SELECT_LIST_LBR_KEYWORD_FILTER_BY_ATH_COMPANY
protected static final String SELECT_USER_FOR_DEPARTMENT
@Autowired public CompanySettingsHelper companySettingsHelper
@Autowired public CompanyManagerHelper companyManagerHelper
@Autowired public DateHelper dateHelper
public List<ImmUserManagerDto> selectLbrSubordinateUserList(LbrUserManager.LbrSubordinateUserCriteriaDto criteria, List<OrderDto> order)
指定したユーザを起点に、管理権限を保有する組織以下に所属するユーザを返却します。
指定可能な検索条件は下記の通りです。
DTOフィールド論理名 | DTOフィールド名 | 検索条件 | 省略時挙動 |
ユーザコード | userCd | ● | 不可 |
ロケールID | localeId | △ | ログインユーザのロケールで検索 |
権限基準日 | authCriteriaDate | △ | 現在時刻で検索 |
検索基準日 | searchCriteriaDate | △ | 現在時刻で検索 |
部下判定に主所属のみとするか | subAthMain | △ | 主/副所属で判定 |
検索基準日時点無効なユーザ/組織を含むかどうか | includeDisabled = false | △ | 検索基準日時点で無効なユーザ/組織を含めない |
会社コード | companyCd | ● | 不可 |
組織セットコード | departmentSetCd | ● | 不可 |
組織コード | departmentCd | △ | すべての組織が対象 |
権限コード | authorityCd | ● | 不可 |
selectLbrSubordinateUserList
インタフェース内 LbrUserManager
criteria
- 部下検索条件order
- ソート順public Map<String,Object> selectListKeywordFilterByAthCompany(LbrUserManager.LbrUserManagerDto criteria, List<OrderDto> order, KeywordsCriteriaDto keywordsCriteria, AuthorityCriteriaDto authCriteria)
会社/組織セットでユーザを絞り込みたい場合はこちらを使用してください。
SQL検索条件で絞り込んだのち、指定されたキーワード(KeywordsCriteriaDto
に設定
)でフィルタリングしさらに絞り込みます。
組織セットコードは強制的にProductLabormgrSettings.getDecisionAttachDepartmentSetCd(String)
が設定されます。
KeywordsCriteriaDto
の各プロパティの意味
プロパティ | 意味 | 説明 |
---|---|---|
keyrowds | 検索キーワード(配列) | すべてのキーワードが、いずれかのフィールドの値と部分一致する場合に行を返却 |
targets | 検索対象とするフィールド名(配列) | - |
limit | 返却する最大数 | 1以上を設定するとページング機能として動作します。(0以下はすべて返却) |
numberOfPage | 返却するページ番号 | - |
返却値(MAP)には以下の情報が格納されています。
key | value |
---|---|
resultList | List<Object> フィルタ結果(ページング結果) |
matchCount | Long フィルタ一致件数(ページング前の件数です) |
sqlTotal | Long フィルタリング前検索条件一致数 |
resultPageTotal | Long 総ページ数 |
resultPage | Long 返却ページ番号(KeywordsCriteriaDto.numberOfPage
省略時は先頭ページ、総ページ数より大きいページ番号は最終ページを返却) |
selectListKeywordFilterByAthCompany
インタフェース内 LbrUserManager
criteria
- 検索条件order
- ソート順keywordsCriteria
- キーワード条件authCriteria
- 認可判定条件public Map<String,Object> selectListKeywordFilterByAthCompanyIgnoreAuthCompany(LbrUserManager.LbrUserManagerDto criteria, List<OrderDto> order, KeywordsCriteriaDto keywordsCriteria)
会社/組織セットでユーザを絞り込みたい場合はこちらを使用してください。
SQL検索条件で絞り込んだのち、指定されたキーワード(KeywordsCriteriaDto
に設定
)でフィルタリングしさらに絞り込みます。
組織セットコードは強制的にProductLabormgrSettings.getDecisionAttachDepartmentSetCd(String)
が設定されます。
KeywordsCriteriaDto
の各プロパティの意味
プロパティ | 意味 | 説明 |
---|---|---|
keyrowds | 検索キーワード(配列) | すべてのキーワードが、いずれかのフィールドの値と部分一致する場合に行を返却 |
targets | 検索対象とするフィールド名(配列) | - |
limit | 返却する最大数 | 1以上を設定するとページング機能として動作します。(0以下はすべて返却) |
numberOfPage | 返却するページ番号 | - |
返却値(MAP)には以下の情報が格納されています。
key | value |
---|---|
resultList | List<Object> フィルタ結果(ページング結果) |
matchCount | Long フィルタ一致件数(ページング前の件数です) |
sqlTotal | Long フィルタリング前検索条件一致数 |
resultPageTotal | Long 総ページ数 |
resultPage | Long 返却ページ番号(KeywordsCriteriaDto.numberOfPage
省略時は先頭ページ、総ページ数より大きいページ番号は最終ページを返却) |
selectListKeywordFilterByAthCompanyIgnoreAuthCompany
インタフェース内 LbrUserManager
criteria
- 検索条件order
- ソート順keywordsCriteria
- キーワード条件protected Map<String,Object> getCriteria4SqlParmitCompany(KaidenDto criteria, AuthorityCriteriaDto authCriteria) throws KaidenHaventAuthorityToCompanyException
SQLファイル検索用のMAPです
criteria
- 検索条件authCriteria
- 認可判定条件KaidenHaventAuthorityToCompanyException
- 検索条件の会社コードに認可会社が含まれないpublic List<Map<String,Object>> selectLbrSubordinateUserListV02(LbrUserManager.LbrSubordinateUserCriteriaDto criteria, List<OrderDto> order)
指定したユーザを起点に、管理権限を保有する組織以下に所属するユーザを返却します。
selectLbrSubordinateUserListV02
インタフェース内 LbrUserManager
criteria
- 部下検索条件order
- ソート順protected List<Map<String,Object>> complementEndDateForDisp(List<Map<String,Object>> dataList, String[] params)
dataList
- 対象データparams
- 変換対象フィールド名配列public List<Map<String,Object>> selectLbrAuthorityDepartments(LbrUserManager.LbrSubordinateUserCriteriaDto criteria, List<OrderDto> order)
selectLbrAuthorityDepartments
インタフェース内 LbrUserManager
criteria
- 検索条件order
- ソート順public boolean isAuthForUserDepartment(LbrUserManager.LbrUserManagerDto criteria, List<OrderDto> order, AuthorityCriteriaDto authCriteria)
isAuthForUserDepartment
インタフェース内 LbrUserManager
criteria
- 検索条件order
- ソート順authCriteria
- 認可条件public List<ImmUserManagerDto> getUserListForDepartment(LbrUserManager.LbrUserManagerDto criteria, List<OrderDto> order, AuthorityCriteriaDto authCriteria)
getUserListForDepartment
インタフェース内 LbrUserManager
criteria
- 検索条件order
- ソート順authCriteria
- 認可条件Copyright © 2023 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.