org.olat.modules.iq
Class IQPreviewSecurityCallback

java.lang.Object
  extended by org.olat.modules.iq.IQPreviewSecurityCallback
All Implemented Interfaces:
IQSecurityCallback

public class IQPreviewSecurityCallback
extends java.lang.Object
implements IQSecurityCallback

Initial Date: Mar 4, 2004

Author:
Mike Stock

Constructor Summary
IQPreviewSecurityCallback()
           
 
Method Summary
 int attemptsLeft(AssessmentInstance ai)
           
 boolean isAllowed(AssessmentInstance ai)
           
 boolean isPreview()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IQPreviewSecurityCallback

public IQPreviewSecurityCallback()
Method Detail

isAllowed

public boolean isAllowed(AssessmentInstance ai)
Specified by:
isAllowed in interface IQSecurityCallback

attemptsLeft

public int attemptsLeft(AssessmentInstance ai)
Specified by:
attemptsLeft in interface IQSecurityCallback

isPreview

public boolean isPreview()
Specified by:
isPreview in interface IQSecurityCallback