Package org.cyclos.security.messaging
Class SmsServiceSecurity
- java.lang.Object
-
- org.cyclos.impl.AbstractServerComponent
-
- org.cyclos.impl.AbstractNetworkedServerComponent
-
- org.cyclos.security.BaseServiceSecurity
-
- org.cyclos.security.messaging.SmsServiceSecurity
-
- All Implemented Interfaces:
SmsService,Service
@Security public class SmsServiceSecurity extends BaseServiceSecurity implements SmsService
Security layer 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 SmsServiceSecurity()
-
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 EntityCheck<?>resolveEntityCheck()Must be implemented in order to return theEntityCheckmanaged by this security component, or null if nonePage<InboundSmsMessageVO>searchInboundMessages(InboundSmsQuery query)Searches for sms inbound messages according to the given queryPage<OutboundSmsMessageVO>searchOutboundMessages(OutboundSmsQuery query)Searches for sms outbound messages according to the given query-
Methods inherited from class org.cyclos.security.BaseServiceSecurity
checkGuest, checkId, checkIds, checkInternalName, checkLoggedIn, checkManagesUser, checkRelatesToUser, checkScope, checkVO, checkVOs, doInitialize, getEntityCheckRegistry, getUser, initialize
-
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, toDate, toDateTime, validate
-
Methods inherited from class org.cyclos.impl.AbstractServerComponent
dataTranslationProxy, delete, detach, 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 query)
Description copied from interface:SmsServiceSearches for sms inbound messages according to the given query- Specified by:
searchInboundMessagesin interfaceSmsService
-
searchOutboundMessages
public Page<OutboundSmsMessageVO> searchOutboundMessages(OutboundSmsQuery query)
Description copied from interface:SmsServiceSearches for sms outbound messages according to the given query- Specified by:
searchOutboundMessagesin interfaceSmsService
-
resolveEntityCheck
protected EntityCheck<?> resolveEntityCheck()
Description copied from class:BaseServiceSecurityMust be implemented in order to return theEntityCheckmanaged by this security component, or null if none- Specified by:
resolveEntityCheckin classBaseServiceSecurity
-
-