public class AppPortalRoleManagementListener
extends org.wso2.carbon.identity.role.v2.mgt.core.listener.AbstractRoleManagementListener
| Constructor and Description |
|---|
AppPortalRoleManagementListener(boolean isEnable)
Constructor for app portal role management listener with enable flag.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultOrderId() |
int |
getExecutionOrderId() |
boolean |
isEnable() |
void |
preDeleteRole(String roleId,
String tenantDomain) |
void |
preUpdatePermissionsForRole(String roleId,
List<org.wso2.carbon.identity.role.v2.mgt.core.model.Permission> addedPermissions,
List<org.wso2.carbon.identity.role.v2.mgt.core.model.Permission> deletedPermissions,
String audience,
String audienceId,
String tenantDomain) |
void |
preUpdateRoleName(String roleId,
String newRoleName,
String tenantDomain) |
void |
preUpdateUserListOfRole(String roleId,
List<String> newUserIDList,
List<String> deletedUserIDList,
String tenantDomain) |
postAddRole, postDeleteRole, postDeleteRolesByApplication, postGetGroupListOfRole, postGetIdpGroupListOfRole, postGetPermissionListOfRole, postGetRole, postGetRoleBasicInfo, postGetRoleIdListOfGroups, postGetRoleIdListOfIdpGroups, postGetRoleIdListOfUser, postGetRoleListOfGroups, postGetRoleListOfIdpGroups, postGetRoleListOfUser, postGetRoles, postGetRoles, postGetRolesCount, postGetUserListOfRole, postUpdateGroupListOfRole, postUpdateIdpGroupListOfRole, postUpdatePermissionsForRole, postUpdateRoleName, postUpdateUserListOfRole, preAddRole, preDeleteRolesByApplication, preGetGroupListOfRole, preGetIdpGroupListOfRole, preGetPermissionListOfRole, preGetRole, preGetRoleBasicInfo, preGetRoleIdListOfGroups, preGetRoleIdListOfIdpGroups, preGetRoleIdListOfUser, preGetRoleListOfGroups, preGetRoleListOfIdpGroups, preGetRoleListOfUser, preGetRoles, preGetRoles, preGetRolesCount, preGetUserListOfRole, preUpdateGroupListOfRole, preUpdateIdpGroupListOfRolepublic AppPortalRoleManagementListener(boolean isEnable)
isEnable - Enable flag.public int getExecutionOrderId()
public int getDefaultOrderId()
public boolean isEnable()
public void preUpdateRoleName(String roleId, String newRoleName, String tenantDomain) throws org.wso2.carbon.identity.role.v2.mgt.core.exception.IdentityRoleManagementException
preUpdateRoleName in interface org.wso2.carbon.identity.role.v2.mgt.core.listener.RoleManagementListenerpreUpdateRoleName in class org.wso2.carbon.identity.role.v2.mgt.core.listener.AbstractRoleManagementListenerorg.wso2.carbon.identity.role.v2.mgt.core.exception.IdentityRoleManagementExceptionpublic void preDeleteRole(String roleId, String tenantDomain) throws org.wso2.carbon.identity.role.v2.mgt.core.exception.IdentityRoleManagementException
preDeleteRole in interface org.wso2.carbon.identity.role.v2.mgt.core.listener.RoleManagementListenerpreDeleteRole in class org.wso2.carbon.identity.role.v2.mgt.core.listener.AbstractRoleManagementListenerorg.wso2.carbon.identity.role.v2.mgt.core.exception.IdentityRoleManagementExceptionpublic void preUpdateUserListOfRole(String roleId, List<String> newUserIDList, List<String> deletedUserIDList, String tenantDomain) throws org.wso2.carbon.identity.role.v2.mgt.core.exception.IdentityRoleManagementException
preUpdateUserListOfRole in interface org.wso2.carbon.identity.role.v2.mgt.core.listener.RoleManagementListenerpreUpdateUserListOfRole in class org.wso2.carbon.identity.role.v2.mgt.core.listener.AbstractRoleManagementListenerorg.wso2.carbon.identity.role.v2.mgt.core.exception.IdentityRoleManagementExceptionpublic void preUpdatePermissionsForRole(String roleId, List<org.wso2.carbon.identity.role.v2.mgt.core.model.Permission> addedPermissions, List<org.wso2.carbon.identity.role.v2.mgt.core.model.Permission> deletedPermissions, String audience, String audienceId, String tenantDomain) throws org.wso2.carbon.identity.role.v2.mgt.core.exception.IdentityRoleManagementException
preUpdatePermissionsForRole in interface org.wso2.carbon.identity.role.v2.mgt.core.listener.RoleManagementListenerpreUpdatePermissionsForRole in class org.wso2.carbon.identity.role.v2.mgt.core.listener.AbstractRoleManagementListenerorg.wso2.carbon.identity.role.v2.mgt.core.exception.IdentityRoleManagementExceptionCopyright © 2024 WSO2. All rights reserved.