Пример #1
0
 public void outboxCompleted() {
   cookies.add(OUTBOX_COMPLETED, Boolean.toString(true));
 }
Пример #2
0
 public boolean hasOutboxCompleted() {
   return Boolean.parseBoolean(cookies.getValue(OUTBOX_COMPLETED));
 }
Пример #3
0
 public String lastPlayedMessageId() {
   return cookies.getValue(LAST_PLAYED_VOICE_MESSAGE_ID);
 }
Пример #4
0
 public void lastPlayedMessageId(String messageId) {
   cookies.add(LAST_PLAYED_VOICE_MESSAGE_ID, messageId);
 }
Пример #5
0
 public OutboxContext(KooKooIVRContext kooKooIVRContext) {
   this.kooKooIVRContext = kooKooIVRContext;
   this.cookies = kooKooIVRContext.cookies();
   this.request = kooKooIVRContext.httpRequest();
   cookies.add(OUTBOX_COMPLETED, Boolean.toString(false));
 }