Package de.xima.fc.dao.interfaces
Interface IPostfachDao
-
- All Superinterfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<Postfach,Long,IEntityContext>,IGenericDao<Postfach>,IMandantDependentBaseDao<Postfach>
- All Known Implementing Classes:
PostfachDao
public interface IPostfachDao extends IMandantDependentBaseDao<Postfach>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidclear(IEntityContext entityContext, Mandant man, Postfach postfach)Deprecated.voidclear(IEntityContext entityContext, Postfach postfach)StringfindUniqueName(IEntityContext ec, Mandant client, String candidate, Postfach exclude)Returns a name that is not taken by anotherPostfachin 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 givenMandantPostfachgetByUUID(IEntityContext ec, Mandant client, String uuid)Returns the inbox with the given UUIDPostfachgetByUUID(IEntityContext ec, Mandant client, UUID uuid)Returns the inbox with the given UUIDList<Postfach>getPostfachByBenutzer(IEntityContext ec, Benutzer benutzer)booleanisNameExisiting(IEntityContext ec, Mandant client, String name)Returns whether or not the given inbox name exists within the given client-
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
getEntityRefs, read
-
-
-
-
Method Detail
-
clear
@Deprecated void clear(IEntityContext entityContext, Mandant man, Postfach postfach)
Deprecated.
-
clear
void clear(IEntityContext entityContext, Postfach postfach)
-
getPostfachByBenutzer
List<Postfach> getPostfachByBenutzer(IEntityContext ec, Benutzer benutzer)
-
getAllByBenutzergruppe
List<Postfach> getAllByBenutzergruppe(IEntityContext ec, BenutzerGruppe benutzerGruppe)
-
getAllByClient
List<Postfach> getAllByClient(IEntityContext ec, Mandant client)
Returns all inboxes of the givenMandant- Parameters:
ec-EntityContextthe entity context in which the action is to be performedclient-Mandantwhose inboxes should be looked for- Returns:
ListofPostfachs of the givenMandant- Since:
- 6.0.0
-
getByUUID
Postfach getByUUID(IEntityContext ec, Mandant client, String uuid)
Returns the inbox with the given UUID- Parameters:
ec-IEntityContextto useclient-Mandantcontext in which to look for inboxuuid-StringUUID of the inbox- Returns:
Postfachfor the given UUID and client- Since:
- 6.1.0
-
getByUUID
Postfach getByUUID(IEntityContext ec, Mandant client, UUID uuid)
Returns the inbox with the given UUID- Parameters:
ec-IEntityContextto useclient-Mandantcontext in which to look for inboxuuid-UUIDUUID of the inbox- Returns:
Postfachfor the given UUID and client- Since:
- 6.1.0
-
findUniqueName
String findUniqueName(IEntityContext ec, Mandant client, String candidate, Postfach exclude)
Returns a name that is not taken by anotherPostfachin the given client other than the excluded inbox. An index will be added to the candidate if necessary.- Parameters:
ec-IEntityContextto be usedclient-Mandantfor which a unique inbox name should be generatedcandidate-Stringinbox name candiate to be made uniqueexclude-Postfachinbox to be excluded from search- Returns:
- unique inbox name in the context of the given client
- Since:
- 6.6.0
-
isNameExisiting
boolean isNameExisiting(IEntityContext ec, Mandant client, String name)
Returns whether or not the given inbox name exists within the given client- Parameters:
ec-IEntityContextto be usedclient-Mandantfor which to check uniquenessname- An inbox name to check- Returns:
- whether or not the given name is unique
- Since:
- 6.6.0
-
-