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 anotherSystemAuthenticatorwithin the system.getByCallback(IEntityContext ec, UUID callbackUuid) Finds the system authenticator by its callback UUID.getByUuid(IEntityContext ec, UUID uuid) booleanisNameExisiting(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, updateMethods 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
nullwhen 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
nullwhen no such authenticator exist.
-
findUniqueName
Returns a name that is not taken by anotherSystemAuthenticatorwithin the system. An index will be added to the candidate if necessary.- Parameters:
ec-IEntityContextto be usedcandidate-Stringauthenticator name candidate to be made uniqueexclude-SystemAuthenticatorclient 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-IEntityContextto be usedname-Stringauthenticator name to check- Returns:
- whether or not the given name is unique
- Since:
- 8.0.0
-