Package de.xima.fc.dao.interfaces
Interface ISystemAuthenticatorDao
- All Superinterfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<SystemAuthenticator,
,Long, IEntityContext> IGenericDao<SystemAuthenticator>
,IMandantDependentBaseDao<SystemAuthenticator>
- All Known Implementing Classes:
SystemAuthenticatorDao
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionfindUniqueName
(IEntityContext ec, String candidate, SystemAuthenticator exclude) Returns a name that is not taken by anotherSystemAuthenticator
within the system.getByCallback
(IEntityContext ec, UUID callbackUuid) Finds the system authenticator by its callback UUID.getByUuid
(IEntityContext ec, UUID uuid) boolean
isNameExisiting
(IEntityContext ec, String name) Returns whether or not the given system authenticator name exists within systemMethods inherited from interface de.xima.cmn.dao.interfaces.IAbstractDao
all, 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.IGenericDao
count, findAll, findSingle, getEntityRefs, read
-
Method Details
-
getByUuid
- Parameters:
ec
- Current entity context for accessing the database.uuid
- UUID of the authenticator to retrieve.- Returns:
- The authenticator with the given UUID, or
null
when no such authenticator exist.
-
getByCallback
Finds the system authenticator by its callback UUID.- Parameters:
ec
- Current entity context for accessing the database.callbackUuid
- Callback UUID of the authenticator to retrieve.- Returns:
- The authenticator with the given callback UUID, or
null
when no such authenticator exist.
-
findUniqueName
Returns a name that is not taken by anotherSystemAuthenticator
within the system. An index will be added to the candidate if necessary.- Parameters:
ec
-IEntityContext
to be usedcandidate
-String
authenticator name candidate to be made uniqueexclude
-SystemAuthenticator
client resource to be excluded from the search. May benull
.- Returns:
- unique system authenticator name within the system
- Since:
- 8.0.0
-
isNameExisiting
Returns whether or not the given system authenticator name exists within system- Parameters:
ec
-IEntityContext
to be usedname
-String
authenticator name to check- Returns:
- whether or not the given name is unique
- Since:
- 8.0.0
-