Package de.xima.fc.dao.impl
Class LDAPAbfrageDao
- java.lang.Object
-
- de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
-
- de.xima.fc.dao.impl.GenericDao<E>
-
- de.xima.fc.dao.impl.MandantDependentBaseDao<LDAPAbfrage>
-
- de.xima.fc.dao.impl.LDAPAbfrageDao
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<LDAPAbfrage,Long,IEntityContext>
,IGenericDao<LDAPAbfrage>
,ILDAPAbfrageDao
,IMandantDependentBaseDao<LDAPAbfrage>
public class LDAPAbfrageDao extends MandantDependentBaseDao<LDAPAbfrage> implements ILDAPAbfrageDao
-
-
Constructor Summary
Constructors Constructor Description LDAPAbfrageDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LDAPAbfrage
getByNameAndClient(IEntityContext ec, String name, Mandant man)
LDAPAbfrage
getByUUID(IEntityContext ec, Mandant client, String uuid)
Returns the LDAP query with the given UUID stringLDAPAbfrage
getByUUID(IEntityContext ec, Mandant client, UUID uuid)
Returns the LDAP query with the given UUIDSet<de.xima.cmn.dao.interfaces.IEntity<Long>>
getEntityRefs(IEntityContext ec, LDAPAbfrage ldapQuery)
Returns a set of entities that reference the given entity and depend on it.protected IFCDaoActionHook<LDAPAbfrage>
getPostActionHook()
protected IFCDaoActionHook<LDAPAbfrage>
getPreActionHook()
-
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
-
-
-
-
Method Detail
-
getByNameAndClient
public LDAPAbfrage getByNameAndClient(IEntityContext ec, String name, Mandant man)
- Specified by:
getByNameAndClient
in interfaceILDAPAbfrageDao
- Parameters:
ec
-IEntityContext
to usename
- name of the LDAP queryman
-Mandant
context in which to look for LDAP query- Returns:
- The
LDAP query
with the given name, ornull
when no such query exists.
-
getByUUID
public LDAPAbfrage getByUUID(IEntityContext ec, Mandant client, String uuid)
Description copied from interface:ILDAPAbfrageDao
Returns the LDAP query with the given UUID string- Specified by:
getByUUID
in interfaceILDAPAbfrageDao
- Parameters:
ec
-IEntityContext
to useclient
-Mandant
context in which to look for LDAP queryuuid
-String
UUID of the template- Returns:
LDAPAbfrage
for the given UUID and client
-
getByUUID
public LDAPAbfrage getByUUID(IEntityContext ec, Mandant client, UUID uuid)
Description copied from interface:ILDAPAbfrageDao
Returns the LDAP query with the given UUID- Specified by:
getByUUID
in interfaceILDAPAbfrageDao
- Parameters:
ec
-IEntityContext
to useclient
-Mandant
context in which to look for LDAP queryuuid
-UUID
UUID of the template- Returns:
LDAPAbfrage
for the given UUID and client
-
getEntityRefs
public Set<de.xima.cmn.dao.interfaces.IEntity<Long>> getEntityRefs(IEntityContext ec, LDAPAbfrage ldapQuery)
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<LDAPAbfrage>
- Overrides:
getEntityRefs
in classGenericDao<LDAPAbfrage>
- Parameters:
ec
- entity context for database transactions.ldapQuery
- to get references for.- Returns:
- a set of entities that reference the given entity and depend on it.
-
getPostActionHook
protected IFCDaoActionHook<LDAPAbfrage> getPostActionHook()
- Overrides:
getPostActionHook
in classGenericDao<LDAPAbfrage>
-
getPreActionHook
protected IFCDaoActionHook<LDAPAbfrage> getPreActionHook()
- Overrides:
getPreActionHook
in classGenericDao<LDAPAbfrage>
-
-