Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions
11g Release 1 (11.1.1)

E17787-01


com.sigmadynamics.sdo.interfaces
Interface ChoiceHistoryInterface


public interface ChoiceHistoryInterface

Implemented by classes supporting Choice History queries. For example, Choice classes and Choice Group classes.

Since:
1.0

Method Summary
 void addEvent(int choiceId, int choiceEventId, int channelId, int timestamp)
           
 int daysSinceLastEvent(ChoiceArrayInterface choices, ChoiceEventInterface choiceEvent, java.util.Set sessionKeys, long time)
           
 int daysSinceLastEvent(ChoiceArrayInterface choices, java.lang.String channel, ChoiceEventInterface choiceEvent, java.util.Set sessionKeys, long time)
           
 int daysSinceLastEvent(ChoiceInterface choice, ChoiceEventInterface choiceEvent, java.util.Set sessionKeys, long time)
          Calculates for the current session the number of days since this event last occurred.
 int daysSinceLastEvent(ChoiceInterface choice, java.lang.String channel, ChoiceEventInterface choiceEvent, java.util.Set sessionKeys, long time)
           
 int numberOfEventsDuringLastNDays(ChoiceArrayInterface choices, int numberOfDays, ChoiceEventInterface choiceEvent, java.util.Set sessionKeys, long time)
           
 int numberOfEventsDuringLastNDays(ChoiceArrayInterface choices, int numberOfDays, java.lang.String channel, ChoiceEventInterface choiceEvent, java.util.Set sessionKeys, long time)
           
 int numberOfEventsDuringLastNDays(ChoiceInterface choice, int numberOfDays, ChoiceEventInterface choiceEvent, java.util.Set sessionKeys, long time)
           
 int numberOfEventsDuringLastNDays(ChoiceInterface choice, int numberOfDays, java.lang.String channel, ChoiceEventInterface choiceEvent, java.util.Set sessionKeys, long time)
           

 

Method Detail

daysSinceLastEvent

int daysSinceLastEvent(ChoiceInterface choice,
                       ChoiceEventInterface choiceEvent,
                       java.util.Set sessionKeys,
                       long time)
Calculates for the current session the number of days since this event last occurred.
Parameters:
sessionKeys - session().getKeys()

daysSinceLastEvent

int daysSinceLastEvent(ChoiceArrayInterface choices,
                       ChoiceEventInterface choiceEvent,
                       java.util.Set sessionKeys,
                       long time)
Parameters:
sessionKeys - session().getKeys()

daysSinceLastEvent

int daysSinceLastEvent(ChoiceInterface choice,
                       java.lang.String channel,
                       ChoiceEventInterface choiceEvent,
                       java.util.Set sessionKeys,
                       long time)
Parameters:
sessionKeys - session().getKeys()

daysSinceLastEvent

int daysSinceLastEvent(ChoiceArrayInterface choices,
                       java.lang.String channel,
                       ChoiceEventInterface choiceEvent,
                       java.util.Set sessionKeys,
                       long time)
Parameters:
sessionKeys - session().getKeys()

numberOfEventsDuringLastNDays

int numberOfEventsDuringLastNDays(ChoiceInterface choice,
                                  int numberOfDays,
                                  ChoiceEventInterface choiceEvent,
                                  java.util.Set sessionKeys,
                                  long time)
Parameters:
sessionKeys - session().getKeys()

numberOfEventsDuringLastNDays

int numberOfEventsDuringLastNDays(ChoiceArrayInterface choices,
                                  int numberOfDays,
                                  ChoiceEventInterface choiceEvent,
                                  java.util.Set sessionKeys,
                                  long time)
Parameters:
sessionKeys - session().getKeys()

numberOfEventsDuringLastNDays

int numberOfEventsDuringLastNDays(ChoiceInterface choice,
                                  int numberOfDays,
                                  java.lang.String channel,
                                  ChoiceEventInterface choiceEvent,
                                  java.util.Set sessionKeys,
                                  long time)
Parameters:
sessionKeys - session().getKeys()

numberOfEventsDuringLastNDays

int numberOfEventsDuringLastNDays(ChoiceArrayInterface choices,
                                  int numberOfDays,
                                  java.lang.String channel,
                                  ChoiceEventInterface choiceEvent,
                                  java.util.Set sessionKeys,
                                  long time)
Parameters:
sessionKeys - session().getKeys()

addEvent

void addEvent(int choiceId,
              int choiceEventId,
              int channelId,
              int timestamp)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions
11g Release 1 (11.1.1)

E17787-01


Copyright © 2010, Oracle. All rights reserved.