Class ConsoleRoleListener
java.lang.Object
org.wso2.carbon.identity.role.v2.mgt.core.listener.AbstractRoleManagementListener
org.wso2.identity.apps.common.listner.ConsoleRoleListener
- All Implemented Interfaces:
org.wso2.carbon.identity.role.v2.mgt.core.listener.RoleManagementListener
public class ConsoleRoleListener
extends org.wso2.carbon.identity.role.v2.mgt.core.listener.AbstractRoleManagementListener
Console role listener to populate organization console application roles permissions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanisEnable()voidpostGetPermissionListOfRole(List<org.wso2.carbon.identity.role.v2.mgt.core.model.Permission> permissionListOfRole, String roleId, String tenantDomain) voidvoidpostGetRole(org.wso2.carbon.identity.role.v2.mgt.core.model.Role role, String roleId, String tenantDomain) voidpreAddRole(String roleName, List<String> userList, List<String> groupList, List<org.wso2.carbon.identity.role.v2.mgt.core.model.Permission> permissions, String audience, String audienceId, String tenantDomain) voidpreUpdatePermissionsForRole(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) Methods inherited from class org.wso2.carbon.identity.role.v2.mgt.core.listener.AbstractRoleManagementListener
getExecutionOrderId, postAddRole, postDeleteRole, postDeleteRolesByApplication, postGetAssociatedApplicationIdsByRoleId, postGetGroupListOfRole, postGetIdpGroupListOfRole, postGetRoleBasicInfo, postGetRoleIdListOfGroups, postGetRoleIdListOfIdpGroups, postGetRoleIdListOfUser, postGetRoleListOfGroups, postGetRoleListOfIdpGroups, postGetRoleListOfUser, postGetRoles, postGetRoles, postGetRoles, postGetRoles, postGetRolesCount, postGetUserListOfRole, postUpdateGroupListOfRole, postUpdateIdpGroupListOfRole, postUpdatePermissionsForRole, postUpdateRoleName, postUpdateUserListOfRole, preDeleteRole, preDeleteRolesByApplication, preGetAssociatedApplicationIdsByRoleId, preGetGroupListOfRole, preGetIdpGroupListOfRole, preGetPermissionListOfRole, preGetRole, preGetRoleBasicInfo, preGetRoleIdListOfGroups, preGetRoleIdListOfIdpGroups, preGetRoleIdListOfUser, preGetRoleListOfGroups, preGetRoleListOfIdpGroups, preGetRoleListOfUser, preGetRoles, preGetRoles, preGetRoles, preGetRoles, preGetRolesCount, preGetUserListOfRole, preUpdateGroupListOfRole, preUpdateIdpGroupListOfRole, preUpdateRoleName, preUpdateUserListOfRoleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wso2.carbon.identity.role.v2.mgt.core.listener.RoleManagementListener
postGetRolesCount, preGetPermissionListOfRoles, preGetRolesCount
-
Constructor Details
-
ConsoleRoleListener
public ConsoleRoleListener()
-
-
Method Details
-
getDefaultOrderId
public int getDefaultOrderId() -
isEnable
public boolean isEnable() -
preAddRole
public void preAddRole(String roleName, List<String> userList, List<String> groupList, List<org.wso2.carbon.identity.role.v2.mgt.core.model.Permission> permissions, String audience, String audienceId, String tenantDomain) throws org.wso2.carbon.identity.role.v2.mgt.core.exception.IdentityRoleManagementException - Specified by:
preAddRolein interfaceorg.wso2.carbon.identity.role.v2.mgt.core.listener.RoleManagementListener- Overrides:
preAddRolein classorg.wso2.carbon.identity.role.v2.mgt.core.listener.AbstractRoleManagementListener- Throws:
org.wso2.carbon.identity.role.v2.mgt.core.exception.IdentityRoleManagementException
-
postGetRole
public void postGetRole(org.wso2.carbon.identity.role.v2.mgt.core.model.Role role, String roleId, String tenantDomain) throws org.wso2.carbon.identity.role.v2.mgt.core.exception.IdentityRoleManagementException - Specified by:
postGetRolein interfaceorg.wso2.carbon.identity.role.v2.mgt.core.listener.RoleManagementListener- Overrides:
postGetRolein classorg.wso2.carbon.identity.role.v2.mgt.core.listener.AbstractRoleManagementListener- Throws:
org.wso2.carbon.identity.role.v2.mgt.core.exception.IdentityRoleManagementException
-
postGetPermissionListOfRole
public void postGetPermissionListOfRole(List<org.wso2.carbon.identity.role.v2.mgt.core.model.Permission> permissionListOfRole, String roleId, String tenantDomain) throws org.wso2.carbon.identity.role.v2.mgt.core.exception.IdentityRoleManagementException - Specified by:
postGetPermissionListOfRolein interfaceorg.wso2.carbon.identity.role.v2.mgt.core.listener.RoleManagementListener- Overrides:
postGetPermissionListOfRolein classorg.wso2.carbon.identity.role.v2.mgt.core.listener.AbstractRoleManagementListener- Throws:
org.wso2.carbon.identity.role.v2.mgt.core.exception.IdentityRoleManagementException
-
postGetPermissionListOfRoles
public void postGetPermissionListOfRoles(List<String> permissions, List<String> roleIds, String tenantDomain) throws org.wso2.carbon.identity.role.v2.mgt.core.exception.IdentityRoleManagementException - Throws:
org.wso2.carbon.identity.role.v2.mgt.core.exception.IdentityRoleManagementException
-
preUpdatePermissionsForRole
public 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 - Specified by:
preUpdatePermissionsForRolein interfaceorg.wso2.carbon.identity.role.v2.mgt.core.listener.RoleManagementListener- Overrides:
preUpdatePermissionsForRolein classorg.wso2.carbon.identity.role.v2.mgt.core.listener.AbstractRoleManagementListener- Throws:
org.wso2.carbon.identity.role.v2.mgt.core.exception.IdentityRoleManagementException
-