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
readMethods 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, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, read
-
Constructor Details
-
LDAPAbfrageDao
public LDAPAbfrageDao()
-
-
Method Details
-
getByNameAndClient
- Specified by:
getByNameAndClientin interfaceILDAPAbfrageDao- Parameters:
ec-IEntityContextto usename- name of the LDAP queryman-Mandantcontext in which to look for LDAP query- Returns:
- The
LDAP querywith the given name, ornullwhen no such query exists.
-
getByUUID
Description copied from interface:ILDAPAbfrageDaoReturns the LDAP query with the given UUID string- Specified by:
getByUUIDin interfaceILDAPAbfrageDao- Parameters:
ec-IEntityContextto useclient-Mandantcontext in which to look for LDAP queryuuid-StringUUID of the template- Returns:
LDAPAbfragefor the given UUID and client
-
getByUUID
Description copied from interface:ILDAPAbfrageDaoReturns the LDAP query with the given UUID- Specified by:
getByUUIDin interfaceILDAPAbfrageDao- Parameters:
ec-IEntityContextto useclient-Mandantcontext in which to look for LDAP queryuuid-UUIDUUID of the template- Returns:
LDAPAbfragefor the given UUID and client
-
getEntityRefs
public Set<de.xima.cmn.dao.interfaces.IEntity<Long>> getEntityRefs(IEntityContext ec, LDAPAbfrage ldapQuery) Description copied from interface:IGenericDaoReturns 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:
getEntityRefsin interfaceIGenericDao<LDAPAbfrage>- Overrides:
getEntityRefsin 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:
getPostActionHookin classGenericDao<LDAPAbfrage>
-
getPreActionHook
- Overrides:
getPreActionHookin classGenericDao<LDAPAbfrage>
-