Package de.xima.fc.api.entity
Class PostfachAPI
API class for manipulation of
Postfach entities.- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear(UserContext uc, Mandant mandant, Postfach postfach) Deprecated.voidclear(UserContext uc, Postfach postfach) Method for emptying aPostfach.getAllByBenutzer(UserContext uc, Benutzer benutzer) Deprecated.getAllByBenutzergruppe(UserContext uc, BenutzerGruppe benutzerGruppe) Methode zum Ermitteln aller Postfächer, die einerBenutzerGruppezugeordnet sind.getAllByClient(UserContext uc, Mandant client) Returns all inboxes of the givenMandantgetBenutzergruppen(UserContext uc, Postfach postfach) Method for determining all usergroups of aPostfach.getByMandantAndName(UserContext uc, Mandant mandant, String name) getByUUID(UserContext uc, Mandant client, String uuid) Returns the inbox with the given UUIDgetByUUID(UserContext uc, Mandant client, UUID uuid) Returns the inbox with the given UUIDgetByVorgang(UserContext uc, Vorgang vorgang) getExtendedPostfaecherByBenutzer(UserContext uc, Benutzer benutzer) Deprecated.Methods inherited from class de.xima.fc.api.entity.AEntityAPI
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, updateMethods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
Constructor Details
-
PostfachAPI
public PostfachAPI()
-
-
Method Details
-
clear
Deprecated.Method for emptying aPostfach.- Parameters:
uc-UserContextthe user context in which the action is to be performed.mandant-Mandantthe client where the data are associated.postfach- that should be emptied.
-
clear
Method for emptying aPostfach.- Parameters:
uc-UserContextthe user context in which the action is to be performed.postfach-Postfachthat should be emptied.- Since:
- 4.6.1
-
getByVorgang
- Parameters:
uc-UserContextthe user context in which the action is to be performed.vorgang-Vorgangfrom thePostfachwhich is searched.- Returns:
Postfachwhich was searched.
-
getBenutzergruppen
Method for determining all usergroups of aPostfach.- Parameters:
uc-UserContextder Benutzerkontext in welchem die Aktion durchgeführt werden sollpostfach-Postfachdessen Gruppen gesucht sind- Returns:
Liste vonBenutzerGruppen @since 2.4.3
-
getByMandantAndName
- Parameters:
uc-UserContextthe user context in which the action is to be performed.mandant- whosePostfachis to be determined.name-Stringthe name ofPostfach.- Returns:
Postfachwhich was searched.- Since:
- 2.4.3
-
getAllByBenutzergruppe
Methode zum Ermitteln aller Postfächer, die einerBenutzerGruppezugeordnet sind.- Parameters:
uc-UserContextder Benutzerkontext in welchem die Aktion durchgeführt werden sollbenutzerGruppe- deren Postfächer ermittelt werden sollen- Returns:
ListmitPostfach@since 2.4.3
-
getAllByClient
Returns all inboxes of the givenMandant- Parameters:
uc-UserContextthe user 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
Returns the inbox with the given UUID- Parameters:
uc-UserContextto useclient-Mandantcontext in which to look for inboxuuid-StringUUID of the inbox- Returns:
Postfachfor the given UUID and client- Since:
- 6.x.x
-
getByUUID
Returns the inbox with the given UUID- Parameters:
uc-UserContextto useclient-Mandantcontext in which to look for inboxuuid-UUIDUUID of the inbox- Returns:
Postfachfor the given UUID and client- Since:
- 6.x.x
-
getAllByBenutzer
Deprecated.Methode zum Ermitteln aller Postfächer, die einem Nutzer zugewiesen sind.- Parameters:
uc-UserContextder Benutzerkontext in welchem die Aktion durchgeführt werden sollbenutzer-BenutzerdessenPostfacher gesucht werden- Returns:
Liste vonPostfachern @since 2.4.3
-
getExtendedPostfaecherByBenutzer
@Deprecated public List<ExtendedPostfach> getExtendedPostfaecherByBenutzer(UserContext uc, Benutzer benutzer) Deprecated.Methode zum Ermitteln aller Postfächer, die einem Nutzer zugewiesen sind. Zusätzlich enthält dieExtendedPostfachnoch Informationen, welche Projekte ein konfiguriertes Postfach besitzen.- Parameters:
uc-UserContextder Benutzerkontext in welchem die Aktion durchgeführt werden sollbenutzer-BenutzerdessenPostfacher gesucht werden- Returns:
Liste vonExtendedPostfach@since 2.4.3
-
clear(UserContext, Postfach)