Package de.xima.fc.api.entity
Class MandantMailDataAPI
-
Field Summary
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetByClient
(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, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
Constructor Details
-
MandantMailDataAPI
public MandantMailDataAPI()
-
-
Method Details
-
getByClient
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
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
-