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.AbstractRoleManagementListenerConsole role listener to populate organization console application roles permissions.
-
-
Constructor Summary
Constructors Constructor Description ConsoleRoleListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDefaultOrderId()booleanisEnable()voidpostGetPermissionListOfRole(List<org.wso2.carbon.identity.role.v2.mgt.core.model.Permission> permissionListOfRole, String roleId, String tenantDomain)voidpostGetPermissionListOfRoles(List<String> permissions, List<String> roleIds, String tenantDomain)voidpostGetRole(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, preUpdateUserListOfRole
-
-
-
-
Method Detail
-
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
-
-