Package org.cyclos.impl.messaging
Class SmsServiceImpl
- java.lang.Object
-
- org.cyclos.impl.AbstractServerComponent
-
- org.cyclos.impl.AbstractNetworkedServerComponent
-
- org.cyclos.impl.BaseServiceImpl
-
- org.cyclos.impl.messaging.SmsServiceImpl
-
- All Implemented Interfaces:
SmsServiceLocal,SmsService,Service
@Service public class SmsServiceImpl extends BaseServiceImpl implements SmsServiceLocal
Implementation forSmsService
-
-
Field Summary
-
Fields inherited from class org.cyclos.impl.AbstractNetworkedServerComponent
authHandler, conversionHandler, customFieldValueHandler, entityManagerHandler, groupsHandler, productsHandler, restBeanPropertyMapping, userLocatorHandler
-
Fields inherited from class org.cyclos.impl.AbstractServerComponent
accountHandler, configurationHandler, dataTranslationHandler, notificationHandler, profileFieldHandler, transactionHandler, translationHandler
-
-
Constructor Summary
Constructors Constructor Description SmsServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InboundSmsMessageVOgetInboundMessageData(Long smsMessageId)Returns the inbound sms message with the given idOutboundSmsMessageVOgetOutboundMessageData(Long smsMessageId)Returns the outbound sms message with the given idprotected voidregisterNetworkMappings(NetworkPathRegistry networkPathRegistry)Needs to be overridden by subclasses to register the path up to the networkPage<InboundSmsMessageVO>searchInboundMessages(InboundSmsQuery params)Searches for sms inbound messages according to the given queryPage<OutboundSmsMessageVO>searchOutboundMessages(OutboundSmsQuery params)Searches for sms outbound messages according to the given query-
Methods inherited from class org.cyclos.impl.BaseServiceImpl
initializeNetworkMappings
-
Methods inherited from class org.cyclos.impl.AbstractNetworkedServerComponent
canManage, checkManagesUser, checkPermission, checkRelatesToUser, checkValue, clearAlreadyValidated, getBaseEntityManagerHandler, getConfiguration, getLoggedBasicUser, getLoggedUser, getProducts, getTranslatedName, getTranslatedValue, hasPermission, hasValue, inSameNetwork, inSameNetworkOrGlobal, isAdmin, isAlreadyValidated, isBroker, isGlobalAdmin, isGlobalAdminInNetwork, isGuest, isLoggedIn, isMember, isMemberOnly, isNetworkAdmin, isOperator, isRelatedToUser, isSystem, isUserManager, isUserManagerOf, message, message, permission, permission, permissionOptionalValue, permissionOptionalValue, setAlreadyValidated, toDate, toDateTime, validate
-
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
-
getInboundMessageData
public InboundSmsMessageVO getInboundMessageData(Long smsMessageId) throws FrameworkException
Description copied from interface:SmsServiceReturns the inbound sms message with the given id- Specified by:
getInboundMessageDatain interfaceSmsService- Throws:
FrameworkException
-
getOutboundMessageData
public OutboundSmsMessageVO getOutboundMessageData(Long smsMessageId) throws FrameworkException
Description copied from interface:SmsServiceReturns the outbound sms message with the given id- Specified by:
getOutboundMessageDatain interfaceSmsService- Throws:
FrameworkException
-
searchInboundMessages
public Page<InboundSmsMessageVO> searchInboundMessages(InboundSmsQuery params)
Description copied from interface:SmsServiceSearches for sms inbound messages according to the given query- Specified by:
searchInboundMessagesin interfaceSmsService
-
searchOutboundMessages
public Page<OutboundSmsMessageVO> searchOutboundMessages(OutboundSmsQuery params)
Description copied from interface:SmsServiceSearches for sms outbound messages according to the given query- Specified by:
searchOutboundMessagesin interfaceSmsService
-
registerNetworkMappings
protected void registerNetworkMappings(NetworkPathRegistry networkPathRegistry)
Description copied from class:BaseServiceImplNeeds to be overridden by subclasses to register the path up to the network- Specified by:
registerNetworkMappingsin classBaseServiceImpl
-
-