Class AppsCommonDataHolder
java.lang.Object
org.wso2.identity.apps.common.internal.AppsCommonDataHolder
This class holds the service instances consumed by the common component.
-
Method Summary
Modifier and TypeMethodDescriptionorg.wso2.carbon.identity.api.resource.collection.mgt.APIResourceCollectionManagerGet API resource collection manager.org.wso2.carbon.identity.api.resource.mgt.APIResourceManagerGet API resource manager.org.wso2.carbon.identity.application.mgt.ApplicationManagementServiceorg.wso2.carbon.identity.application.mgt.AuthorizedAPIManagementServiceReturns the authorized API management service.Get default applications.static AppsCommonDataHolderorg.wso2.carbon.identity.oauth.OAuthAdminServiceImplorg.wso2.carbon.identity.organization.management.application.OrgApplicationManagerGet organization management application manager.org.wso2.carbon.user.core.service.RealmServiceGet realm service.org.wso2.carbon.identity.role.v2.mgt.core.RoleManagementServiceGet role management service.booleanGet is organization management enabled.voidsetAPIResourceCollectionManager(org.wso2.carbon.identity.api.resource.collection.mgt.APIResourceCollectionManager apiResourceCollectionManager) Set API resource collection manager.voidsetAPIResourceManager(org.wso2.carbon.identity.api.resource.mgt.APIResourceManager apiResourceManager) Set API resource manager.voidsetApplicationManagementService(org.wso2.carbon.identity.application.mgt.ApplicationManagementService applicationManagementService) voidsetAuthorizedAPIManagementService(org.wso2.carbon.identity.application.mgt.AuthorizedAPIManagementService authorizedAPIManagementService) Sets the authorized API management service.voidsetDefaultApplications(Set<String> defaultApplications) Set default applications.voidsetOAuthAdminService(org.wso2.carbon.identity.oauth.OAuthAdminServiceImpl oAuthAdminService) voidsetOrganizationManagementEnabled(org.wso2.carbon.identity.organization.management.service.OrganizationManagementInitialize organizationManagementInitializeService) Set organization management enable/disable state.voidsetOrgApplicationManager(org.wso2.carbon.identity.organization.management.application.OrgApplicationManager orgApplicationManager) Set organization management application manager.voidsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService) Set realm service.voidsetRoleManagementServiceV2(org.wso2.carbon.identity.role.v2.mgt.core.RoleManagementService roleManagementService) Set role management service.voidsetSystemAppConsumerKeys(Set<String> systemAppConsumerKeys) Set system app consumer keys.voidsetSystemApplications(Set<String> systemApplications) Set system applications.
-
Method Details
-
getInstance
-
getApplicationManagementService
public org.wso2.carbon.identity.application.mgt.ApplicationManagementService getApplicationManagementService() -
setApplicationManagementService
public void setApplicationManagementService(org.wso2.carbon.identity.application.mgt.ApplicationManagementService applicationManagementService) -
getOAuthAdminService
public org.wso2.carbon.identity.oauth.OAuthAdminServiceImpl getOAuthAdminService() -
setOAuthAdminService
public void setOAuthAdminService(org.wso2.carbon.identity.oauth.OAuthAdminServiceImpl oAuthAdminService) -
getSystemAppConsumerKeys
-
setSystemAppConsumerKeys
Set system app consumer keys.- Parameters:
systemAppConsumerKeys- System app consumer keys.
-
getSystemApplications
-
setSystemApplications
Set system applications.- Parameters:
systemApplications- System applications.
-
isOrganizationManagementEnabled
public boolean isOrganizationManagementEnabled()Get is organization management enabled.- Returns:
- True if organization management is enabled.
-
setOrganizationManagementEnabled
public void setOrganizationManagementEnabled(org.wso2.carbon.identity.organization.management.service.OrganizationManagementInitialize organizationManagementInitializeService) Set organization management enable/disable state.- Parameters:
organizationManagementInitializeService- OrganizationManagementInitializeInstance.
-
getOrgApplicationManager
public org.wso2.carbon.identity.organization.management.application.OrgApplicationManager getOrgApplicationManager()Get organization management application manager.- Returns:
- OrgApplicationManager.
-
setOrgApplicationManager
public void setOrgApplicationManager(org.wso2.carbon.identity.organization.management.application.OrgApplicationManager orgApplicationManager) Set organization management application manager.- Parameters:
orgApplicationManager- OrgApplicationManager.
-
getRealmService
public org.wso2.carbon.user.core.service.RealmService getRealmService()Get realm service.- Returns:
- RealmService.
-
setRealmService
public void setRealmService(org.wso2.carbon.user.core.service.RealmService realmService) Set realm service.- Parameters:
realmService- RealmService.
-
setRoleManagementServiceV2
public void setRoleManagementServiceV2(org.wso2.carbon.identity.role.v2.mgt.core.RoleManagementService roleManagementService) Set role management service.- Parameters:
roleManagementService- RoleManagementService.
-
getRoleManagementServiceV2
public org.wso2.carbon.identity.role.v2.mgt.core.RoleManagementService getRoleManagementServiceV2()Get role management service.- Returns:
- RoleManagementService.
-
setAPIResourceManager
public void setAPIResourceManager(org.wso2.carbon.identity.api.resource.mgt.APIResourceManager apiResourceManager) Set API resource manager.- Parameters:
apiResourceManager- APIResourceManager.
-
getAPIResourceManager
public org.wso2.carbon.identity.api.resource.mgt.APIResourceManager getAPIResourceManager()Get API resource manager.- Returns:
- APIResourceManager.
-
setAPIResourceCollectionManager
public void setAPIResourceCollectionManager(org.wso2.carbon.identity.api.resource.collection.mgt.APIResourceCollectionManager apiResourceCollectionManager) Set API resource collection manager.- Parameters:
apiResourceCollectionManager- APIResourceCollectionManager.
-
getApiResourceCollectionManager
public org.wso2.carbon.identity.api.resource.collection.mgt.APIResourceCollectionManager getApiResourceCollectionManager()Get API resource collection manager.- Returns:
- apiResourceCollectionManager.
-
setDefaultApplications
Set default applications.- Parameters:
defaultApplications- Default applications.
-
getDefaultApplications
Get default applications.- Returns:
- Default applications.
-
getAuthorizedAPIManagementService
public org.wso2.carbon.identity.application.mgt.AuthorizedAPIManagementService getAuthorizedAPIManagementService()Returns the authorized API management service.- Returns:
- The authorized API management service.
-
setAuthorizedAPIManagementService
public void setAuthorizedAPIManagementService(org.wso2.carbon.identity.application.mgt.AuthorizedAPIManagementService authorizedAPIManagementService) Sets the authorized API management service.- Parameters:
authorizedAPIManagementService- The authorized API management service to set.
-