类 AbstractSmsPush

java.lang.Object
com.walker.push.AbstractPushObject<SmsMessage>
com.walker.push.support.AbstractSmsPush
所有已实现的接口:
ApplicationBeanInitialized, Pushable<SmsMessage>

public abstract class AbstractSmsPush extends AbstractPushObject<SmsMessage>
  • 构造器详细资料

    • AbstractSmsPush

      public AbstractSmsPush()
  • 方法详细资料

    • getNotificationChannel

      public NotificationChannel getNotificationChannel()
      从接口复制的说明: Pushable
      返回推送者支持的通道,只能一个。
      返回:
    • translateToTarget

      public List<SmsMessage> translateToTarget(Notification notification)
      从接口复制的说明: Pushable
      把通知对象转换成目标可用的数据对象
      返回:
      一个通知可能包含多个接收者,所以返回是个业务对象集合。
    • getUserMobile

      protected abstract String getUserMobile(String userId)
      获取用户手机号
      参数:
      userId -
      返回: