org.eaglei.model.gwt.server
Class ModelServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
org.eaglei.model.gwt.server.ModelServlet
- 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, ModelService
- Direct Known Subclasses:
- TestModelServlet
public class ModelServlet
- extends com.google.gwt.user.server.rpc.RemoteServiceServlet
- implements ModelService
- See Also:
- Serialized Form
|
Field Summary |
protected static org.apache.commons.logging.Log |
logger
|
| Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
perThreadRequest, perThreadResponse |
|
Method Summary |
org.eaglei.model.EIClass |
getClass(org.eaglei.model.EIURI classId)
|
java.util.List<java.util.Set<java.lang.String>> |
getClassAnnotations(java.util.List<org.eaglei.model.EIURI> classURIs)
|
java.util.List<java.lang.String> |
getClassDefinitions(java.util.List<org.eaglei.model.EIURI> classURIs)
|
java.util.List<org.eaglei.model.EIEquivalentClass> |
getEquivalentClasses(org.eaglei.model.EIURI classId)
|
java.util.List<java.lang.String> |
getLabels(org.eaglei.model.EIURI uri)
|
java.util.List<org.eaglei.model.EIClass> |
getNonResourceBaseClasses()
|
java.util.List<org.eaglei.model.EIProperty> |
getProperties(org.eaglei.model.EIURI classId)
|
java.util.List<java.lang.String> |
getPropertyDefinitions(java.util.List<org.eaglei.model.EIURI> propertyURIs)
|
java.util.List<org.eaglei.model.EIClass> |
getSubClasses(org.eaglei.model.EIURI classId)
|
java.util.List<org.eaglei.model.EIClass> |
getSuperClasses(org.eaglei.model.EIURI classId)
Gets the ancestors of the given class up to, and including,
a top-level class. |
java.util.List<org.eaglei.model.EIClass> |
getTopLevelClasses()
|
java.lang.String |
getVersion()
|
void |
init()
|
| Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet |
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 |
destroy, 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 |
logger
protected static final org.apache.commons.logging.Log logger
ModelServlet
public ModelServlet()
init
public void init()
- Overrides:
init in class javax.servlet.GenericServlet
getVersion
public java.lang.String getVersion()
throws LoggedException
- Specified by:
getVersion in interface ModelService
- Throws:
LoggedException
getTopLevelClasses
public java.util.List<org.eaglei.model.EIClass> getTopLevelClasses()
throws LoggedException
- Specified by:
getTopLevelClasses in interface ModelService
- Throws:
LoggedException
getNonResourceBaseClasses
public java.util.List<org.eaglei.model.EIClass> getNonResourceBaseClasses()
throws LoggedException
- Specified by:
getNonResourceBaseClasses in interface ModelService
- Throws:
LoggedException
getClass
public org.eaglei.model.EIClass getClass(org.eaglei.model.EIURI classId)
throws LoggedException
- Specified by:
getClass in interface ModelService
- Throws:
LoggedException
getSuperClasses
public java.util.List<org.eaglei.model.EIClass> getSuperClasses(org.eaglei.model.EIURI classId)
throws LoggedException
- Description copied from interface:
ModelService
- Gets the ancestors of the given class up to, and including,
a top-level class. The first member of the returned list
will be the parent of the given class.
- Specified by:
getSuperClasses in interface ModelService
- Returns:
-
- Throws:
LoggedException
getSubClasses
public java.util.List<org.eaglei.model.EIClass> getSubClasses(org.eaglei.model.EIURI classId)
throws LoggedException
- Specified by:
getSubClasses in interface ModelService
- Throws:
LoggedException
getProperties
public java.util.List<org.eaglei.model.EIProperty> getProperties(org.eaglei.model.EIURI classId)
throws LoggedException
- Specified by:
getProperties in interface ModelService
- Throws:
LoggedException
getEquivalentClasses
public java.util.List<org.eaglei.model.EIEquivalentClass> getEquivalentClasses(org.eaglei.model.EIURI classId)
throws LoggedException
- Specified by:
getEquivalentClasses in interface ModelService
- Throws:
LoggedException
getClassDefinitions
public java.util.List<java.lang.String> getClassDefinitions(java.util.List<org.eaglei.model.EIURI> classURIs)
throws LoggedException
- Specified by:
getClassDefinitions in interface ModelService
- Throws:
LoggedException
getPropertyDefinitions
public java.util.List<java.lang.String> getPropertyDefinitions(java.util.List<org.eaglei.model.EIURI> propertyURIs)
throws LoggedException
- Specified by:
getPropertyDefinitions in interface ModelService
- Throws:
LoggedException
getLabels
public java.util.List<java.lang.String> getLabels(org.eaglei.model.EIURI uri)
throws LoggedException
- Specified by:
getLabels in interface ModelService
- Throws:
LoggedException
getClassAnnotations
public java.util.List<java.util.Set<java.lang.String>> getClassAnnotations(java.util.List<org.eaglei.model.EIURI> classURIs)
throws LoggedException
- Specified by:
getClassAnnotations in interface ModelService
- Throws:
LoggedException
Copyright © 2009-2010 Eagle-I. All Rights Reserved.