Skip navigation links

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

E17787-02


com.sigmadynamics.sdo.interfaces.client
Interface ChoiceHistoryQueryInterface

All Known Subinterfaces:
ChoiceGroupInterface, ChoiceInterface
All Known Implementing Classes:
Choice, ChoiceGroup, SDChoice, SDChoiceGroup

public interface ChoiceHistoryQueryInterface

Interface implemented by Choice classes and Choice Group classes in generated code. These methods may be used for eligibility tests based on the quantity of Choice Events during recent history.

Since:
1.0

Method Summary
 int daysSinceLastEvent(java.lang.String eventName)
           
 int daysSinceLastEvent(java.lang.String eventName, java.lang.String channel)
           
 int numberOfEventsDuringLastNDays(java.lang.String eventName, int numberOfDays)
           
 int numberOfEventsDuringLastNDays(java.lang.String eventName, int numberOfDays, java.lang.String channel)
           

 

Method Detail

daysSinceLastEvent

int daysSinceLastEvent(java.lang.String eventName)
See Also:
ChoiceHistoryInterface.daysSinceLastEvent(ChoiceInterface, com.sigmadynamics.sdo.interfaces.ChoiceEventInterface, java.util.Set, long), ChoiceHistoryInterface.daysSinceLastEvent(ChoiceArrayInterface, com.sigmadynamics.sdo.interfaces.ChoiceEventInterface, java.util.Set, long)

daysSinceLastEvent

int daysSinceLastEvent(java.lang.String eventName,
                       java.lang.String channel)
See Also:
ChoiceHistoryInterface.daysSinceLastEvent(ChoiceInterface, String, com.sigmadynamics.sdo.interfaces.ChoiceEventInterface, java.util.Set, long), ChoiceHistoryInterface.daysSinceLastEvent(ChoiceArrayInterface, String, com.sigmadynamics.sdo.interfaces.ChoiceEventInterface, java.util.Set, long)

numberOfEventsDuringLastNDays

int numberOfEventsDuringLastNDays(java.lang.String eventName,
                                  int numberOfDays)
See Also:
ChoiceHistoryInterface.numberOfEventsDuringLastNDays(ChoiceInterface, int, com.sigmadynamics.sdo.interfaces.ChoiceEventInterface, java.util.Set, long), ChoiceHistoryInterface.numberOfEventsDuringLastNDays(ChoiceArrayInterface, int, com.sigmadynamics.sdo.interfaces.ChoiceEventInterface, java.util.Set, long)

numberOfEventsDuringLastNDays

int numberOfEventsDuringLastNDays(java.lang.String eventName,
                                  int numberOfDays,
                                  java.lang.String channel)
See Also:
ChoiceHistoryInterface.numberOfEventsDuringLastNDays(ChoiceInterface, int, String, com.sigmadynamics.sdo.interfaces.ChoiceEventInterface, java.util.Set, long), ChoiceHistoryInterface.numberOfEventsDuringLastNDays(ChoiceArrayInterface, int, String, com.sigmadynamics.sdo.interfaces.ChoiceEventInterface, java.util.Set, long)

Skip navigation links

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

E17787-02


Copyright © 2010, 2011, Oracle. All rights reserved.