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
|
read
all, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
public 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 IPostfachDao
public List<Postfach> getPostfachByBenutzer(IEntityContext ec, Benutzer benutzer)
getPostfachByBenutzer
in interface IPostfachDao
protected 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 IPostfachDao
public List<Postfach> getAllByClient(IEntityContext ec, Mandant client)
IPostfachDao
Mandant
getAllByClient
in interface IPostfachDao
ec
- EntityContext
the entity context in which the action is to be performedclient
- Mandant
whose inboxes should be looked forList
of Postfach
s of the given Mandant
public Postfach getByUUID(IEntityContext ec, Mandant client, String uuid)
IPostfachDao
getByUUID
in interface IPostfachDao
ec
- 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)
IPostfachDao
getByUUID
in interface IPostfachDao
ec
- 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)
IPostfachDao
Postfach
in the given client other than the excluded inbox. An
index will be added to the candidate if necessary.findUniqueName
in interface IPostfachDao
ec
- 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)
IPostfachDao
isNameExisiting
in interface IPostfachDao
ec
- IEntityContext
to be usedclient
- Mandant
for which to check uniquenessCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.