public class LaborSupAuthorizedAccessUserResolutionV02 extends AbstractLaborAuthorityResolution
管理者権限を利用します。
修飾子とタイプ | クラスと説明 |
---|---|
protected static class |
LaborSupAuthorizedAccessUserResolutionV02.AuthorizedUserInfoDtlDto
権限ユーザ情報明細DTO.
|
protected static class |
LaborSupAuthorizedAccessUserResolutionV02.AuthorizedUserInfoDto
権限ユーザ情報DTO.
|
AbstractLaborAuthorityResolution.Qualification
修飾子とタイプ | フィールドと説明 |
---|---|
protected Timestamp |
a2CriteriaDateFr
被管理者所属組織判定基準日.
|
protected Timestamp |
a2CriteriaDateTo
被管理者所属組織判定基準日.
|
protected static String |
AUTHORITY_CD_TYPE_ACTION
権限コードTYPE(アクション系).
|
protected static String |
AUTHORITY_CD_TYPE_MASTER_MAINTENANCE
権限コードTYPE(マスメン系).
|
protected static String |
AUTHORITY_CD_TYPE_REFER
権限コードTYPE(参照系).
|
protected String |
authorityCd
権限コード.
|
protected String |
authorityDepartmentCd
組織コード.
|
protected Boolean |
rootAdminFlag
ルート(組織セット)直下に権限を有するか否か.
|
protected Boolean |
subAthMain
trueを指定すると部下のユーザを主所属のみで判定(null/falseを指定すると主/副所属で判定).
|
static String |
SUBORDINATE_TYPE_LIMITED
部下TYPEE(限定的).
|
static String |
SUBORDINATE_TYPE_NORMAL
部下TYPEE(通常).
|
authCriteria
コンストラクタと説明 |
---|
LaborSupAuthorizedAccessUserResolutionV02(AuthorityCriteriaDto authCriteria,
String companyCd,
String departmentCd,
Timestamp a2CriteriaDate,
String authorityCd)
コンストラクタ.
|
LaborSupAuthorizedAccessUserResolutionV02(AuthorityCriteriaDto authCriteria,
String companyCd,
String departmentCd,
Timestamp a2CriteriaDate,
String authorityCd,
boolean isExcludePerson)
コンストラクタ.
|
LaborSupAuthorizedAccessUserResolutionV02(AuthorityCriteriaDto authCriteria,
String companyCd,
Timestamp a2CriteriaDate,
String authorityCd)
コンストラクタ.
|
LaborSupAuthorizedAccessUserResolutionV02(AuthorityCriteriaDto authCriteria,
String companyCd,
Timestamp a2CriteriaDate,
String authorityCd,
boolean isExcludePerson)
コンストラクタ.
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected String |
getAuthorityCdType(String p)
対象権限コードの権限判定パターンを返却.
|
boolean |
hasSupAuth(String targetUserCd,
Timestamp targetDate)
対象ユーザに対して管理者権限を保持しているかを判定.
|
boolean |
hasSupAuth(String targetUserCd,
Timestamp targetDateFrom,
Timestamp targetDateTo)
対象ユーザに対して管理者権限を保持しているかを判定.
|
getQualification, getUserListByPermitCompany, getUserListByPermitCompany
protected static final String AUTHORITY_CD_TYPE_ACTION
protected static final String AUTHORITY_CD_TYPE_REFER
protected static final String AUTHORITY_CD_TYPE_MASTER_MAINTENANCE
public static final String SUBORDINATE_TYPE_NORMAL
public static final String SUBORDINATE_TYPE_LIMITED
protected String authorityCd
protected String authorityDepartmentCd
protected Timestamp a2CriteriaDateFr
protected Timestamp a2CriteriaDateTo
protected Boolean subAthMain
protected Boolean rootAdminFlag
public LaborSupAuthorizedAccessUserResolutionV02(AuthorityCriteriaDto authCriteria, String companyCd, Timestamp a2CriteriaDate, String authorityCd, boolean isExcludePerson) throws KaidenHaventAuthorityException
authCriteria
- 認可判定条件companyCd
- 指定された会社コードに所属するユーザのみ許可します。a2CriteriaDate
- 被管理者所属組織判定基準日authorityCd
- 対象権限コードisExcludePerson
- trueを指定すると権限ユーザを返却する際に本人を除外(管理者の場合のみ有効)KaidenHaventAuthorityException
- 権限を保持保持していないpublic LaborSupAuthorizedAccessUserResolutionV02(AuthorityCriteriaDto authCriteria, String companyCd, Timestamp a2CriteriaDate, String authorityCd) throws KaidenHaventAuthorityException
authCriteria
- 認可判定条件companyCd
- 指定された会社コードに所属するユーザのみ許可します。a2CriteriaDate
- 被管理者所属組織判定基準日authorityCd
- 対象権限コードKaidenHaventAuthorityException
- 権限を保持保持していないpublic LaborSupAuthorizedAccessUserResolutionV02(AuthorityCriteriaDto authCriteria, String companyCd, String departmentCd, Timestamp a2CriteriaDate, String authorityCd, boolean isExcludePerson) throws KaidenHaventAuthorityException
authCriteria
- 認可判定条件companyCd
- 指定された会社コードに所属するユーザのみ許可します。departmentCd
- 指定された組織以下を対象に管理権限判定を実施しますa2CriteriaDate
- 被管理者所属組織判定基準日authorityCd
- 対象権限コードisExcludePerson
- trueを指定すると権限ユーザを返却する際に本人を除外(管理者の場合のみ有効)KaidenHaventAuthorityException
- 権限を保持保持していないpublic LaborSupAuthorizedAccessUserResolutionV02(AuthorityCriteriaDto authCriteria, String companyCd, String departmentCd, Timestamp a2CriteriaDate, String authorityCd) throws KaidenHaventAuthorityException
authCriteria
- 認可判定条件companyCd
- 指定された会社コードに所属するユーザのみ許可します。departmentCd
- 指定された組織以下を対象に管理権限判定を実施しますa2CriteriaDate
- 被管理者所属組織判定基準日authorityCd
- 対象権限コードKaidenHaventAuthorityException
- 権限を保持保持していないprotected String getAuthorityCdType(String p)
p
- 対象権限コードpublic boolean hasSupAuth(String targetUserCd, Timestamp targetDate)
targetUserCd
- 対象ユーザtargetDate
- 対象日Copyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.