Package de.xima.fc.dao.interfaces
Interface IIndirectClientAuthorizationDao
- 
- All Superinterfaces:
- de.xima.cmn.dao.interfaces.IAbstractDao<IndirectClientAuthorization,Long,IEntityContext>,- IClientAuthorizationDao<IndirectClientAuthorization>,- IGenericDao<IndirectClientAuthorization>
 - All Known Implementing Classes:
- IndirectClientAuthorizationDao
 
 public interface IIndirectClientAuthorizationDao extends IClientAuthorizationDao<IndirectClientAuthorization> DAO for reading and writingIndirectClientAuthorizationentities.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StringfindUniqueName(IEntityContext ec, Mandant client, String candidate, IndirectClientAuthorization exclude)Returns a name that is not taken by anotherIndirectClientAuthorizationin the given client other than the excluded authorization.List<IndirectClientAuthorization>getByUserProfile(IEntityContext ec, org.pac4j.core.profile.UserProfile pac4jProfile)Returns all indirect client authorizations which match the profile based on the configured filter.booleanisNameExisting(IEntityContext ec, Mandant client, String name)Returns whether or not the given indirect client authorization name exists within the given client- 
Methods inherited from interface de.xima.cmn.dao.interfaces.IAbstractDaoall, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
 - 
Methods inherited from interface de.xima.fc.dao.interfaces.IClientAuthorizationDaogetAllByClient, getByUuid, getByUuid
 - 
Methods inherited from interface de.xima.fc.dao.interfaces.IGenericDaocount, findAll, findSingle, getEntityRefs, read
 
- 
 
- 
- 
- 
Method Detail- 
getByUserProfileList<IndirectClientAuthorization> getByUserProfile(IEntityContext ec, org.pac4j.core.profile.UserProfile pac4jProfile) Returns all indirect client authorizations which match the profile based on the configured filter.- Parameters:
- ec- entity context for database transactions
- pac4jProfile- to check for
- Returns:
- a list of indirect client authorizations which match the profile based on the configured filter.
 
 - 
findUniqueNameString findUniqueName(IEntityContext ec, Mandant client, String candidate, IndirectClientAuthorization exclude) Returns a name that is not taken by anotherIndirectClientAuthorizationin the given client other than the excluded authorization. An index will be added to the candidate if necessary.- Parameters:
- ec-- IEntityContextto be used
- client-- Mandantfor which a unique indirect client authorization name should be generated
- candidate-- Stringindirect client authorization name candiate to be made unique
- exclude-- IndirectClientAuthorizationindirect client authorization to be excluded from search
- Returns:
- unique indirect client authorization name in the context of the given client
 
 - 
isNameExistingboolean isNameExisting(IEntityContext ec, Mandant client, String name) Returns whether or not the given indirect client authorization name exists within the given client- Parameters:
- ec-- IEntityContextto be used
- client-- Mandantfor which to check uniqueness
- name-- Stringindirect client authorization name to check
- Returns:
- whether or not the given name is unique
 
 
- 
 
-