Package de.xima.fc.handler.entity
Class PostfachHandler
- java.lang.Object
-
- de.xima.fc.handler.AMSApiHandler
-
- de.xima.fc.handler.entity.GenericHandler
-
- de.xima.fc.handler.entity.PostfachHandler
-
- All Implemented Interfaces:
IAPIHandler
,IGenericHandler
,IPostfachHandler
,Serializable
public class PostfachHandler extends GenericHandler implements IPostfachHandler
The Class PostfachHandler.- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.handler.entity.GenericHandler
LOG
-
-
Constructor Summary
Constructors Constructor Description PostfachHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear(UserContext uc, Postfach postfach)
List<Postfach>
getAllByBenutzergruppe(UserContext uc, BenutzerGruppe benutzerGruppe)
List<Postfach>
getAllByClient(UserContext uc, Mandant client)
Returns all inboxes of the givenMandant
List<BenutzerGruppe>
getBenutzergruppen(UserContext uc, Postfach postfach)
Postfach
getByUUID(UserContext uc, Mandant client, String uuid)
Returns the inbox with the given UUIDPostfach
getByUUID(UserContext uc, Mandant client, UUID uuid)
Returns the inbox with the given UUIDPostfach
getByVorgang(UserContext uc, Vorgang vorgang)
List<ExtendedPostfach>
getExtendedPostfaecherByBenutzer(UserContext uc, Benutzer benutzer)
Postfach
getPostfachByMandant(UserContext uc, Mandant mandant, String name)
Gets the Postfach by.List<Postfach>
getPostfaecherByBenutzer(UserContext uc, Benutzer benutzer)
-
Methods inherited from class de.xima.fc.handler.entity.GenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, serializableList, update, update
-
Methods inherited from class de.xima.fc.handler.AMSApiHandler
getName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName
-
Methods inherited from interface de.xima.fc.handler.interfaces.entity.IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
-
-
-
-
Method Detail
-
clear
public void clear(UserContext uc, Postfach postfach)
- Specified by:
clear
in interfaceIPostfachHandler
-
getByVorgang
public Postfach getByVorgang(UserContext uc, Vorgang vorgang)
- Specified by:
getByVorgang
in interfaceIPostfachHandler
-
getBenutzergruppen
public List<BenutzerGruppe> getBenutzergruppen(UserContext uc, Postfach postfach)
- Specified by:
getBenutzergruppen
in interfaceIPostfachHandler
-
getPostfachByMandant
public Postfach getPostfachByMandant(UserContext uc, Mandant mandant, String name)
Gets the Postfach by.- Specified by:
getPostfachByMandant
in interfaceIPostfachHandler
- Parameters:
uc
- theUserContext
to usemandant
-Mandant
der Mandantenname
- the name- Returns:
- the postfach by
-
getPostfaecherByBenutzer
public List<Postfach> getPostfaecherByBenutzer(UserContext uc, Benutzer benutzer)
- Specified by:
getPostfaecherByBenutzer
in interfaceIPostfachHandler
-
getExtendedPostfaecherByBenutzer
public List<ExtendedPostfach> getExtendedPostfaecherByBenutzer(UserContext uc, Benutzer benutzer)
- Specified by:
getExtendedPostfaecherByBenutzer
in interfaceIPostfachHandler
-
getAllByBenutzergruppe
public List<Postfach> getAllByBenutzergruppe(UserContext uc, BenutzerGruppe benutzerGruppe)
- Specified by:
getAllByBenutzergruppe
in interfaceIPostfachHandler
-
getAllByClient
public List<Postfach> getAllByClient(UserContext uc, Mandant client)
Description copied from interface:IPostfachHandler
Returns all inboxes of the givenMandant
- Specified by:
getAllByClient
in interfaceIPostfachHandler
- 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
-
getByUUID
public Postfach getByUUID(UserContext uc, Mandant client, String uuid)
Description copied from interface:IPostfachHandler
Returns the inbox with the given UUID- Specified by:
getByUUID
in interfaceIPostfachHandler
- 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
-
getByUUID
public Postfach getByUUID(UserContext uc, Mandant client, UUID uuid)
Description copied from interface:IPostfachHandler
Returns the inbox with the given UUID- Specified by:
getByUUID
in interfaceIPostfachHandler
- 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
-
-