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 void
clear(IEntityContext entityContext, Mandant man, Postfach postfach)
Deprecated.void
clear(IEntityContext entityContext, Postfach postfach)
String
findUniqueName(IEntityContext ec, Mandant client, String candidate, Postfach exclude)
Returns a name that is not taken by anotherPostfach
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 givenMandant
Postfach
getByUUID(IEntityContext ec, Mandant client, String uuid)
Returns the inbox with the given UUIDPostfach
getByUUID(IEntityContext ec, Mandant client, UUID uuid)
Returns the inbox with the given UUIDList<Postfach>
getPostfachByBenutzer(IEntityContext ec, Benutzer benutzer)
boolean
isNameExisiting(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
-EntityContext
the entity context in which the action is to be performedclient
-Mandant
whose inboxes should be looked for- Returns:
List
ofPostfach
s 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
-IEntityContext
to useclient
-Mandant
context in which to look for inboxuuid
-String
UUID of the inbox- Returns:
Postfach
for 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
-IEntityContext
to useclient
-Mandant
context in which to look for inboxuuid
-UUID
UUID of the inbox- Returns:
Postfach
for 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 anotherPostfach
in the given client other than the excluded inbox. An index will be added to the candidate if necessary.- Parameters:
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 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
-IEntityContext
to be usedclient
-Mandant
for which to check uniquenesscandidate
-String
inbox name to check- Returns:
- whether or not the given name is unique
- Since:
- 6.6.0
-
-