Class ExampleServiceImpl
- java.lang.Object
-
- org.keycloak.examples.domainextension.spi.impl.ExampleServiceImpl
-
- All Implemented Interfaces:
ExampleService,Provider
public class ExampleServiceImpl extends Object implements ExampleService
-
-
Constructor Summary
Constructors Constructor Description ExampleServiceImpl(KeycloakSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompanyRepresentationaddCompany(CompanyRepresentation company)voidclose()CompanyRepresentationfindCompany(String id)protected RealmModelgetRealm()List<CompanyRepresentation>listCompanies()
-
-
-
Constructor Detail
-
ExampleServiceImpl
public ExampleServiceImpl(KeycloakSession session)
-
-
Method Detail
-
getRealm
protected RealmModel getRealm()
-
listCompanies
public List<CompanyRepresentation> listCompanies()
- Specified by:
listCompaniesin interfaceExampleService
-
findCompany
public CompanyRepresentation findCompany(String id)
- Specified by:
findCompanyin interfaceExampleService
-
addCompany
public CompanyRepresentation addCompany(CompanyRepresentation company)
- Specified by:
addCompanyin interfaceExampleService
-
-