public interface ApplicationDAO
| Modifier and Type | Method and Description |
|---|---|
Application |
createApplication(Application application)
Creates an Application with the given instance.
|
void |
deleteApplication(String clientId)
Delete an Application
|
Application |
getApplication(String clientId)
Retrieve a given instance of an Application
|
Application |
updateApplication(String clientId,
Application application)
Updates an Application with the given instance.
|
@CheckForNull Application getApplication(String clientId) throws ClientRegistrationDAOException
clientId - The UUID that uniquely identifies an ApplicationApplication object or nullClientRegistrationDAOException - If failed to get application.@CheckForNull void deleteApplication(String clientId) throws ClientRegistrationDAOException
clientId - Client ID of the application.ClientRegistrationDAOException - If failed to get application.Application createApplication(Application application) throws ClientRegistrationDAOException
application - application object to be createdClientRegistrationDAOException - If failed to get applications.Application updateApplication(String clientId, Application application) throws ClientRegistrationDAOException
application - application object to be updatedClientRegistrationDAOException - If failed to get applications.Copyright © 2017 WSO2. All rights reserved.