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 MandantMailDatagetByClient(UserContext uc, Mandant mandant)javax.mail.AddressgetClientMailAddress(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, getEntityRefs, 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, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getByClient
public MandantMailData getByClient(UserContext uc, Mandant mandant)
- Specified by:
 getByClientin interfaceIMandantMailDataHandler
 
- 
getClientMailAddress
public javax.mail.Address getClientMailAddress(UserContext uc, Mandant client)
Description copied from interface:IMandantMailDataHandlerGets the client mail address if one has been set. Otherwise it returns the system mail address- Specified by:
 getClientMailAddressin interfaceIMandantMailDataHandler- Parameters:
 uc-UserContextthe user context in which the action is to be performed.client-Mandantthe client for which the mail address should be returned- Returns:
 Addressmail address of the client or system mail address if no client mail address has been set
 
 - 
 
 -