Package de.xima.fc.api.entity
Class PostfachAPI
- java.lang.Object
-
- de.xima.fc.api.ASubAPI
-
- de.xima.fc.api.entity.AEntityAPI<Postfach>
-
- de.xima.fc.api.entity.PostfachAPI
-
public class PostfachAPI extends AEntityAPI<Postfach>
API class for manipulation ofPostfachentities.- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
-
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass
-
-
Constructor Summary
Constructors Constructor Description PostfachAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclear(UserContext uc, Mandant mandant, Postfach postfach)Deprecated.voidclear(UserContext uc, Postfach postfach)Method for emptying aPostfach.List<Postfach>getAllByBenutzer(UserContext uc, Benutzer benutzer)Deprecated.List<Postfach>getAllByBenutzergruppe(UserContext uc, BenutzerGruppe benutzerGruppe)Methode zum Ermitteln aller Postfächer, die einerBenutzerGruppezugeordnet sind.List<Postfach>getAllByClient(UserContext uc, Mandant client)Returns all inboxes of the givenMandantList<BenutzerGruppe>getBenutzergruppen(UserContext uc, Postfach postfach)Method for determining all usergroups of aPostfach.PostfachgetByMandantAndName(UserContext uc, Mandant mandant, String name)PostfachgetByUUID(UserContext uc, Mandant client, String uuid)Returns the inbox with the given UUIDPostfachgetByUUID(UserContext uc, Mandant client, UUID uuid)Returns the inbox with the given UUIDPostfachgetByVorgang(UserContext uc, Vorgang vorgang)List<ExtendedPostfach>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, getPagedResult, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update
-
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
-
-
-
Method Detail
-
clear
@Deprecated public void clear(UserContext uc, Mandant mandant, Postfach postfach)
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
public void clear(UserContext uc, Postfach postfach)
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
public Postfach getByVorgang(UserContext uc, Vorgang vorgang)
- Parameters:
uc-UserContextthe user context in which the action is to be performed.vorgang-Vorgangfrom thePostfachwhich is searched.- Returns:
Postfachwhich was searched.
-
getBenutzergruppen
public List<BenutzerGruppe> getBenutzergruppen(UserContext uc, Postfach postfach)
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
public Postfach getByMandantAndName(UserContext uc, Mandant mandant, String name)
- 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
public List<Postfach> getAllByBenutzergruppe(UserContext uc, BenutzerGruppe benutzerGruppe)
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
public List<Postfach> getAllByClient(UserContext uc, Mandant client)
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
public Postfach getByUUID(UserContext uc, Mandant client, String uuid)
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
public Postfach getByUUID(UserContext uc, Mandant client, UUID uuid)
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 public List<Postfach> getAllByBenutzer(UserContext uc, Benutzer benutzer)
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
-
-