Package org.cyclos.impl.utils
Class InternetAddressListHandlerImpl
- java.lang.Object
-
- org.cyclos.impl.AbstractServerComponent
-
- org.cyclos.impl.AbstractGlobalServerComponent
-
- org.cyclos.impl.BaseGlobalHandlerImpl
-
- org.cyclos.impl.utils.InternetAddressListHandlerImpl
-
- All Implemented Interfaces:
InternetAddressListHandler
@Component public class InternetAddressListHandlerImpl extends BaseGlobalHandlerImpl implements InternetAddressListHandler
Implementation forInternetAddressListHandler
-
-
Field Summary
-
Fields inherited from class org.cyclos.impl.AbstractGlobalServerComponent
rawEntityManagerHandler
-
Fields inherited from class org.cyclos.impl.AbstractServerComponent
accountHandler, configurationHandler, dataTranslationHandler, notificationHandler, profileFieldHandler, transactionHandler, translationHandler
-
-
Constructor Summary
Constructors Constructor Description InternetAddressListHandlerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisWhitelisted(InternetAddressList whiteList, String remoteAddress)Returns whether the given address is whitelisted in the given address list.InternetAddressListsetInternetAddressList(SimpleEntity entity, com.querydsl.core.types.Path<InternetAddressList> path, String newValue)Sets theInternetAddressListas string, awaking theInternetAddressResolutionPollingTaskwhen anything has changed-
Methods inherited from class org.cyclos.impl.AbstractGlobalServerComponent
getBaseEntityManagerHandler, getEntityManager
-
Methods inherited from class org.cyclos.impl.AbstractServerComponent
dataTranslationProxy, dataTranslationProxy, delete, detach, doDataTranslationProxy, find, flush, from, getApplicationContext, getFormatter, getFormatter, getFormatter, getLogger, getRemoteAddress, getSessionData, mailContentBuilder, message, message, persist, processBatch, processBatch, refresh, remove, selectFrom, subQuery, update
-
-
-
-
Method Detail
-
isWhitelisted
public boolean isWhitelisted(InternetAddressList whiteList, String remoteAddress)
Description copied from interface:InternetAddressListHandlerReturns whether the given address is whitelisted in the given address list. Returns true for null lists, assuming that any address is allowed.- Specified by:
isWhitelistedin interfaceInternetAddressListHandler
-
setInternetAddressList
public InternetAddressList setInternetAddressList(SimpleEntity entity, com.querydsl.core.types.Path<InternetAddressList> path, String newValue)
Description copied from interface:InternetAddressListHandlerSets theInternetAddressListas string, awaking theInternetAddressResolutionPollingTaskwhen anything has changed- Specified by:
setInternetAddressListin interfaceInternetAddressListHandler
-
-