org.eaglei.ui.gwt.instance.server
Class InstanceServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
              extended by com.google.gwt.user.server.rpc.RemoteServiceServlet
                  extended by org.eaglei.ui.gwt.instance.server.InstanceServlet
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, InstanceServiceRemote

public class InstanceServlet
extends com.google.gwt.user.server.rpc.RemoteServiceServlet
implements InstanceServiceRemote

Implementation of InstanceService.

See Also:
Serialized Form

Field Summary
protected static java.lang.String READ_VIEW
           
 
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
perThreadRequest, perThreadResponse
 
Constructor Summary
InstanceServlet()
           
 
Method Summary
 boolean contactMessage(java.lang.String sessionID, org.eaglei.model.EIURI instanceID, java.lang.String label, boolean test_mode, java.lang.String from_name, java.lang.String from_email, java.lang.String subject, java.lang.String message)
           
 void destroy()
           
 org.eaglei.model.EIInstance getEIInstance(java.lang.String sessionID, org.eaglei.model.EIURI instanceID)
           
 java.util.Map<org.eaglei.model.EIURI,java.lang.String> getToolTips(java.lang.String sessionID, org.eaglei.model.EIURI instanceID)
           
 void init()
           
 java.util.List<org.eaglei.model.EIInstanceMinimal> listReferencingResources(java.lang.String sessionID, java.lang.String userURI, org.eaglei.model.EIURI resourceUri, org.eaglei.search.provider.AuthSearchRequest queryRequest, boolean strictOwnerFilter)
           
 org.eaglei.model.EIInstance setReferencingResources(java.lang.String sessionID, org.eaglei.model.EIInstance instance)
           
 
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
 
Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

READ_VIEW

protected static final java.lang.String READ_VIEW
See Also:
Constant Field Values
Constructor Detail

InstanceServlet

public InstanceServlet()
Method Detail

init

public void init()
Overrides:
init in class javax.servlet.GenericServlet

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet

getToolTips

public java.util.Map<org.eaglei.model.EIURI,java.lang.String> getToolTips(java.lang.String sessionID,
                                                                          org.eaglei.model.EIURI instanceID)
                                                                   throws InvalidSessionIdException,
                                                                          LoggedException
Specified by:
getToolTips in interface InstanceServiceRemote
Throws:
InvalidSessionIdException
LoggedException

getEIInstance

public org.eaglei.model.EIInstance getEIInstance(java.lang.String sessionID,
                                                 org.eaglei.model.EIURI instanceID)
                                          throws InvalidSessionIdException,
                                                 LoggedException
Specified by:
getEIInstance in interface InstanceServiceRemote
Throws:
InvalidSessionIdException
LoggedException

contactMessage

public boolean contactMessage(java.lang.String sessionID,
                              org.eaglei.model.EIURI instanceID,
                              java.lang.String label,
                              boolean test_mode,
                              java.lang.String from_name,
                              java.lang.String from_email,
                              java.lang.String subject,
                              java.lang.String message)
                       throws InvalidSessionIdException,
                              LoggedException
Specified by:
contactMessage in interface InstanceServiceRemote
Throws:
InvalidSessionIdException
LoggedException

setReferencingResources

public org.eaglei.model.EIInstance setReferencingResources(java.lang.String sessionID,
                                                           org.eaglei.model.EIInstance instance)
                                                    throws java.lang.Exception
Specified by:
setReferencingResources in interface InstanceServiceRemote
Throws:
java.lang.Exception

listReferencingResources

public java.util.List<org.eaglei.model.EIInstanceMinimal> listReferencingResources(java.lang.String sessionID,
                                                                                   java.lang.String userURI,
                                                                                   org.eaglei.model.EIURI resourceUri,
                                                                                   org.eaglei.search.provider.AuthSearchRequest queryRequest,
                                                                                   boolean strictOwnerFilter)
                                                                            throws java.lang.Exception
Specified by:
listReferencingResources in interface InstanceServiceRemote
Throws:
java.lang.Exception


Copyright © 2009-2011 Eagle-I. All Rights Reserved.