|
AuthenticationService
v0.2.0
|
A repository that provides access to persisted applications and offers ways to create and delete them. More...
Public Member Functions | |
| Page< Application > | Find (int pageNumber=0, int maxResults=int.MaxValue) |
| Search for a certain number of applications. More... | |
| Application | GetByName (string name) |
| Fetches an application by its name. More... | |
| Application | GetByKey (string name) |
| Fetches an application by its key. More... | |
| Application | GetById (long id) |
| Fetches an application by its unique identifier. More... | |
| long | Save (String name, String key) |
| Persists an application. More... | |
| bool | Delete (long id) |
| Deletes a persisted application. More... | |
| Application | Create () |
| Deletes a persisted application. More... | |
A repository that provides access to persisted applications and offers ways to create and delete them.
| Application Joutsen.Authentication.ApplicationRepository.Create | ( | ) |
Deletes a persisted application.
Creates a new instance of an application.
Implemented in Joutsen.Authentication.Persistence.NHibernate.NHibernateApplicationRepository.
| bool Joutsen.Authentication.ApplicationRepository.Delete | ( | long | id | ) |
Deletes a persisted application.
| id | the unique identifier of the application |
Implemented in Joutsen.Authentication.Persistence.NHibernate.NHibernateApplicationRepository.
| Page<Application> Joutsen.Authentication.ApplicationRepository.Find | ( | int | pageNumber = 0, |
| int | maxResults = int.MaxValue |
||
| ) |
Search for a certain number of applications.
| pageNumber | identifies the page of matching applications to return |
| maxResults | the maximum number of applications to return. This also defines the page size. |
Implemented in Joutsen.Authentication.Persistence.NHibernate.NHibernateApplicationRepository.
| Application Joutsen.Authentication.ApplicationRepository.GetById | ( | long | id | ) |
Fetches an application by its unique identifier.
Implemented in Joutsen.Authentication.Persistence.NHibernate.NHibernateApplicationRepository.
| Application Joutsen.Authentication.ApplicationRepository.GetByKey | ( | string | name | ) |
Fetches an application by its key.
Implemented in Joutsen.Authentication.Persistence.NHibernate.NHibernateApplicationRepository.
| Application Joutsen.Authentication.ApplicationRepository.GetByName | ( | string | name | ) |
Fetches an application by its name.
Implemented in Joutsen.Authentication.Persistence.NHibernate.NHibernateApplicationRepository.
| long Joutsen.Authentication.ApplicationRepository.Save | ( | String | name, |
| String | key | ||
| ) |
Persists an application.
| name | the name of the application to persist |
| key | the identification key of the application |
Implemented in Joutsen.Authentication.Persistence.NHibernate.NHibernateApplicationRepository.
1.8.13