public interface RegistryService
extends org.wso2.carbon.registry.api.RegistryService
| Modifier and Type | Method and Description |
|---|---|
UserRegistry |
getConfigSystemRegistry()
Returns a registry to be used for system operations.
|
UserRegistry |
getConfigSystemRegistry(int tenantId)
Returns a registry to be used for system operations.
|
UserRegistry |
getConfigUserRegistry()
Creates a Registry instance for anonymous user from the configuration registry space.
|
UserRegistry |
getConfigUserRegistry(String userName)
Creates a Registry instance for the given user from the configuration registry space.
|
UserRegistry |
getConfigUserRegistry(String userName,
int tenantId)
Creates a Registry instance for the given user from the configuration registry space with the
tenant id.
|
UserRegistry |
getConfigUserRegistry(String userName,
String password)
Creates Registry instances for normal users from the configuration registry space.
|
UserRegistry |
getConfigUserRegistry(String userName,
String password,
int tenantId)
Creates Registry instances for normal users from the configuration registry space.
|
UserRegistry |
getGovernanceSystemRegistry()
Creates a Registry instance for the Governance space.
|
UserRegistry |
getGovernanceSystemRegistry(int tenantId)
Creates a Registry instance for the Governance space.
|
UserRegistry |
getGovernanceUserRegistry()
Creates a Registry instance for anonymous user from the Governance space.
|
UserRegistry |
getGovernanceUserRegistry(String userName)
Creates a Registry instance for anonymous user from the Governance space.
|
UserRegistry |
getGovernanceUserRegistry(String userName,
int tenantId)
Creates a Registry instance for anonymous user from the Governance space.
|
UserRegistry |
getGovernanceUserRegistry(String userName,
String password)
Creates a Registry instance for anonymous user from the Governance space.
|
UserRegistry |
getGovernanceUserRegistry(String userName,
String password,
int tenantId)
Creates a Registry instance for anonymous user from the Governance space.
|
UserRegistry |
getLocalRepository()
Returns a registry to be used for node-specific system operations.
|
UserRegistry |
getLocalRepository(int tenantId)
Returns a registry to be used for node-specific system operations.
|
UserRegistry |
getRegistry()
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
UserRegistry |
getRegistry(String userName)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
UserRegistry |
getRegistry(String userName,
int tenantId)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
UserRegistry |
getRegistry(String userName,
int tenantId,
String chroot)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
UserRegistry |
getRegistry(String userName,
String password)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
UserRegistry |
getRegistry(String userName,
String password,
int tenantId)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
UserRegistry |
getRegistry(String userName,
String password,
int tenantId,
String chroot)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
UserRegistry |
getSystemRegistry()
Deprecated.
|
UserRegistry |
getSystemRegistry(int tenantId)
Deprecated.
|
UserRegistry |
getSystemRegistry(int tenantId,
String chroot)
Deprecated.
|
org.wso2.carbon.user.core.UserRealm |
getUserRealm(int tenantId)
This will return a realm specific to the tenant.
|
UserRegistry |
getUserRegistry()
Deprecated.
|
UserRegistry |
getUserRegistry(String userName)
Deprecated.
|
UserRegistry |
getUserRegistry(String userName,
int tenantId)
Deprecated.
|
UserRegistry |
getUserRegistry(String userName,
int tenantId,
String chroot)
Deprecated.
|
UserRegistry |
getUserRegistry(String userName,
String password)
Deprecated.
|
UserRegistry |
getUserRegistry(String userName,
String password,
int tenantId)
Deprecated.
|
UserRegistry |
getUserRegistry(String userName,
String password,
int tenantId,
String chroot)
Deprecated.
|
@Deprecated UserRegistry getUserRegistry() throws RegistryException
RegistryException - if an error occurs@Deprecated UserRegistry getSystemRegistry() throws RegistryException
RegistryException - if an error occurs@Deprecated UserRegistry getSystemRegistry(int tenantId) throws RegistryException
tenantId - the tenant id of the system. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occurs@Deprecated UserRegistry getSystemRegistry(int tenantId, String chroot) throws RegistryException
tenantId - the tenant id of the system. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.chroot - to return a chrooted registry. The whole registry can be accessed by using
the chroot, '/', and a subset of the registry can be accessed by using a
chroot, '/x/y/z'. For example, the repository of the configuration local
registry can be obtained from '/_system/config/repository'.RegistryException - if an error occurs@Deprecated UserRegistry getUserRegistry(String userName, String password) throws RegistryException
userName - User name of the user.password - Password of the user.RegistryException - if an error occurs@Deprecated UserRegistry getUserRegistry(String userName) throws RegistryException
userName - User name of the user.RegistryException - if an error occurs@Deprecated UserRegistry getUserRegistry(String userName, String password, int tenantId) throws RegistryException
userName - User name of the user.password - Password of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occurs@Deprecated UserRegistry getUserRegistry(String userName, String password, int tenantId, String chroot) throws RegistryException
userName - User name of the user.password - Password of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.chroot - to return a chrooted registry. The whole registry can be accessed by using
the chroot, '/', and a subset of the registry can be accessed by using a
chroot, '/x/y/z'. For example, the repository of the configuration local
registry can be obtained from '/_system/config/repository'.RegistryException - if an error occurs@Deprecated UserRegistry getUserRegistry(String userName, int tenantId) throws RegistryException
userName - User name of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occurs@Deprecated UserRegistry getUserRegistry(String userName, int tenantId, String chroot) throws RegistryException
userName - User name of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.chroot - to return a chrooted registry. The whole registry can be accessed by using
the chroot, '/', and a subset of the registry can be accessed by using a
chroot, '/x/y/z'. For example, the repository of the configuration local
registry can be obtained from '/_system/config/repository'.RegistryException - if an error occursorg.wso2.carbon.user.core.UserRealm getUserRealm(int tenantId)
throws RegistryException
tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occursUserRegistry getRegistry() throws RegistryException
getRegistry in interface org.wso2.carbon.registry.api.RegistryServiceRegistryException - if an error occursUserRegistry getRegistry(String userName, String password) throws RegistryException
getRegistry in interface org.wso2.carbon.registry.api.RegistryServiceuserName - User name of the user.password - Password of the user.RegistryException - if an error occursUserRegistry getRegistry(String userName) throws RegistryException
getRegistry in interface org.wso2.carbon.registry.api.RegistryServiceuserName - User name of the user.RegistryException - if an error occursUserRegistry getRegistry(String userName, String password, int tenantId) throws RegistryException
getRegistry in interface org.wso2.carbon.registry.api.RegistryServiceuserName - User name of the user.password - Password of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occursUserRegistry getRegistry(String userName, String password, int tenantId, String chroot) throws RegistryException
getRegistry in interface org.wso2.carbon.registry.api.RegistryServiceuserName - User name of the user.password - Password of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.chroot - to return a chrooted registry. The whole registry can be accessed by using
the chroot, '/', and a subset of the registry can be accessed by using a
chroot, '/x/y/z'. For example, the repository of the configuration local
registry can be obtained from '/_system/config/repository'.RegistryException - if an error occursUserRegistry getRegistry(String userName, int tenantId) throws RegistryException
getRegistry in interface org.wso2.carbon.registry.api.RegistryServiceuserName - User name of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occursUserRegistry getRegistry(String userName, int tenantId, String chroot) throws RegistryException
getRegistry in interface org.wso2.carbon.registry.api.RegistryServiceuserName - User name of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.chroot - to return a chrooted registry. The whole registry can be accessed by using
the chroot, '/', and a subset of the registry can be accessed by using a
chroot, '/x/y/z'. For example, the repository of the configuration local
registry can be obtained from '/_system/config/repository'.RegistryException - if an error occursUserRegistry getLocalRepository() throws RegistryException
getLocalRepository in interface org.wso2.carbon.registry.api.RegistryServiceRegistryException - if an error occursUserRegistry getLocalRepository(int tenantId) throws RegistryException
getLocalRepository in interface org.wso2.carbon.registry.api.RegistryServicetenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occursUserRegistry getConfigSystemRegistry() throws RegistryException
getConfigSystemRegistry in interface org.wso2.carbon.registry.api.RegistryServiceRegistryException - if an error occursUserRegistry getConfigSystemRegistry(int tenantId) throws RegistryException
getConfigSystemRegistry in interface org.wso2.carbon.registry.api.RegistryServicetenantId - the tenant id of the system. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occursUserRegistry getConfigUserRegistry() throws RegistryException
getConfigUserRegistry in interface org.wso2.carbon.registry.api.RegistryServiceRegistryException - if an error occursUserRegistry getConfigUserRegistry(String userName, String password) throws RegistryException
getConfigUserRegistry in interface org.wso2.carbon.registry.api.RegistryServiceuserName - User name of the user.password - Password of the user.RegistryException - if an error occursUserRegistry getConfigUserRegistry(String userName) throws RegistryException
getConfigUserRegistry in interface org.wso2.carbon.registry.api.RegistryServiceuserName - User name of the user.RegistryException - if an error occursUserRegistry getConfigUserRegistry(String userName, int tenantId) throws RegistryException
getConfigUserRegistry in interface org.wso2.carbon.registry.api.RegistryServiceuserName - User name of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occursUserRegistry getConfigUserRegistry(String userName, String password, int tenantId) throws RegistryException
getConfigUserRegistry in interface org.wso2.carbon.registry.api.RegistryServiceuserName - User name of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.password - Password of the user.RegistryException - if an error occursUserRegistry getGovernanceSystemRegistry() throws RegistryException
getGovernanceSystemRegistry in interface org.wso2.carbon.registry.api.RegistryServiceRegistryException - if an error occursUserRegistry getGovernanceSystemRegistry(int tenantId) throws RegistryException
getGovernanceSystemRegistry in interface org.wso2.carbon.registry.api.RegistryServicetenantId - the tenant id of the system. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occursUserRegistry getGovernanceUserRegistry() throws RegistryException
getGovernanceUserRegistry in interface org.wso2.carbon.registry.api.RegistryServiceRegistryException - if an error occursUserRegistry getGovernanceUserRegistry(String userName, String password) throws RegistryException
getGovernanceUserRegistry in interface org.wso2.carbon.registry.api.RegistryServiceuserName - User name of the user.password - Password of the user.RegistryException - if an error occursUserRegistry getGovernanceUserRegistry(String userName) throws RegistryException
getGovernanceUserRegistry in interface org.wso2.carbon.registry.api.RegistryServiceuserName - User name of the user.RegistryException - if an error occursUserRegistry getGovernanceUserRegistry(String userName, String password, int tenantId) throws RegistryException
getGovernanceUserRegistry in interface org.wso2.carbon.registry.api.RegistryServiceuserName - User name of the user.password - Password of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occursUserRegistry getGovernanceUserRegistry(String userName, int tenantId) throws RegistryException
getGovernanceUserRegistry in interface org.wso2.carbon.registry.api.RegistryServiceuserName - User name of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occursCopyright © 2016 WSO2 Inc. All Rights Reserved.