public class PostfachDao extends MandantDependentBaseDao<Postfach> implements IPostfachDao
| Constructor and Description |
|---|
PostfachDao() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear(IEntityContext ec,
Mandant man,
Postfach postfach)
Deprecated.
|
void |
clear(IEntityContext ec,
Postfach postfach) |
String |
findUniqueName(IEntityContext ec,
Mandant client,
String candidate,
Postfach exclude)
Returns a name that is not taken by another
Postfach in the given client other than the excluded inbox. |
List<Postfach> |
getAllByBenutzergruppe(IEntityContext ec,
BenutzerGruppe benutzerGruppe) |
List<Postfach> |
getAllByClient(IEntityContext ec,
Mandant client)
Returns all inboxes of the given
Mandant |
Postfach |
getByUUID(IEntityContext ec,
Mandant client,
String uuid)
Returns the inbox with the given UUID
|
Postfach |
getByUUID(IEntityContext ec,
Mandant client,
UUID uuid)
Returns the inbox with the given UUID
|
Set<de.xima.cmn.dao.interfaces.IEntity<Long>> |
getEntityRefs(IEntityContext ec,
Postfach postfach) |
protected IFCDaoActionHook<Postfach> |
getPostActionHook() |
List<Postfach> |
getPostfachByBenutzer(IEntityContext ec,
Benutzer benutzer) |
protected IFCDaoActionHook<Postfach> |
getPreActionHook() |
boolean |
isNameExisiting(IEntityContext ec,
Mandant client,
String name)
Returns whether or not the given inbox name exists within the given client
|
readall, 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, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadall, 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, updatepublic Set<de.xima.cmn.dao.interfaces.IEntity<Long>> getEntityRefs(IEntityContext ec, Postfach postfach)
getEntityRefs in interface IGenericDao<Postfach>getEntityRefs in class GenericDao<Postfach>public void clear(IEntityContext ec, Postfach postfach)
clear in interface IPostfachDao@Deprecated public void clear(IEntityContext ec, Mandant man, Postfach postfach)
clear(IEntityContext, Postfach)clear in interface IPostfachDaopublic List<Postfach> getPostfachByBenutzer(IEntityContext ec, Benutzer benutzer)
getPostfachByBenutzer in interface IPostfachDaoprotected IFCDaoActionHook<Postfach> getPreActionHook()
getPreActionHook in class GenericDao<Postfach>protected IFCDaoActionHook<Postfach> getPostActionHook()
getPostActionHook in class GenericDao<Postfach>public List<Postfach> getAllByBenutzergruppe(IEntityContext ec, BenutzerGruppe benutzerGruppe)
getAllByBenutzergruppe in interface IPostfachDaopublic List<Postfach> getAllByClient(IEntityContext ec, Mandant client)
IPostfachDaoMandantgetAllByClient in interface IPostfachDaoec - EntityContext the entity context in which the action is to be performedclient - Mandant whose inboxes should be looked forList of Postfachs of the given Mandantpublic Postfach getByUUID(IEntityContext ec, Mandant client, String uuid)
IPostfachDaogetByUUID in interface IPostfachDaoec - IEntityContext to useclient - Mandant context in which to look for inboxuuid - String UUID of the inboxPostfach for the given UUID and clientpublic Postfach getByUUID(IEntityContext ec, Mandant client, UUID uuid)
IPostfachDaogetByUUID in interface IPostfachDaoec - IEntityContext to useclient - Mandant context in which to look for inboxuuid - UUID UUID of the inboxPostfach for the given UUID and clientpublic String findUniqueName(IEntityContext ec, Mandant client, String candidate, Postfach exclude)
IPostfachDaoPostfach in the given client other than the excluded inbox. An
index will be added to the candidate if necessary.findUniqueName in interface IPostfachDaoec - IEntityContext to be usedclient - Mandant for which a unique inbox name should be generatedcandidate - String inbox name candiate to be made uniqueexclude - Postfach inbox to be excluded from searchpublic boolean isNameExisiting(IEntityContext ec, Mandant client, String name)
IPostfachDaoisNameExisiting in interface IPostfachDaoec - IEntityContext to be usedclient - Mandant for which to check uniquenessCopyright © 2021 XIMA MEDIA GmbH. All rights reserved.