net.sf.sail.common.apps.preview
Class PreviewSessionConfiguration

java.lang.Object
  extended by net.sf.sail.common.apps.preview.PreviewSessionConfiguration
All Implemented Interfaces:
SessionConfiguration

public class PreviewSessionConfiguration
extends java.lang.Object
implements SessionConfiguration

Parameters provider for a SessionContext of the given Curnit c with two a "preview" user.

Author:
turadg

Constructor Summary
PreviewSessionConfiguration(Curnit curnit)
           
PreviewSessionConfiguration(java.net.URL curnitArchiveUrl)
           
 
Method Summary
 java.util.Collection<UserUuid> getParticipants()
          Collection of User UUIDs of participants in session
 OfferingUuid getRunUuid()
           
 SessionDataService getSessionDataService()
           
 SessionUuid getSessionUuid()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PreviewSessionConfiguration

public PreviewSessionConfiguration(java.net.URL curnitArchiveUrl)
                            throws java.io.IOException
Parameters:
curnitArchiveUrl - URL of curnit to run
Throws:
java.io.IOException

PreviewSessionConfiguration

public PreviewSessionConfiguration(Curnit curnit)
                            throws java.io.IOException
Parameters:
curnit - Curnit to run
Throws:
java.io.IOException
Method Detail

getParticipants

public java.util.Collection<UserUuid> getParticipants()
Collection of User UUIDs of participants in session

Specified by:
getParticipants in interface SessionConfiguration

getSessionUuid

public SessionUuid getSessionUuid()
Specified by:
getSessionUuid in interface SessionConfiguration

getRunUuid

public OfferingUuid getRunUuid()

getSessionDataService

public SessionDataService getSessionDataService()
Specified by:
getSessionDataService in interface SessionConfiguration

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2004-2008 TELS Center. All Rights Reserved.