public class DependencyManagementServiceImpl extends Object implements DependencyManagementService
Constructor and Description |
---|
DependencyManagementServiceImpl() |
DependencyManagementServiceImpl(DependencyTracker tracker) |
Modifier and Type | Method and Description |
---|---|
ConfigurationObject[] |
getDependents(int tenantId,
int type,
String key)
Find all the configuration objects dependent on a specified configuration object.
|
ConfigurationObject[] |
getDependents(int type,
String key)
Find all the configuration objects dependent on a specified configuration object in the
super tenant super tenant SynapseConfiguration.
|
boolean |
hasActiveDependents(int tenantId,
int type,
String key)
Check whether the specified object has any dependent objects.
|
boolean |
hasActiveDependents(int type,
String key)
Check whether the specified object has any dependent objects in super tenant
SynapseConfiguration.
|
boolean |
hasDependents(int tenantId,
int type,
String key)
Check whether the specified object has any dependent objects.
|
boolean |
hasDependents(int type,
String key)
Check whether the specified object has any dependent objects in super tenant
SynapseConfiguration.
|
protected void |
setDependencyTracker(int tenantId,
DependencyTracker tracker) |
public DependencyManagementServiceImpl()
public DependencyManagementServiceImpl(DependencyTracker tracker)
protected void setDependencyTracker(int tenantId, DependencyTracker tracker)
public boolean hasDependents(int tenantId, int type, String key)
DependencyManagementService
hasDependents
in interface DependencyManagementService
tenantId
- Tenant IDtype
- Type of the objectkey
- Name (ID) of the objectpublic boolean hasActiveDependents(int tenantId, int type, String key)
DependencyManagementService
hasActiveDependents
in interface DependencyManagementService
tenantId
- Tenant IDtype
- Type of the objectkey
- Name (ID) of the objectpublic ConfigurationObject[] getDependents(int tenantId, int type, String key)
DependencyManagementService
getDependents
in interface DependencyManagementService
tenantId
- Tenant IDtype
- integer value representing the type of the objectkey
- name of the objectpublic boolean hasDependents(int type, String key)
DependencyManagementService
hasDependents
in interface DependencyManagementService
type
- Type of the objectkey
- Name (ID) of the objectpublic boolean hasActiveDependents(int type, String key)
DependencyManagementService
hasActiveDependents
in interface DependencyManagementService
type
- Type of the objectkey
- Name (ID) of the objectpublic ConfigurationObject[] getDependents(int type, String key)
DependencyManagementService
getDependents
in interface DependencyManagementService
type
- integer value representing the type of the objectkey
- name of the objectCopyright © 2021 WSO2. All rights reserved.