Class IXServerEventsContext

java.lang.Object
byps.BValueClass
de.elo.ix.client.ValueClass
de.elo.ix.client.IXServerEventsContext
All Implemented Interfaces:
java.io.Serializable

public class IXServerEventsContext
extends ValueClass
implements java.io.Serializable
Execution context of server events. An object of this class is passed to every server event and registered function. On the server side, it can be casted to IObjectFactory to retrieve helper objects for access checking, conversion of date values and numeric values, etc.
See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static IXServerEventsContext ADMIN_CONTEXT
    This constant can be used in plugins to obtain a ScriptObjectFactory for the internal Indexserver session.
    protected ClientInfo ci
    ClientInfo object including session ticket
    protected java.lang.String clientComputer
    Parameter clientComputer from login function.
    protected java.util.Map<java.lang.String,​java.lang.String> sessionOptions
    SessionOptions associated to this connection.
    protected java.lang.String url
    Indexserver URL.
    protected UserInfo user
    Current user

    Fields inherited from class byps.BValueClass

    bypsClient, changedMembers, dbHelper, FLAG_SEALED, flags
  • Constructor Summary

    Constructors 
    Constructor Description
    IXServerEventsContext()  
    IXServerEventsContext​(IXServerEventsContext rhs)  
  • Method Summary

    Modifier and Type Method Description
    ClientInfo getCi()  
    java.lang.String getClientComputer()  
    java.util.Map<java.lang.String,​java.lang.String> getSessionOptions()  
    java.lang.String getUrl()  
    UserInfo getUser()  
    void setCi​(ClientInfo ci)  
    void setClientComputer​(java.lang.String clientComputer)  
    void setSessionOptions​(java.util.Map<java.lang.String,​java.lang.String> sessionOptions)  
    void setUrl​(java.lang.String url)  
    void setUser​(UserInfo user)  
    java.lang.String toString()  

    Methods inherited from class byps.BValueClass

    getBypsClient, getChangedMembers, getDbHelper, isChangedMember, isSealed, seal, seal, setBypsClient, setChangedMember, setChangedMembers, setDbHelper

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait