Package de.xima.fc.dao.impl
Class LDAPAbfrageDao
java.lang.Object
de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<LDAPAbfrage,
,Long, IEntityContext> IGenericDao<LDAPAbfrage>
,ILDAPAbfrageDao
,IMandantDependentBaseDao<LDAPAbfrage>
-
Field Summary
Fields inherited from class de.xima.cmn.dao.AbstractDao
entityClass, LOG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetByNameAndClient
(IEntityContext ec, String name, Mandant man) getByUUID
(IEntityContext ec, Mandant client, String uuid) Returns the LDAP query with the given UUID stringgetByUUID
(IEntityContext ec, Mandant client, UUID uuid) Returns the LDAP query with the given UUIDgetEntityRefs
(IEntityContext ec, LDAPAbfrage ldapQuery) Returns a set of entities that reference the given entity and depend on it.protected IFCDaoActionHook<LDAPAbfrage>
protected IFCDaoActionHook<LDAPAbfrage>
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
-
LDAPAbfrageDao
public LDAPAbfrageDao()
-
-
Method Details
-
getByNameAndClient
- 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
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
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
- Overrides:
getPostActionHook
in classGenericDao<LDAPAbfrage>
-
getPreActionHook
- Overrides:
getPreActionHook
in classGenericDao<LDAPAbfrage>
-