Package de.xima.fc.dao.impl
Class LDAPZugriffDao
java.lang.Object
de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<LDAPZugriff,
,Long, IEntityContext> IGenericDao<LDAPZugriff>
,ILDAPZugriffDao
,IMandantDependentBaseDao<LDAPZugriff>
-
Field Summary
Fields inherited from class de.xima.cmn.dao.AbstractDao
entityClass, LOG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetByUUID
(IEntityContext ec, Mandant client, String uuid) Returns the LDAP connection with the given UUID stringgetByUUID
(IEntityContext ec, Mandant client, UUID uuid) Returns the LDAP connection with the given UUIDgetEntityRefs
(IEntityContext ec, LDAPZugriff ldapConnection) Returns a set of entities that reference the given entity and depend on it.protected IFCDaoActionHook<LDAPZugriff>
protected IFCDaoActionHook<LDAPZugriff>
Methods inherited from class de.xima.fc.dao.impl.GenericDao
read
Methods inherited from class de.xima.cmn.dao.AbstractDao
all, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, read
-
Constructor Details
-
LDAPZugriffDao
public LDAPZugriffDao()
-
-
Method Details
-
getByUUID
Description copied from interface:ILDAPZugriffDao
Returns the LDAP connection with the given UUID string- Specified by:
getByUUID
in interfaceILDAPZugriffDao
- Parameters:
ec
-IEntityContext
to useclient
-Mandant
context in which to look for LDAP connectionuuid
-String
UUID of the template- Returns:
LDAPZugriff
for the given UUID and client
-
getByUUID
Description copied from interface:ILDAPZugriffDao
Returns the LDAP connection with the given UUID- Specified by:
getByUUID
in interfaceILDAPZugriffDao
- Parameters:
ec
-IEntityContext
to useclient
-Mandant
context in which to look for LDAP connectionuuid
-UUID
UUID of the template- Returns:
LDAPZugriff
for the given UUID and client
-
getEntityRefs
public Set<de.xima.cmn.dao.interfaces.IEntity<Long>> getEntityRefs(IEntityContext ec, LDAPZugriff ldapConnection) Description copied from interface:IGenericDao
Returns a set of entities that reference the given entity and depend on it. An entity can usually not be deleted if it is still being referenced by and depended on by other entities.- Specified by:
getEntityRefs
in interfaceIGenericDao<LDAPZugriff>
- Overrides:
getEntityRefs
in classGenericDao<LDAPZugriff>
- Parameters:
ec
- entity context for database transactions.ldapConnection
- to get references for.- Returns:
- a set of entities that reference the given entity and depend on it.
-
getPostActionHook
- Overrides:
getPostActionHook
in classGenericDao<LDAPZugriff>
-
getPreActionHook
- Overrides:
getPreActionHook
in classGenericDao<LDAPZugriff>
-