Package de.xima.fc.api.entity
Class MandantMailDataAPI
- java.lang.Object
 - 
- de.xima.fc.api.ASubAPI
 - 
- de.xima.fc.api.entity.AEntityAPI<MandantMailData>
 - 
- de.xima.fc.api.entity.MandantMailDataAPI
 
 
 
 
- 
public class MandantMailDataAPI extends AEntityAPI<MandantMailData>
 
- 
- 
Field Summary
- 
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass 
 - 
 
- 
Constructor Summary
Constructors Constructor Description MandantMailDataAPI() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MandantMailDatagetByClient(UserContext uc, Mandant mandant)Method deliver the mail data for the client.javax.mail.AddressgetClientMailAddress(UserContext uc, Mandant client)Gets the client mail address if one has been set.- 
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 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getByClient
public MandantMailData getByClient(UserContext uc, Mandant mandant)
Method deliver the mail data for the client.- Parameters:
 uc-UserContextthe user context in which the action is to be performed.mandant-Mandantthe client where the data are associated.- Returns:
 MandantMailDatathe mail data for the client.
 
- 
getClientMailAddress
public javax.mail.Address getClientMailAddress(UserContext uc, Mandant client)
Gets the client mail address if one has been set. Otherwise it returns the system mail address- 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
 
 - 
 
 -