public class OpenIDAdminDAO extends AbstractDAO<OpenIDAdminDO>
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
registry
Constructor and Description |
---|
OpenIDAdminDAO(org.wso2.carbon.registry.core.Registry registry) |
Modifier and Type | Method and Description |
---|---|
void |
createOrUpdate(OpenIDAdminDO opAdmin)
Create or update the OpenID admin.
|
OpenIDAdminDO |
getOpenIDAdminDO()
Retrieve OpenID admin for a tenant.
|
protected OpenIDAdminDO |
resourceToObject(org.wso2.carbon.registry.core.Resource resource)
Converts a registry resource to an object.
|
getAllObjects, getAllObjectsWithPropertyValue, getFirstObjectWithPropertyValue
public OpenIDAdminDAO(org.wso2.carbon.registry.core.Registry registry)
registry
- registry instancepublic void createOrUpdate(OpenIDAdminDO opAdmin) throws org.wso2.carbon.identity.base.IdentityException
opAdmin
- openID adminorg.wso2.carbon.identity.base.IdentityException
- if error occurs while creating or updating the OpenID adminpublic OpenIDAdminDO getOpenIDAdminDO() throws org.wso2.carbon.identity.base.IdentityException
org.wso2.carbon.identity.base.IdentityException
- if error occurs while retrieving the OpenID adminprotected OpenIDAdminDO resourceToObject(org.wso2.carbon.registry.core.Resource resource)
resourceToObject
in class AbstractDAO<OpenIDAdminDO>
resource
- registry resourceCopyright © 2019 WSO2. All rights reserved.