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 MandantMailData
getByClient(UserContext uc, Mandant mandant)
Method deliver the mail data for the client.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.api.entity.AEntityAPI
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, 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
-UserContext
the user context in which the action is to be performed.mandant
-Mandant
the client where the data are associated.- Returns:
MandantMailData
the 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
-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
-
-