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
public interface ISystemAuthenticatorDao extends IMandantDependentBaseDao<SystemAuthenticator>
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringfindUniqueName(IEntityContext ec, String candidate, SystemAuthenticator exclude)Returns a name that is not taken by anotherSystemAuthenticatorwithin the system.SystemAuthenticatorgetByCallback(IEntityContext ec, UUID callbackUuid)Finds the system authenticator by its callback UUID.SystemAuthenticatorgetByUuid(IEntityContext ec, UUID uuid)booleanisNameExisiting(IEntityContext ec, String name)Returns whether or not the given system authenticator name exists within system-
Methods 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 Detail
-
getByUuid
@Nullable SystemAuthenticator getByUuid(IEntityContext ec, UUID uuid)
- 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
@Nullable SystemAuthenticator getByCallback(IEntityContext ec, UUID callbackUuid)
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
String findUniqueName(IEntityContext ec, String candidate, SystemAuthenticator exclude)
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
boolean isNameExisiting(IEntityContext ec, String name)
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
-
-