Ontimize 5.2072EN

com.ontimize.locator
Interface UtilReferenceLocator

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
ReferenceLocator, SecureReferenceLocator

public interface UtilReferenceLocator
extends java.rmi.Remote


Nested Class Summary
static interface UtilReferenceLocator.Message
           
 
Method Summary
 Entity getAttachmentEntity(int sessionId)
           
 java.util.List getConnectedSessionIds(int sessionid)
           
 java.util.List getConnectedUsers(int sessionId)
           
 java.util.List getLoadedEntities(int sessionId)
           
 java.lang.String getLoginEntityName(int sessionId)
          Get the name of the login entity (LoginEntity parameter)
 java.util.Vector getMessages(int sessionIdTo, int sessionId)
           
 java.lang.String getPasswordFromCert(java.lang.String certificate)
           
 Entity getPrintingTemplateEntity(int sessionId)
           
 RemoteOperationManager getRemoteOperationManager(int sessionId)
           
 java.lang.Object getRemoteReference(java.lang.String name, int sessionId)
          Gets a remote reference.
 java.util.TimeZone getServerTimeZone(int sessionId)
          Get the Server TimeZone.
 java.lang.String getToken()
           
 java.lang.String getUserFromCert(java.lang.String certificate)
           
 void removeEntity(java.lang.String entityName, int sessionId)
           
 InitialContext retrieveInitialContext(int sessionId, java.util.Hashtable params)
           
 void sendMessage(java.lang.String message, java.lang.String user, int sessionId)
           
 void sendMessage(UtilReferenceLocator.Message message, java.lang.String user, int sessionId)
           
 void sendMessageToAll(java.lang.String message, int sessionId)
           
 

Method Detail

getMessages

public java.util.Vector getMessages(int sessionIdTo,
                                    int sessionId)
                             throws java.lang.Exception
Throws:
java.lang.Exception

sendMessage

public void sendMessage(java.lang.String message,
                        java.lang.String user,
                        int sessionId)
                 throws java.lang.Exception
Throws:
java.lang.Exception

sendMessage

public void sendMessage(UtilReferenceLocator.Message message,
                        java.lang.String user,
                        int sessionId)
                 throws java.lang.Exception
Throws:
java.lang.Exception

sendMessageToAll

public void sendMessageToAll(java.lang.String message,
                             int sessionId)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getAttachmentEntity

public Entity getAttachmentEntity(int sessionId)
                           throws java.lang.Exception
Throws:
java.lang.Exception

getPrintingTemplateEntity

public Entity getPrintingTemplateEntity(int sessionId)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getConnectedUsers

public java.util.List getConnectedUsers(int sessionId)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getConnectedSessionIds

public java.util.List getConnectedSessionIds(int sessionid)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

getRemoteOperationManager

public RemoteOperationManager getRemoteOperationManager(int sessionId)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

getRemoteReference

public java.lang.Object getRemoteReference(java.lang.String name,
                                           int sessionId)
                                    throws java.lang.Exception
Gets a remote reference.

Parameters:
name -
sessionId -
Returns:
Throws:
java.lang.Exception
See Also:
{@link SecureReferenceLocator#configureRemoteReferences(String)}

removeEntity

public void removeEntity(java.lang.String entityName,
                         int sessionId)
                  throws java.lang.Exception
Throws:
java.lang.Exception

getLoadedEntities

public java.util.List getLoadedEntities(int sessionId)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getServerTimeZone

public java.util.TimeZone getServerTimeZone(int sessionId)
                                     throws java.lang.Exception
Get the Server TimeZone. If is local mode get the Application Time Zone

Parameters:
sessionId -
Returns:
Throws:
java.lang.Exception

getLoginEntityName

public java.lang.String getLoginEntityName(int sessionId)
                                    throws java.lang.Exception
Get the name of the login entity (LoginEntity parameter)

Parameters:
sessionId -
Returns:
The name of the Login Entity
Throws:
java.lang.Exception

getToken

public java.lang.String getToken()
                          throws java.lang.Exception
Throws:
java.lang.Exception

getUserFromCert

public java.lang.String getUserFromCert(java.lang.String certificate)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getPasswordFromCert

public java.lang.String getPasswordFromCert(java.lang.String certificate)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

retrieveInitialContext

public InitialContext retrieveInitialContext(int sessionId,
                                             java.util.Hashtable params)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

Ontimize