Package de.xima.fc.handler.entity
Class UserEmailHandler
- java.lang.Object
-
- de.xima.fc.handler.AMSApiHandler
-
- de.xima.fc.handler.entity.GenericHandler
-
- de.xima.fc.handler.entity.UserEmailHandler
-
- All Implemented Interfaces:
IAPIHandler
,IGenericHandler
,IUserEmailHandler
,Serializable
public class UserEmailHandler extends GenericHandler implements IUserEmailHandler
Handler implementation for reading and writingUserEmail
entities.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.handler.entity.GenericHandler
LOG
-
-
Constructor Summary
Constructors Constructor Description UserEmailHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<UserEmail>
getByAddress(UserContext uc, String address)
Finds the user email entities with the given address.UserEmail
getByVerifiedAddress(UserContext uc, String address)
Finds the verified user email entity with the given address.-
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
-
getByAddress
public List<UserEmail> getByAddress(UserContext uc, String address)
Description copied from interface:IUserEmailHandler
Finds the user email entities with the given address. There may be multiple user email entities with the same address. But there can only be one verified user email with the given address.- Specified by:
getByAddress
in interfaceIUserEmailHandler
- Parameters:
uc
- user context for accessing the database.address
- of the user email entity (case irrelevant).- Returns:
- A list of user email entities with the given email address.
-
getByVerifiedAddress
public UserEmail getByVerifiedAddress(UserContext uc, String address)
Description copied from interface:IUserEmailHandler
Finds the verified user email entity with the given address. There may only be one verified user email entity with the given address.- Specified by:
getByVerifiedAddress
in interfaceIUserEmailHandler
- Parameters:
uc
- user context for accessing the database.address
- of the verified user email entity (case irrelevant).- Returns:
- The verified user email entity with the given email address or
null
.
-
-