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 TypeMethodDescriptionvoid
clear
(UserContext uc, Mandant mandant, Postfach postfach) Deprecated.void
clear
(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 einerBenutzerGruppe
zugeordnet sind.getAllByClient
(UserContext uc, Mandant client) Returns all inboxes of the givenMandant
getBenutzergruppen
(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, update
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
Constructor Details
-
PostfachAPI
public PostfachAPI()
-
-
Method Details
-
clear
Deprecated.Method for emptying aPostfach
.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.mandant
-Mandant
the client where the data are associated.postfach
- that should be emptied.
-
clear
Method for emptying aPostfach
.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.postfach
-Postfach
that should be emptied.- Since:
- 4.6.1
-
getByVorgang
- Parameters:
uc
-UserContext
the user context in which the action is to be performed.vorgang
-Vorgang
from thePostfach
which is searched.- Returns:
Postfach
which was searched.
-
getBenutzergruppen
Method for determining all usergroups of aPostfach
.- Parameters:
uc
-UserContext
der Benutzerkontext in welchem die Aktion durchgeführt werden sollpostfach
-Postfach
dessen Gruppen gesucht sind- Returns:
List
e vonBenutzerGruppe
n @since 2.4.3
-
getByMandantAndName
- Parameters:
uc
-UserContext
the user context in which the action is to be performed.mandant
- whosePostfach
is to be determined.name
-String
the name ofPostfach
.- Returns:
Postfach
which was searched.- Since:
- 2.4.3
-
getAllByBenutzergruppe
Methode zum Ermitteln aller Postfächer, die einerBenutzerGruppe
zugeordnet sind.- Parameters:
uc
-UserContext
der Benutzerkontext in welchem die Aktion durchgeführt werden sollbenutzerGruppe
- deren Postfächer ermittelt werden sollen- Returns:
List
mitPostfach
@since 2.4.3
-
getAllByClient
Returns all inboxes of the givenMandant
- Parameters:
uc
-UserContext
the user 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
Returns the inbox with the given UUID- Parameters:
uc
-UserContext
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.x.x
-
getByUUID
Returns the inbox with the given UUID- Parameters:
uc
-UserContext
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.x.x
-
getAllByBenutzer
Deprecated.Methode zum Ermitteln aller Postfächer, die einem Nutzer zugewiesen sind.- Parameters:
uc
-UserContext
der Benutzerkontext in welchem die Aktion durchgeführt werden sollbenutzer
-Benutzer
dessenPostfach
er gesucht werden- Returns:
List
e vonPostfach
ern @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 dieExtendedPostfach
noch Informationen, welche Projekte ein konfiguriertes Postfach besitzen.- Parameters:
uc
-UserContext
der Benutzerkontext in welchem die Aktion durchgeführt werden sollbenutzer
-Benutzer
dessenPostfach
er gesucht werden- Returns:
List
e vonExtendedPostfach
@since 2.4.3
-
clear(UserContext, Postfach)