Package de.xima.fc.handler.entity
Class MandantMailDataHandler
- java.lang.Object
-
- de.xima.fc.handler.AMSApiHandler
-
- de.xima.fc.handler.entity.GenericHandler
-
- de.xima.fc.handler.entity.MandantMailDataHandler
-
- All Implemented Interfaces:
IAPIHandler
,IGenericHandler
,IMandantMailDataHandler
,Serializable
public class MandantMailDataHandler extends GenericHandler implements IMandantMailDataHandler
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.handler.entity.GenericHandler
LOG
-
-
Constructor Summary
Constructors Constructor Description MandantMailDataHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MandantMailData
getByClient(UserContext uc, Mandant mandant)
javax.mail.Address
getClientMailAddress(UserContext uc, Mandant client)
Gets the client mail address if one has been set.-
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
-
getByClient
public MandantMailData getByClient(UserContext uc, Mandant mandant)
- Specified by:
getByClient
in interfaceIMandantMailDataHandler
-
getClientMailAddress
public javax.mail.Address getClientMailAddress(UserContext uc, Mandant client)
Description copied from interface:IMandantMailDataHandler
Gets the client mail address if one has been set. Otherwise it returns the system mail address- Specified by:
getClientMailAddress
in interfaceIMandantMailDataHandler
- Parameters:
uc
-UserContext
the user context in which the action is to be performed.client
-Mandant
the client for which the mail address should be returned- Returns:
Address
mail address of the client or system mail address if no client mail address has been set
-
-